PDA

View Full Version : SMTP not working


mikeprovencher
Wed 15th Jan '03, 8:02pm
I am using a maildrop address in my php.ini file, but mail is not functioning. My php.ini looks like this:

[mail function]
;For Win32 only.
SMTP = usxxx-maildrop.yada.yada.com ; for Win32 only

;For Win32 only.
sendmail_from = xxxx.proxxxxxx@uxxxic.com ; for Win32 only

I'm getting this error (it appears twice) after a new thread is created and I should receive an email:

Warning: server Error in E:\inetpub\wwwroot\forums\upload\newthread.php on line 322

Warning: server Error in E:\inetpub\wwwroot\forums\upload\newthread.php on line 322

Everything else seems to work fine in the site except for mail. I've tried running the mailtest.php file, but it didn't send me any mail either. Dumb question.....should I have to configure the mailtest.php file, or do I use it just as it is with no editing?

Thanks in advance for assistance.

P.S. Windows 2000, IIS 5, MySql

AWS
Wed 15th Jan '03, 9:09pm
Originally posted by mikeprovencher
I am using a maildrop address in my php.ini file, but mail is not functioning. My php.ini looks like this:

[mail function]
;For Win32 only.
SMTP = usxxx-maildrop.yada.yada.com ; for Win32 only

;For Win32 only.
sendmail_from = xxxx.proxxxxxx@uxxxic.com ; for Win32 only

I'm getting this error (it appears twice) after a new thread is created and I should receive an email:

Warning: server Error in E:\inetpub\wwwroot\forums\upload\newthread.php on line 322

Warning: server Error in E:\inetpub\wwwroot\forums\upload\newthread.php on line 322

Everything else seems to work fine in the site except for mail. I've tried running the mailtest.php file, but it didn't send me any mail either. Dumb question.....should I have to configure the mailtest.php file, or do I use it just as it is with no editing?

Thanks in advance for assistance.

P.S. Windows 2000, IIS 5, MySql Make sure you use a valid email for the domain you use. ie; if your smtp server is smtp.server.com make sure email is someone@blocker.com If it's invalid the mail won't send.