I'd suggest you to try use Mail::Sender for sending letters from Perl scripts.
This module is easy in using but it leaves many useful features: sending plain and HTML text, addition attachments as separate file or include them into letter body etc. (See many examples in the module documentation)
Also, there is a other good module - MIME::Entity. This module provides an interface for building messages as MIME entities. This module leaves you develop more unitized applications. There are many examples in the documentation of this module.
If you prefer use low level for sending letters, I'd recomend you to look at RFC 2822: Internet Message Format.
--------------------------------
SV* sv_bless(SV* sv, HV* stash);
In reply to Re: Sending mail help
by nite_man
in thread Sending mail help
by debiandude
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |