Hello,
I would like send multiple attachments via DEFINE MAIL, is that possible? If so, can someone provide an example?
Thank you,
Hello,
I would like send multiple attachments via DEFINE MAIL, is that possible? If so, can someone provide an example?
Thank you,
MAPI Mail Syntax:
DEFINE MAIL [ <oMail> ];
[ SUBJECT <cSubject> ];
[ TEXT <cText> ];
[ TYPE <cType> ];
[ DATE <dDate> ];
[ TIME <cTime> ];
[ CONVERSATION <cConversation> ]:
[ RECEIPT ];
[ FROM USER ];
[ FILES <cFilename1> ,<cDescript1>, <cFilenameN>, <cDescriptN> ] ];
[ ORIGIN <cOrigin> [ <cOriginAddress> ] ];
[ TO <cTarget1>, [ <cTargetAddress1> ] [ <cTargetN> [ <cTargetAddressN> ] ] ];
I think you can leave the description blank, but you still need to account for it. So you can do:
DEFINE MAIL...FILES cFilename1,,cFilename2,,Filename3
And note that each filename must include the full path.
Regards,
James
Hi James,
That worked, but HTML document is an attachment and not part of the body of the e-mail.
Sincerely,
Hi James,
By any chance do you know the values of [ TYPE <cType> ];
Sincerely,
I came across a reference to TYPE:='text/html'
You might try that and assign the HTML string to the TEXT command.
Regards,
James
Thanks James, I will try that