![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
sendmail errorby l.frankline (Hermit) |
on Sep 29, 2006 at 09:57 UTC ( #575492=perlquestion: print w/replies, xml ) | Need Help?? |
l.frankline has asked for the wisdom of the Perl Monks concerning the following question: Dear all, I am trying to send mail to an email id, while doing so, I got an error as : Please let me know your suggestion what is the problem exactly. Please give me your valuable suggestions. use MIME::Lite;$msg = MIME::Lite->new( From =>'soft@tnq.co.in', To =>'l.frankline@gmail.com', Subject =>'HTML with in-line images!', Type =>'multipart/related' ); $msg->attach(Type => 'text/html', Data => qq{ <body> Here's <i>my</i> image: <img src="C:\temp\tendul1.jpg"> </body> } ); $msg->send(); Thank You, Don't put off till tomorrow, what you can do today.
Back to
Seekers of Perl Wisdom
|
|