Judging from your code, you appear to be running on http://www.hypermart.net. On their site they say they have Mailtools and Mime-Tools installed for paid users. MIME::Lite is included therin, and should take care of everything you need, and if not, those packages include more advanced tools. (I haven't used Mail::Sendmail recommended by others, but Mail::Mailer is included in Mail-tools and has gotten very good comments from others on this site.
All the comments mentioned here (and those in reply to you previously at Dangers of rolling your own mail script) apply, so I recommend using one of those modules, particularly for something as sticky as attachments.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|