VishalMistry
30th April 2012, 07:29
We have a session where we use eMessage connector api to send mails to our business partners.

The issue is, even though specifying attachment with proper details, the content of the attachment gets included in body of the mail.

I am attaching my script for ref. Hope someone helps me resolving this issue.

Vishal

JaapJD
1st May 2012, 11:32
It seems that this line is the problem:

ret = cmf.setAttachmentBody(attachment.ID, ttyeno.yes)

You should pass ttyeno.no in the second argument.