sendmail
Send email message to address list
Syntax
Description
sendmail(
sends an email to the specified recipients with the specified subject. recipients,subject)
Note
sendmail does not support major email providers such as
Gmail and Microsoft®
Outlook®. sendmail only supports email servers with
Basic username-password based authentication and Transport Layer Security
(TLS) 1.0. For more information, see Set
Preferences.
sendmail(
includes the specified message.recipients,subject,message)
sendmail(
attaches the files listed in recipients,subject,message,attachments)attachments.
Examples
Input Arguments
More About
Tips
On Windows® systems with Microsoft Outlook, you can send email directly through Outlook by accessing the COM server with
actxserver. For an example, see Can I send e-mail through MATLAB using Microsoft Outlook?
Version History
Introduced in R2006a