in reply to Re: Mime Lite (misunderstandings)
in thread Mime Lite

Thanks for the advice re strawberry perl. I installed it and ran the perl program but got this error:

SMTP Failed to connect to mail server: at perl_email_sender.cgi line 81.

Here's my code:

$msg = MIME::Lite->new( From => 'noreply@loadmena.com', To => 'rvn@jade.com.ph', Subject => 'Test Subject', Type => 'multipart/mixed', ); $msg->attach( Type => 'TEXT', Data => "Test Email.", ); $msg->send;

what am I missing?

Replies are listed 'Best First'.
Re^3: Mime Lite (misunderstandings)
by Anonymous Monk on Oct 11, 2013 at 07:43 UTC

    I installed it and ran the perl program but got this error: what am I missing?

    Turn on debugging, get a better error message (other than "didn't work"), and then google message if it isn't obvious