post_sendtestmail
 
 
Overview
Sends a test email to a specified account. Please note that test sends will use 1 credit per send.
 
Parameters
 
NameTypeRequiredComments
FromEmailStringYesThe from email for the send
FromNameStringYesThe from name for the send
NewsletterIDIntegerYesThe id of the newsletter to be sent
SubjectStringYesThe subject for the send
TextOnlyIntegerNo 0 = HTML version (Default)
1 = text only version
ToEmailStringYesThe email address to send to
Returns
0|Error (Different descriptions for the error)
1|Mail successfully sent
Example
https://www.graphicmail.com/api.aspx?Username=user@mydomain.com&Password=123456&Function=post_sendtestmail&ToEmail=to@someone.com&FromEmail=from@me.co.za&FromName=Myself&Subject=The subject&TextOnly=1&NewsletterID=123