1) Go to My Account Page and write your Response url in “Delivery Post Url” field.
2) Check and Uncheck the Delivery Report Types accordingly.
3) Now we move to SMTP Code side. Create a header with name “smtp-campaign-id”
For example if you use SMTP using C#
using (SmtpClient smtpClient = new SmtpClient())
{
MailMessage mail = new MailMessage();
mail.Headers.Add("smtp-campaign-id", "your unique identity");
}
4) Now when you send email and we will send the response in json format to you on your url which you have mentioned on my account page.
[{"SenderName":"sender","SenderAddress":"[email protected]","Subject":"Subject","Body":"<html><head><title></title></head><body><p>Hello</p><p>How are you</p><p>this is sample code for test json data</p></body></html>","SmtpCampaignId":"120001","EmailAddress":"[email protected]","Type" :"1","ScheduledDate":"1907121545","CreatedDate":"7/12/2019 3:45:19 PM"},{"SenderName":"sender","SenderAddress":"[email protected]","Subject":"Subject","Body":"<html><head><title></title></head><body><p>Hello</p><p>How are you</p><p>this is sample code code for test json data</p></body></html>","SmtpCampaignId":"120001","EmailAddress":"[email protected]","Type" :"3","ScheduledDate":"1907121545","CreatedDate":"7/12/2019 3:45:19 PM"}]
Your email address will not be published. Required fields are marked *
Message
Name *
EmailAddress * Please enter valid email address