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

by woddrazen, (6737 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

locked

Complete thread: