7-bit transmission via Net::SMTP?

G

Guru03

Hi,

I must delivery an email message from a SMTP server to an another.

The transmission MUST be 7-bit coded (*NOT* 8BITMIME).

It's ok to use Net::SMTP? The documentation about it don't tell me about
the type of transmission. And the code isn't clear.

It must be able to delivery MIME 1.0 format emails with special characters
(i.e. non US keyboard) coded in 8-bit format (with some attachments in UTF8
code converted into BASE64 that already are in 7bit format).

Any idea?
 
J

James Willmore

Hi,

I must delivery an email message from a SMTP server to an another.

The transmission MUST be 7-bit coded (*NOT* 8BITMIME).

It's ok to use Net::SMTP? The documentation about it don't tell me about
the type of transmission. And the code isn't clear.

It must be able to delivery MIME 1.0 format emails with special characters
(i.e. non US keyboard) coded in 8-bit format (with some attachments in UTF8
code converted into BASE64 that already are in 7bit format).

Any idea?

You *may* be able to use MIME::Lite to do this. I'm not 100% sure about
Net::SMTP.

HTH

--
Jim

Copyright notice: all code written by the author in this post is
released under the GPL. http://www.gnu.org/licenses/gpl.txt
for more information.

a fortune quote ...
Be free and open and breezy! Enjoy! Things won't get any better
so get used to it.
 
J

Juha Laiho

Guru03 said:
I must delivery an email message from a SMTP server to an another.

The transmission MUST be 7-bit coded (*NOT* 8BITMIME).

It's ok to use Net::SMTP? The documentation about it don't tell me about
the type of transmission. And the code isn't clear.

You can use Net::SMTP, but it doesn't do any recoding for you -- so if
your transfer data is declared to be 8-bit (so using 'Bits => 8' among
the options for the "mail" method) and the remote doesn't announce
support for 8-bit transfers, the transfer will be aborted.
It must be able to delivery MIME 1.0 format emails with special characters
(i.e. non US keyboard) coded in 8-bit format (with some attachments in UTF8
code converted into BASE64 that already are in 7bit format).

So, as long as you pre-code your message body and attachments into such
form that they only contain printable ASCII, you won't have a problem
with Net::SMTP.
 

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
474,146
Messages
2,570,832
Members
47,374
Latest member
EmeliaBryc

Latest Threads

Top