Re: Extra characters at end of attachment - WeOnlyDo Discussion board

Re: Extra characters at end of attachment (General questions)

by woddrazen, Wednesday, November 22, 2006, 20:29 (6385 days ago) @ SSanders

Hi,


Why don't you try to use CreateSimpleAttachment Method instead using headers.

Here is example:
-----------------------------------------------------
Set smtp1 = New wodSmtpCom

smtp1.CreateSimpleAttachment weonlydo@test.com , drazen@drazen.com , test , this is test , c:\private.txt
'smtp1.Message.Save C:\test.eml
smtp1.SendMessage
-----------------------------------------------------

More help for CreateSimpleAttachment Method you can find here:
http://www.weonlydo.com/Smtp/Help/WODSMTPLib~wodSmtp~CreateSimpleAttachment.html

Hope this helps.


Regards,
Drazen


Complete thread: