I have configured my php.ini file like this:
SMTP = mail.xxx.xxx.xxx ; for Win32 only
smtp_port = 25
sendmail_from= scott101@xxx.xxx.xxx ; for Win32 only
; For Win32 only.
;sendmail_from = scott101@xxx.xxx.xxx
But get this warning:
mail(): SMTP server response: 501 This system is not configured to relay mail from <scott101@xxx.xxx.xxx> to <shogzy@xxx.xxx.xxx> for 81.199.87.25
Can anybody help
SMTP/Apache on Windows problem
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
it would appear that your ISP doesn't allow smtp relays.. a good thing. You should probably use an SMTP class, like the pear one :: http://pear.php.net/package/Net_SMTP or phpmailer :: http://phpmailer.sourceforge.net/
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
look here for a decent explanation: http://micro.uoregon.edu/smtprelayblock/