I have a situation where I need to send mail from one server - thru another server with SMTP. A sort of relaying issue -
I would like to have my PHP send mail thru another server -such as popen or soemthing but I have no idea how to relay message thru that other server - either by sending headers, or by actually connecting and sending thru popen [much like you would by specifying the directory of sendmail]. This is NOT for spam - it will just make my life easier if i can relay thru another server on my network - or another server elsewhere. As it is I have four servers in different places - and sending the mail thru another server with different hardware/bandwidth will be much better.
Thanks!