APISendEmailWithAttachment Method |
Sends an email with an attachment file using the default Outlook account.
Namespace:
AppRobotic
Assembly:
AppRobotic (in AppRobotic.dll) Version: 15.21.3.21 (15.21.03.21)
Syntax public string SendEmailWithAttachment(
Object ToEmailAddress,
Object EmailSubject,
Object EmailBody,
Object AttachmentFilePath
)
Parameters
- ToEmailAddress
- Type: SystemObject
Recipient email address. - EmailSubject
- Type: SystemObject
Email subject line. - EmailBody
- Type: SystemObject
Email body as text. - AttachmentFilePath
- Type: SystemObject
File path to the attachment.
Return Value
Type:
StringReturns string containing 'success' or error message.
See Also