ScheduleMailing

Schedules a mailing for a future date based on MailingStruct. The message is then subject to list processing and validation as if it were a mailing created by an administrator through the administrator interface. If SegmentID is blank or 0, the mailing is sent to the entire list as defined in MailngStruct. If successful, returns the InMail ID of the new mailing.

 

Arguments

SegmentID - The ID of the segment to be sent to. Sends to the entire list if blank or null (int)

SendDate - The date and time the mailing should be sent (datetime)

MailingStructIn - A MailingStruct

 

 Returns

InMailID - The ID of the inmail to be created (int)



MailingStatus SQLSelect