post_subscribe
Overview
Subscribe an email address to a mailing list
Parameters
Name
Type
Required
Comments
Email
String
Yes
The email address of the subscriber
MailinglistID
Integer
Yes
The id of the mailing list to subscribe to
ReturnEmailID
Boolean
No
Specify this if you want the function to rerutn the EmailID.
Returns
0
|Error (Different descriptions for the error)
1
|The email address was successfully subscribed to this mailing list
2
|The email address is already subscribed to this mailing list
1
|
EmailID
|Message. (This is the format of the returned message if ReturnEmailID=true is specified.)
Example
https://www.graphicmail.com/api.aspx?Username=user@mydomain.com&Password=123456&Function=post_subscribe&Email=new@mydomain.com&MailinglistID=123&SID=0