Posted on 2007-07-20 18:50:55-07 by jmarshll
Msg body is received as an attachment when using MailFile
Hi. MailFile works great for me, except that I receive the message body as a separate attachment, which precedes my actual attachments. The message is also displayed in the body of the email, it's just that it is also an attachment. MailMsg does not do this. Am I missing something? Is there a way to avoid having the message body as an extraneous attachment when using MailFile? This is an example, after setting the other params earlier...
$sender->MailFile ({ msg => 'this is a test', file => 'C:\mydoc.txt' });
Any help would be appreciated. Thanks. James
Direct Responses: 5843 | Write a response
Posted on 2007-07-31 08:33:14-07 by jenda in response to 5783
Re: Msg body is received as an attachment when using MailFile
It should not happen. Could you send me an example message to jenda@krynicky.cz using that script? What mail client do you use? Could you try to send the message to someone (or yourself) using a different client and see if it looks the same? And could you send me an example message with body and an attachment from your mail client so that I can compare the headers? Thanks, Jenda
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.