Fonction mail sous php
ben1403
Messages postés
21
Statut
Membre
-
bg62 Messages postés 26231 Date d'inscription Statut Modérateur Dernière intervention -
bg62 Messages postés 26231 Date d'inscription Statut Modérateur Dernière intervention -
Bonjour,
j'utilise wampserver 2. Mon formulaire d'envoi de mail dans mon application web (en local) m'envoie une erreur:
Warning: mail() [function.mail]: Failed to connect to mailserver at "mail.afnet.net" port 1384, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\contact\cont.php on line 224
An error occured during mail delivery
voici le contenu du fichier php.ini de apache. que dois je faire pr k'il fonctionne??
[mail function]
; For Win32 only.
SMTP = mail.afnet.net
smtp_port = 1384
; For Win32 only.
sendmail_from = ben@gmail.com
l'adresse smtp de mon FAI est mail.afnet.net. notre messagerie fonctionne avec le port 1384
j'utilise wampserver 2. Mon formulaire d'envoi de mail dans mon application web (en local) m'envoie une erreur:
Warning: mail() [function.mail]: Failed to connect to mailserver at "mail.afnet.net" port 1384, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\contact\cont.php on line 224
An error occured during mail delivery
voici le contenu du fichier php.ini de apache. que dois je faire pr k'il fonctionne??
[mail function]
; For Win32 only.
SMTP = mail.afnet.net
smtp_port = 1384
; For Win32 only.
sendmail_from = ben@gmail.com
l'adresse smtp de mon FAI est mail.afnet.net. notre messagerie fonctionne avec le port 1384
A voir également:
- Fonction mail sous php
- Fonction si et - Guide
- Windows live mail - Télécharger - Mail
- Publipostage mail - Accueil - Word
- Comment télécharger un mail - Guide
- Créer une adresse mail hotmail - Guide