A Inx_Api_Util_TemporaryMail is a mailing that may be sent to a single recipient that does not have to be a registered recipient in Inxmail.
A Inx_Api_Util_TemporaryMail is a mailing that may be sent to a single recipient that does not have to be a registered recipient in Inxmail. A temporary mailing behaves mostly like a simple version of a normal Inx_Api_Mailing_Mailing. However, the mailing will not be personalized and will not be saved in Inxmail and therefore won't be trackable. TemporaryMails may be sent using the Inx_Api_Util_TemporaryMailSender. Because a TemporaryMail does not belong to a specific list, you have to specify some information not needed when using a normal Mailing. The most important is the recipient address. Normally, the recipient address is determined by the list, but as a temporary mail does not belong to any list, there is no predefined recipient address. The same is true for the reply address, though this address is not technically required to send the mail. The sender address, on the other hand, does not have to be specified as long as it is configured in the list that was passed on the creation of the temporary mailing.
<strong>Note:</strong> While it is discouraged to explicitly set the recipient address of a standard Inx_Api_Mailing_Mailing, this is a technical requirement for the TemporaryMail. You won't be able to send a temporary mail to a recipient not registered in Inxmail without specifying the sender address, though the send method will return true. You may, however, send the mailing to a recipient known by Inxmail, without explicitly specifying the sender address. To do so, use the Inx_Api_Util_TemporaryMailSender::sendTemporaryMail($oTemporaryMail, $iRecipientId) method. This method will also personalize the mailing for the given recipient.
For an example on how to send a temporary mail, see the Inx_Api_Util_TemporaryMailSender documentation.
Located in /Api/Util/TemporaryMail.php (line 38)
Returns the content handler, which contains the format-specific mail content.
Returns the content handler, which contains the format-specific mail content.
Returns the recipient address header value of this temporary mailing.
Returns the recipient address header value of this temporary mailing. This is the address to which the mailing will be sent.
Returns the reply address of this temporary mailing.
Returns the reply address of this temporary mailing.
Returns the sender address of this temporary mailing.
Returns the sender address of this temporary mailing.
Returns the subject of this temporary mailing.
Returns the subject of this temporary mailing.
Creates a new content handler.
Creates a new content handler. Allowed classes are:
Sets the recipient address header value of this temporary mailing.
Sets the recipient address header value of this temporary mailing. This is the address to which the mailing will be sent.
Sets the reply address of this temporary mailing.
Sets the reply address of this temporary mailing. Replies to this mailing will be sent to the given address.
Sets the sender address of this temporary mailing.
Sets the sender address of this temporary mailing.
Sets the subject of this temporary mailing.
Sets the subject of this temporary mailing.
Documentation generated on Thu, 17 Sep 2015 14:27:32 +0200 by phpDocumentor 1.3.2