Hi -

I am trying to attach 2 separate pdf files into 1 email message via 4D. And 
when I received the email message and I get 3 attachment files (1 of first file 
and 2 of 2nd file). How did 2nd file get duplicated? See below.

$vtPath:=Get 4D folder(Database folder)+"Attachments"+Folder separator+"2016 
Early Intervention.pdf"
$error:=SMTP_Attachment ($vlSMTP_ID;$vtPath;2;1)  //1 - replace
$vtPath:=Get 4D folder(Database folder)+"Attachments"+Folder separator+"2016 
UReturn.pdf"
$error:=SMTP_Attachment ($vlSMTP_ID;$vtPath;2;0)  //0 - add to existing list

How do I fix that or what is the right way to do this?
Thanks.
TIM


**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to