i changed the admin email to the same as the email i put in phpmailer options.
the error message i get is:
PHPMailer failed to send test (mywebsite). ErrorInfo:SMTP Error: The following recipients failed: myemail@gmail.com
i have set up the email address on our mail server which is mail.mywebsite.com
i sent a test email from my personal email to the admin email wih out a problem.
where can i specify the "from" part?
Quote: So, what is the context of your sendmails?
<blockquote>
I'm not clear on what you mean by this.
the email address specified in the contact form is the same as the mail user in php mailer.
</blockquote>