SMTP avec la fonction mail()
the figurehead
-
adelensiass -
adelensiass -
Bonjour !
Alors j'aimerais envoyer un mail avec un formulaire tout bete en php... j'ai configuré mon php.ini (SMTP = pop.wanadoo.fr et sendmail_from = monadresse@wanadoo.fr) et ca marche pô !!!
il me donne cette erreur : Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in d:\www\tamtrum.com\htdocs\mail.php on line 6
je suis sous winXP avec easyphp... voilà! merci de votre aide !
Alors j'aimerais envoyer un mail avec un formulaire tout bete en php... j'ai configuré mon php.ini (SMTP = pop.wanadoo.fr et sendmail_from = monadresse@wanadoo.fr) et ca marche pô !!!
il me donne cette erreur : Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in d:\www\tamtrum.com\htdocs\mail.php on line 6
je suis sous winXP avec easyphp... voilà! merci de votre aide !
A voir également:
- SMTP avec la fonction mail()
- Fonction si et - Guide
- Publipostage mail - Accueil - Word
- Windows live mail - Télécharger - Mail
- Smtp outlook.fr - Guide
- [At] mail - Forum Mail
6 réponses
Bonjour,
Tu as redémarré ton serveur Apache après la modif ?
Si ça ne marche pas, essaye, en début de script, de faire un ini_set(sendmail_from, "monadresse@wanadoo.fr");
a+
Tu as redémarré ton serveur Apache après la modif ?
Si ça ne marche pas, essaye, en début de script, de faire un ini_set(sendmail_from, "monadresse@wanadoo.fr");
a+
oui j'ai bien redémarré apache. Alors, j'ai essayé ton code - apparement c mieux, mais now g un probleme d'administration... !
Warning: mail(): SMTP server response: 550 relaying to <the-figurehead@wanadoo.fr> prohibited by administrator in d:\www\tamtrum.com\htdocs\mail.php on line 10
c pas que jveux pas chercher mais.... :-) ????
Warning: mail(): SMTP server response: 550 relaying to <the-figurehead@wanadoo.fr> prohibited by administrator in d:\www\tamtrum.com\htdocs\mail.php on line 10
c pas que jveux pas chercher mais.... :-) ????
je cherche le doc TNMSMTP.dcu pour que je puisse se connecter a intenet de mon application sur delphi, si tu peut me l'envoyer par mail: yel@atolcd.com
merci
merci
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question