I would like to send an email from a form which contains both the message and the attachment. With the current code on my button only the message is included NOT the attachment. What do I need to do in order to receive the attachment as well?
My form consists of SaveOptions and MailOptions fields set to 1, a message (text) field and an upload control field. Also, I have a SendTo field. Here is the code:
res := @PickList( [Custom] ; “”; “Select_users” ; “Selecting Recipients” ; “Please select the recipients you would like the email to be sent to”; 2);
Check @MailSend function description in Designer help. You have to use bodyFields parameter to include addtitional data to Your mail memo - this should be Your upload field name.
Thank you very much for the reply Konrad. I tried that but without success, with this code as well only the message field is received and no attachment!@MailSend(“fatsoua@fatsoua.com”;“”;res;“PDMO”;Message;“”;“UploadControl”);