Hi,
I'm having loads of problems getting the smtp module to work on a windows 2003 server, apache 2.x, mysql5, and php 5. I have my php.ini file config like this:
[mail function]
; For Win32 only.
SMTP = email.domain.org
smtp_port = 25
; For Win32 only.
sendmail_from = webmaster2@domain.org
and I keep getting this error displayed on my browser:
SMTP -> FROM SERVER:
SMTP -> ERROR: RSET failed:
ERROR: SMTP Error: Data not accepted
and in the php error log I get this:
[18-Jan-2007 15:12:54] PHP Warning: fsockopen() [function.fsockopen]: unable to connect to email.domain.org:23 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
) in D:\www\public_html\sol\modules\smtp\smtp.module on line 1834
What's really strange is that it's been changing my port to 23 even though port 25 is in my php.ini file.
Any thoughts?
thanks.
lsabug
Comments
Comment #1
LukeLast commentedTo answer your first question, no, the smtp.module comes with PHPMailer built in.
Now the whole purpose of the module is to allow drupal to bypass the mail() function in PHP, so your php.ini settings should have nothing to do with the module. All the settings are in the smtp module settings page.
Comment #2
lias commentedInteresting and thank you for the reply. I will continue to look into it from the email server side.
Lsabug
Comment #3
smk-ka commentedI think the question has been answered. If there are still issues feel free to file a new one.
--
Stefan Kudwien
http://www.unleashedmind.com
Comment #4
(not verified) commented