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,
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,
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 creating the file like, Filetext.txt but the File is coming as <SubjectName>.eml
Any Clues?
Regards
Ajesh