SysMailerNet Class [AX 2012]
The SysMailerNet class provides email and newsgroup posting capabilities using the .NET Framework's System.Net.Mail APIs
Syntax
class SysMailerNet
Run On
Called
Methods
Method | Description | |
---|---|---|
addCredential | ||
addRelatedBodyPart | A related bodypart is typically an image embedded in the mail (instead of being referenced from an outside url if in the HTML file there's a tag, then an image from d:\myimage.jpg can be embedded like this: addRelatedBodyPart("d:\\myimage.jpg","myimageref") | |
attachments | Initializes a SysMailerNetAttachments object to enable associating multiple attachments with this mail message | |
bccs | Initializes a SysMailerNetAddressField object to enable associating one or more Blind Carbon-Copy mail addresses with the mail message | |
bodyCharSet | Specify content-type for the mail message using a valid charset name | |
bodyTransferEncoding | Specify transfer encoding used to encode the mail message body name | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
ccs | Initializes a SysMailerNetAddressField object to enable associating one or more Carbon-Copy mail addresses with the mail message | |
deliveryFormat | Enables specifying a specific delivery format for the mail message | |
enableSsl | Enable or disable Ssl on the SmtpClient object | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
finalize | Release all System.Net.Mail.MailMessage and associated resources | |
fromAddress | Sets the sender address for this mail message | |
getMailMessage | Get the mail message | |
getSmtpClient | Get the smtp client object | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
htmlBody | Sets the body of the email message in an HTML format. | |
new | Initializes a new instance of the SysMailerNet class. | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
priority | Determines the priority of the message. | |
quickSend | Sends an email message without having to set any properties or collections. | |
replytos | Initializes a SysMailerNetAddressField object to enable associating one or more "Reply-To" mail addresses with the mail message | |
sendMail | Sends an email message using the .NET Framework - System.Net.Mail.SmptpClient synchronous "Send" API. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
smtpRelayServer | Specify the SMTP relay server settings that will be used to send mails from AX using the SysMailerNet API | |
subject | Sets the Subject field of your message if you are not using the quickSend method to send the email message. | |
tos | Initializes a SysMailerNetAddressField object to enable associating one or more recipient mail addresses with the mail message | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
useDefaultCredentials | Sets the useDefaukltCredentials property on the smtp client. | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) |
Top
Inheritance Hierarchy
Object Class
SysMailerNet Class