|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Apr 2005
Messaggi: 5245
|
Non arriva email...dove sbaglio?
Ho creato un piccolo script per l'invio di mail dopo aver compilato un form con inserimento di OGGETTO e MESSAGGIO... ma non arriva nulla
Codice:
<?php $msg ="Ciao Utente"; $msg .= "\n"; $msg .="Messaggio di Benvenuto:"; $msg .= "\n"; $msg .= "$MESSAGGIO"; $msg .= "\n"; $subject = "$OGGETTO"; $headers = "From:<[email protected]>\n"; $headers .= "Reply-To:<[email protected]>\n"; mail("[email protected]", $subject, $msg, $headers); ?> |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Mar 2006
Città: Bergamo
Messaggi: 2499
|
devi configurare in php.ini in che modo vuoi mandare mail...specificando un server di posta oppure usando sendmail(linux)
|
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Apr 2005
Messaggi: 5245
|
ti ringrazio per la risposta, ma non devo eseguirlo in locale.
|
|
|
|
|
|
#4 | |
|
Senior Member
Iscritto dal: Nov 2005
Città: TO
Messaggi: 5206
|
Quote:
Codice:
[mail function] ; For Win32 only. SMTP = nome-indirizzo-server-smtp smtp_port = 25 ; For Win32 only. sendmail_from = tuo-indirizzo-di-posta ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path =
__________________
Andrea, SCJP 5 (91%) - SCWCD 5 (94%) |
|
|
|
|
|
|
#5 |
|
Senior Member
Iscritto dal: Apr 2005
Messaggi: 5245
|
Ragazzi vi ringrazio.... ho risolto ^_^
Saluti Traxsung |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 00:54.



















