Ajesh
1st November 2018, 20:21
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,
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
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,
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