Skip to content

yasser-sobhy/QtSendGrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

QtSendGrid

Usage

For more information see https://sendgrid.com/docs/API_Reference/Web_API_v3/index.html

SendGrid::SendGridClient sgc
SendGrid::SendGridMessage msg;

msg.setSubject("QtSendGrid Test");
msg.setFrom( new SendGrid::EmailAddress {"info@eample.com", "Example.com"});

msg.AddContent(SendGrid::SendGridMimeType::Html, ...);
msg.AddContent(SendGrid::SendGridMimeType::Text, ...);

SendGrid::Personalization p;

p.to.append( SendGrid::EmailAddress{"someone@email.com"});
p.cc.append({"else@email.com"});

msg.addPersonalization(p);

sgc.sendEmail(msg);

About

Qt client for SendGrid, Api v3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages