https://msg.msgclub.net/rest/services/sendEmail/email?AUTH_KEY=authKey

Include Body

{ "routeId":17, "contentType":"html", "mailContent":"Test Attachment&nbsp;<br><br>", "subject":"TestAttachment", "fromEmail":"xyz@gmail.com", "attachmentType":"1", "fromName":"aa", "toEmailSet":[ { "email":"abc@gmail.com", "personName":"toEmail1" }, { "email":"abc@gmail.com", "personName":"toEmail2" } ], "ccEmailSet":[ { "email":"ccEmail1@xyz.co.in", "personName":"ccEmail1" }, { "email":"ccEmail1@xyz.co.in", "personName":"ccEmail2@xyz.co.in" } ], "bccEmailSet":[ { "email":"bccEmail1@xyz.co.in", "personName":"bccEmail1" }, { "email":"bccEmail2@xyz.co.in", "personName":"bccEmail2@xyz.co.in" } ], "attachments":[ { "fileType":"text/plain", "fileName":"TestFileone.txt", "fileData":"dGV4dCBmaWxl" }, { "fileType":"text/plain", "fileName":"testfiletwo.txt", "fileData":"dGV4dCBmaWxl" } ] }

Sample Output

{"responseCode":"3001","response":"2e44d3336e0848b58ca8b2f536b7782c"}

Parameter Name with Description

Parameter Name Data Type Description
AUTH_KEY* Alphanumeric Login Authentication Key(This key is unique for every user)
routeId * Integer Which route you want use for sending sms enter routeId for particular route.use given Id for route. 15 = Transactional Email, 16 = Promotional Email
contentType * Text Content type of email html for html content and text for text content.
mailContent * Text Email content that user want to sent in email.
subject * Text Email subject that user want to sent in email.
fromName * Text Name of sender.
fromEmail * Text Email id of sender like Sender Id
attachmentType * Text Current this parameter email have attachment. 0 have no attachment 1 have attechment.
toEmailSet * Text List of recipient of (To email). email: Email of recipient.person.Name: Name of recipient.
ccEmailSet Text List of cc recipient of (CCemail). email:Email of CC recipient. personName:Name of CC recipient.
bccEmailSet Text List of bcc recipient of (BCCemail). email:Email of BCC recipient.personName:Name of BCC recipient.
attachments Text List of attachments.fileType:Type of file.fileName:Name of File.fileData:File data converted in Base64 format.
java code here
php code here
vb6 code here
chash code here
vbdotnet code here