I sent around 1400 mail to users using sendgrid==3.6.3 lib. I have sent grid premium account.
I received 202 from sendgrid server. But all user received only email subject without email body.
Then after I tried to send email from my local machine using the same script then I got an email with email body. So, I am missing something over here or not. I can't understand the real reason behind it.
I am using django framework.
Above case happened in the production environment. So I can't execute the same script again until I am not confident.
import sendgrid
from sendgrid.helpers.mail import Email, Content, Substitution, Mail
try:
# Python 3
import urllib.request as urllib
except ImportError:
# Python 2
import urllib2 as urllib
I am facing this issue in iphone gmail application only. Other browser or application showing in form of clipped message. I found that gmail agent converts email body to clipped message If email body greater than 102 KB(only HTML code not image and other static media).
@sohamnavadiya,
Thanks for the update. Does this mean your issue is resolved? Is there anything else I can help with?
Thanks!
Yes, Issue has been resolved.
@sohamnavadiya, what resolved your issue?
I'm using python 3.8 and I can't get html or plain text body to get sent.
Most helpful comment
Yes, Issue has been resolved.