Send Mail problem.
Posted: Wed Jul 06, 2005 12:13 pm
Hi ppl,
First of all, I have a free sendmail program (wich is in system path and I can send mail from the command line with no problems) in a Windows XP with Xampp 1.4.
When I try to send mail via php script it returns me an error: "mail cannot be sent because the connection to your mail server was interrupted...". Does anyone knows what's going on?
My php.ini:
...
[mail function]
; For Win32 only.
SMTP = my.smtp.server
; For Win32 only.
sendmail_from = my@email
; To send outside please use FQDN like 'sendmail_from = postmaster@localhost.org'
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; sendmail_path =
...
Thanks in advance.
NASF
First of all, I have a free sendmail program (wich is in system path and I can send mail from the command line with no problems) in a Windows XP with Xampp 1.4.
When I try to send mail via php script it returns me an error: "mail cannot be sent because the connection to your mail server was interrupted...". Does anyone knows what's going on?
My php.ini:
...
[mail function]
; For Win32 only.
SMTP = my.smtp.server
; For Win32 only.
sendmail_from = my@email
; To send outside please use FQDN like 'sendmail_from = postmaster@localhost.org'
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; sendmail_path =
...
Thanks in advance.
NASF