Hello, nice to meet you all.
I have been trying to resolve the following problem for a week, many searches etc but no solution.
When I use HtmlMimeMail the 'sender' of the mail is always the default mail name of the apache process, user/hostname.
So from my company server (the application is for internal use) the Sender 'wwwrun@myserver' replaces what ever I put into 'setFrom. For interest sake I tried it on my public ISP, and that always sets the sender to 'nobody@MyISP'sSite (not my domain name).
I have tried with and without,
$mail->setSMTPParams(null,null,null,'myusername','mypassword');
With the setFrom and setReturnPath
$mail->setFrom('me@mydomain.com');
Have used both 'smtp' and 'mail' in the 'send' function.
I hope you can help, this is the last little bit of a program I've been knocking together for a while now, I was right clever in testing the mailing side by outputting it just to a file, knowing that I had HtmlMimeMail to to the main mailing for me when I was ready.
Thankyou.