Net::SMTP - sending email header ?

B

Bob

I need a pointer... I am using Net::SMTP to send an email message but
I need to generate the MIME headers. I checked the NET::SMTP docs but
they don't have what I need. help?

Thanks,
 
B

Bob

I need a pointer... I am using Net::SMTP to send an email message but
I need to generate the MIME headers. I checked the NET::SMTP docs but
they don't have what I need. help?

Thanks,

I should have noted: I'm not looking to do an attachment, I just want
to spec the Content-type header for the main message body to force
text/plain.
 
T

Tintin

Bob said:
I need a pointer... I am using Net::SMTP to send an email message but
I need to generate the MIME headers. I checked the NET::SMTP docs but
they don't have what I need. help?

MIME::Lite would be the easiest option
 
B

Bob

MIME::Lite would be the easiest option

Tintin:

I looked at that but I could not find an example of using MIME::Lite
hooked up with Net::SMTP - although the Perl docs alluded to the
ability to do that. WOuld you know of any examples that show the
two tied together ?

Thanks,
 
G

Gunnar Hjalmarsson

Bob said:
I looked at that but I could not find an example of using MIME::Lite
hooked up with Net::SMTP - although the Perl docs alluded to the
ability to do that. WOuld you know of any examples that show the
two tied together ?

Thought I'd mention my favorite module for sending mail: Mail::Sender.
It's a packaged module that easily lets you set the headers.
 
A

A. Sinan Unur

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top