in reply to Re: How do I send ONLY HTML mail using MIME::Lite::TT::HTML
in thread How do I send ONLY HTML mail using MIME::Lite::TT::HTML

Thanks. Will give that a try.

I took a look at the module itself and I see that I could just get rid of the portion of the script that generates the text version of the email. Not the best solution I know.

I have another problem relating to MIME::Lite::TT::HTML

I am able to send email using MIME::Lite::TT::HTML from my web server to my domains on my email server, the servers are on separate physical boxes, but I am unable to send email from the web server to domains outside my network.

For example MIME::Lite::TT::HTML will send email from my web server to myusername@mydomainname.com which is on my mail server but MIME::Lite::TT::HTML will not send mail from my web server to say someuser@gmail.com or anotherusername@aol.com

Error from Logfile:

Wed Mar 07 10:53:06 2012 error client abc.abc.abc.abc MIME::Lite::SMTP=GLOB(0x34bf960)>>> MAIL FROM:<getaninvite@somedomain.com>\r, referer: http://www.somedomain.com/invite.html
Wed Mar 07 10:53:06 2012 error client abc.abc.abc.abc MIME::Lite::SMTP=GLOB(0x34bf960)<<< 250 2.1.0 Ok, referer: http://www.somedomain.com/invite.html
Wed Mar 07 10:53:06 2012 error client abc.abc.abc.abc MIME::Lite::SMTP=GLOB(0x34bf960)>>> RCPT TO:<someuser@aim.com>\r, referer: http://www.somedomain.com/invite.html
Wed Mar 07 10:53:07 2012 error client abc.abc.abc.abc MIME::Lite::SMTP=GLOB(0x34bf960)<<< 554 5.7.1 <someuser@aim.com>: Relay access denied, referer: http://www.somedomain.com/invite.html
Wed Mar 07 10:53:07 2012 error client abc.abc.abc.abc SMTP recipient() command failed: , referer: http://www.somedomain.com/invite.html


WEBSERVER < -----------> Router / Firewall <----------> Internet
                                                       |
                                                       |
MAILSERVER <------------------>|


I hope someone can point me to a quick fix so I can move on from here.

Thanks again for your help.

  • Comment on Re^2: How do I send ONLY HTML mail using MIME::Lite::TT::HTML