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
Dn732609.privmethod(en-us,AX.60).gif addCredential
Dn732609.pubmethod(en-us,AX.60).gif 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")
Dn732609.pubmethod(en-us,AX.60).gif attachments Initializes a SysMailerNetAttachments object to enable associating multiple attachments with this mail message
Dn732609.pubmethod(en-us,AX.60).gif bccs Initializes a SysMailerNetAddressField object to enable associating one or more Blind Carbon-Copy mail addresses with the mail message
Dn732609.pubmethod(en-us,AX.60).gif bodyCharSet Specify content-type for the mail message using a valid charset name
Dn732609.pubmethod(en-us,AX.60).gif bodyTransferEncoding Specify transfer encoding used to encode the mail message body name
Dn732609.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Dn732609.pubmethod(en-us,AX.60).gif ccs Initializes a SysMailerNetAddressField object to enable associating one or more Carbon-Copy mail addresses with the mail message
Dn732609.pubmethod(en-us,AX.60).gif deliveryFormat Enables specifying a specific delivery format for the mail message
Dn732609.pubmethod(en-us,AX.60).gif enableSsl Enable or disable Ssl on the SmtpClient object
Dn732609.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Dn732609.pubmethod(en-us,AX.60).gif finalize Release all System.Net.Mail.MailMessage and associated resources
Dn732609.pubmethod(en-us,AX.60).gif fromAddress Sets the sender address for this mail message
Dn732609.pubmethod(en-us,AX.60).gif getMailMessage Get the mail message
Dn732609.pubmethod(en-us,AX.60).gif getSmtpClient Get the smtp client object
Dn732609.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Dn732609.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Dn732609.pubmethod(en-us,AX.60).gif htmlBody Sets the body of the email message in an HTML format.
Dn732609.pubmethod(en-us,AX.60).gif new Initializes a new instance of the SysMailerNet class.
Dn732609.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Dn732609.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Dn732609.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Dn732609.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Dn732609.pubmethod(en-us,AX.60).gif priority Determines the priority of the message.
Dn732609.pubmethod(en-us,AX.60).gif quickSend Sends an email message without having to set any properties or collections.
Dn732609.pubmethod(en-us,AX.60).gif replytos Initializes a SysMailerNetAddressField object to enable associating one or more "Reply-To" mail addresses with the mail message
Dn732609.pubmethod(en-us,AX.60).gif sendMail Sends an email message using the .NET Framework - System.Net.Mail.SmptpClient synchronous "Send" API.
Dn732609.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Dn732609.pubmethod(en-us,AX.60).gif smtpRelayServer Specify the SMTP relay server settings that will be used to send mails from AX using the SysMailerNet API
Dn732609.pubmethod(en-us,AX.60).gif subject Sets the Subject field of your message if you are not using the quickSend method to send the email message.
Dn732609.pubmethod(en-us,AX.60).gif tos Initializes a SysMailerNetAddressField object to enable associating one or more recipient mail addresses with the mail message
Dn732609.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Dn732609.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Dn732609.pubmethod(en-us,AX.60).gif useDefaultCredentials Sets the useDefaukltCredentials property on the smtp client.
Dn732609.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Dn732609.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)

Top

Inheritance Hierarchy

Object Class
  SysMailerNet Class