Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

Filename of File sent through cmf email is not coming as expected

$
0
0
Hello there

I was just trying out File attachment sent through cmf email feature. I am getting the file attached, but the attachment name is coming as the same as the subject of the Email,

Code:

        attachment.ID = cmf.createAttachment(message.ID)
        ret = cmf.setAttachmentBody(attachment.ID,ttyeno.no)
        ret = cmf.setAttachmentMIME(attachment.ID,"text/plain")
        ret = cmf.setAttachmentFileName(attachment.ID,filename)

I am using the Microsoft EMail facility.

I am creating the file like, Filetext.txt but the File is coming as <SubjectName>.eml

Any Clues?

Regards
Ajesh

Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>