[quote user="Fews"]
Weekly Report
TO: xxx@gmail.com, xxx@mail.edu
BC: xxx@email.edu
SU: Subject
AT: C:\Reporting\Rprt.pdf,unknown,0
Good morning all,
BODY OF TEXT
Thanks.
signed.[/quote]
By comparing the PMW file resulting from your above script to one created by Pegasus Mail you could have figured it out (although I must say Pegasus Mail is overly strict here, IMO): The two letter code mustn't be followed by a blank space, i.e. a working version of the above should look like this:
Weekly Report
TO:xxx@gmail.com, xxx@mail.eduBC:xxx@email.eduSU:SubjectMI:1AT:C:\Reporting\Rprt.pdf,unknown,0Good morning all,BODY OF TEXTThanks.signed.
But there's another important issue: Please note the line containing MI:1, if you do not add this line it won't create a legal MIME message and the attachment will be sent as an UU encoded enclosure instead.
<p>[quote user="Fews"]</p>
<div>Weekly Report</div>
<div>TO: xxx@gmail.com, xxx@mail.edu</div>
<div>BC: xxx@email.edu</div>
<div>SU: Subject</div>
<div>AT: C:\Reporting\Rprt.pdf,unknown,0</div>
<div><div>
</div><div>Good morning all,</div><div>&nbsp;</div><div>BODY OF TEXT</div><div>&nbsp;</div><div>Thanks.</div><div>&nbsp;</div><div>signed.[/quote]</div><div>By comparing the PMW file resulting from your above script to one created by Pegasus Mail you could have figured it out (although I must say Pegasus Mail is overly strict here, IMO): The two letter code mustn't be followed by a blank space, i.e. a working version of the above should look like this:</div><div>
</div></div><div>
<blockquote><div>
Weekly Report
</div><div>TO:xxx@gmail.com, xxx@mail.edu</div><div>BC:xxx@email.edu</div><div>SU:Subject</div><div>MI:1</div><div>AT:C:\Reporting\Rprt.pdf,unknown,0</div><div>
</div><div>Good morning all,</div><div>&nbsp;</div><div>BODY OF TEXT</div><div>&nbsp;</div><div>Thanks.</div><div>&nbsp;</div><div>signed.&nbsp;</div></blockquote>
But there's another important issue: Please note the line containing <i>MI:1</i>, if you do not add this line it won't create a legal MIME message and the attachment will be sent as an UU encoded enclosure instead.</div>
Michael -- IERenderer's Homepage PGP Key ID (RSA 2048): 0xC45D831B S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C