Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SendMail.ClearAttachments

Clears all attachments from this email.

Component Version macOS Windows Linux Server iOS SDK
SendMail 4.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SendMail.ClearAttachments"; EmailID )   More

Parameters

Parameter Description Example
EmailID The email reference number obtained using SendMail.CreateEmail function. $EmailID

Result

Returns OK or error.

Description

Clears all attachments from this email.

Examples

Clear attachments from email:

MBS( "SendMail.ClearAttachments"; $EmailID )

See also

This function checks for a license.

Created 5th September 2014, last changed 19th February 2016


SendMail.AttachmentCount - SendMail.ClearHeaders