Sendgrid emails not sending using C# API -
i have following code:
public virtual void sendmessage(sendgrid message) { const string username = "^&*^&"; const string pswd = "^&*^&*^"; var credentials = new networkcredential(username, pswd); // create web transport sending email. var transport = web.getinstance(credentials); // send email. try { transport.deliver(message); if (transport.iserrorresponse()) { //do } } catch (exception e) { //do throw; } }
which pretty same in sample code. message formed message (has to, from, html, text) yet when run through code nothing sent?
iserrorresponse
false, there no exception, fiddler shows no traffic?
my account has loads of credit it's not i've been hammering or that. admin panel leaves lot desired it's saying there have been emails sent today - email activity panel seems broken - shows nothing , claims down atm...
what on earth doing wrong?!
Comments
Post a Comment