MIME::Lite was the one I was trying to remember!
thx's
Wiggins d Anconia wrote:
to theWiggins d Anconia wrote:
Hello,
I'm looking at using the Net::SMTP module to send email as opposed
standard method of "sendmail".
Been reading through the docs on the module, but not real clear on how
to setup
the "To:", "From:", "Reply-to:", "Subject:". and other headers, and
actual body
of the email to be sent, with this module.. was hoping someone maybe
kind enough
to maybe post a sample of code, using this module.
Any help much appreciated :)
TIA,
Is there a specific reason why you chose Net::SMTP over the other simpler and higher level mail sending modules? Net::SMTP is designed to be low-level and talk directly to SMTP servers, which means its public interface isn't ideal for developing messages, especially complex ones. There are a number of other modules available on CPAN that can handle message building, and then sending (with Net::SMTP), with less of a learning curve and SMTP specific needs.
http://danconia.org
Could you recommend a good module then :)
There is a whole category on CPAN for this:
http://search.cpan.org/modlist/Mail_and_Usenet_News/Mail
Some I have used with success include,
Mail::Mailer MIME::Lite Mail::Sendmail Mail::Message (part of Mail::Box, incredibly complex but beyond feature rich)
This list is not intended to be exhaustive or in any particular order,
I would suggest having a look at the docs for the various modules and see which ones meet your criteria of complexity and which one you find simplest.
http://danconia.org
-- Mike<mickalo>Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://thunder-rain.com =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>