post_email_statistics_pdf
 
 
Overview
Sends the graph view of the view by send statitstics to the specified email address in PDF format.
 
Parameters
 
NameTypeRequiredComments
BodyTextStringNoThe text you want to appear in the body of the email. This should be text only and not HTML.
FromEmailEmail addressYesThe from email you want to appear in the email to be sent.
FromNameStringNoThe from name you want to appear in the email to be sent.
SendIDIntegerYesThe send id of the send you want to email.
SubaccountIDIntegerNo This is only used if you want to email the Statistics PDF of a sub account.
SubjectStringYesThe subject of the email to be sent.
ToEmailEmail addressNoIf no ToEmail is specified, the statistics PDF email will be sent to the email address specified in the account. When sending a sub account's statistics PDF, the email will be sent to the email address specified in the sub account.
ToNameStringNoIf no ToEmail is specified, the ToName is set to the Name in the account.
Returns
0|Error (Different descriptions for the error).
1|Mail successfully sent.
Example
https://www.graphicmail.com.mx/api.aspx?Username=user@mydomain.com&Password=123456&Function=post_email_statistics_pdf&SendID=123456&ToEmail=someone@domain.com&FromEmail=someoneelse@mydomain.com&Subject=Statistics&SID=23