Forum Moderators: coopster

Message Too Old, No Replies

configure local mail server to allow php mail send.

         

nelsonm

3:07 pm on Aug 18, 2008 (gmt 0)

10+ Year Member



Hi all,

I'd like to allow the php server to relay mail through my local windows xp AI mail server but i don't know what php server name to enter into the mail server relay server name allow list?

I have PHP v5.2.5 running on the same computer as my mail server.

With "localhost" defined in php.ini, i can test scripts that send mail to local addresses but not remote addresses because i have relaying disabled on my mail server. Currently the only option i have is to enable relaying while testing the php script using remote addresses.

I have searched the forum but found only one post on modifying the php.ini file to use a remote server.

Can anyone help?

eelixduppy

10:38 pm on Aug 18, 2008 (gmt 0)



Not sure exactly what the issue here is. Your mail server is woking but only for local addresses because of the configuration of your mailing server? If you want to send mail outside of your local network I'd imagine you're going to have to re-enable the setting you have disabled; this isn't going to be a PHP setting.

nelsonm

11:10 pm on Aug 18, 2008 (gmt 0)

10+ Year Member



I don't know what to put into the mail server's "Allowed Server List" that would let remote addresses generated by php mail to be relayed through the mail server without enabling open relay.

something like, "php.example.com"?

[edited by: eelixduppy at 11:12 pm (utc) on Aug. 18, 2008]
[edit reason] exemplified [/edit]