You asked the exact same question in the CB a couple of days ago. Corion suggested using MIME::Lite and someone else suggested using Mail::Sendmail, these modules are well documented with working example code. You told us in the CB (and there were many monks talking to you about this) that "I don't want to read the documentation until you know it does what I want". I was involved in this rather lengthy discussion in the CB. Many monks have commented on your seemingly fatal allergy to reading documentation. Why do you not take the advice you ask for? Why not make a little effort (as discussed in How do I post a question effectively?, "Before asking a question in any forum, do your homework first")?

Yet again you have posted here, wanting someone to provide code you can cut and paste into applications you get paid to write, yet again you have not told anyone what platform these machines run on (not essential but often helpful to know), what mail server you are running. Could you make any less effort? Why should people spend time replying to you when you prove (continually) that this is a waste of peoples time?

Martin

In reply to Re: Texting and emailing from multi machine agents by marto
in thread Texting and emailing from multi machine agents by Win

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.