Hey all, I'm currently putting together some email routing from an internal network to an external one. I want to keep the current sendmail.cf file and use an alternate for the sending of emails to go out over the internet. I'm somewhat familiar with Mail::Sender (a very cool module!!!) and can get it to do what I need as far as assembling a message for delivery. This would be simple, I think, if I were just sending a text body as the email and nothing else. But I will actually have users who will be sending attachments as well. What I need to do is, call Mail::Sender to assemble the email, and then have sendmail called with the alternate .cf file to deliver the message through our mail hub. I can get sendmail to use the alternate .cf file by using the -C flag... no problem. How do I use this in conjunction with Mail::Sender though? Is Mail::Sender capable of doing this on its own? Is there another mail module that will do what I need? I'm currently going through the documentation on Mail::Sender... but I'm just impatient I guess. Thanks to all in advance for any help you can provide. Bradley
Where ever there is confusion to be had... I'll be there.

In reply to Using an alternate sendmail.cf file by Dalin

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.