08.07.2011, 08:16
I'm trying to got used to this mailer inc but i've some problem.
First, i need to run it on a local server for test, so i done a little script to test the include using apache installed on my pc.
Then i tried to configure the smtp on xampp changing php.ini as follow:
I don't get i sendmail_from is related to ISP, so i need to have a "email@tiscali.it" to correct send the mail?
If i run the script nothing happens, no warning on the console.
P.S. Sorry for the bumping, but I can't find nothing over the internet :P
First, i need to run it on a local server for test, so i done a little script to test the include using apache installed on my pc.
Code:
#define MAILER_URL "localhost/mailer.php" #include a_samp #include mailer main() { SendMail( "testemail@hotmail.it", "Test@localhost.com", "Test", "Welcome test", "Message"); }
Code:
[mail function] ; For Win32 only. ; http://php.net/smtp SMTP = smtp.tiscali.it ; http://php.net/smtp-portnl672b43c0a5ea97...0smtp_port = 25 ; For Win32 only. ; http://php.net/sendmail-fromnl672b43c0a5...dmail_from = NewGenRP@localhost.com
If i run the script nothing happens, no warning on the console.
P.S. Sorry for the bumping, but I can't find nothing over the internet :P