There's more than one way to do things | |
PerlMonks |
Re: Net::SMTP - mass mailby sacked (Hermit) |
on May 09, 2004 at 19:02 UTC ( [id://351894]=note: print w/replies, xml ) | Need Help?? |
You wrote: PS: I'm not sure if this is possible but can you send an email that will display html in html compatible email readers and text otherwise? (if so how would I encorporate this into my example) This won't help if you have to use Net::SMTP, but MIME::Lite makes it a snap to send email with multiple parts of different mime types: Note that MIME::Lite can send email via Net::SMTP using the send_by_smtp method (from the pod):
Or you can set the delivery method using the class method send:
Or you can set the delivery method by providing different arguments to the instance method send: Can you provide any more information as to why you can only use Net::SMTP ? --sacked
In Section
Seekers of Perl Wisdom
|
|