My host was kind and installed Pear Mail on a Linux/Apache server for me and pointed me at:
http://www.phpmaniac.net/wiki/index.php/Pear_Mail for directions on how to use it. After a couple of re-installs to the server, it now works for me but with 1 last problem -- when my client picks up the test mail that gets sent, it is lacking the To: field (it is blank).:glare:
I'm using the script at that site in the section titled "Sending using authenticated SMTP". I'd ask there for help but it seems to be a new site and the community area of it is not working, so I hope someone here might have some pointers to help me out!
That script uses the parameter:
$recipient = "Leigh <leigh@no_spam.net>";
(I change that to my test smtp email account, but keep that exact format)
and uses it in the actual send portion of the script:
$result = $mail->send($recipient, $headers, $body);
and returns a value of 1 (and the email does indeed get sent). Anyone got any idea what's wrong with that script causing the received email to have a blank To: field? Looking at its headers, there is no To: field, either. TIA for any comments!