Hi.  I have a little view that sends an email.  I looks like this

msg = EmailMultiAlternatives(subject, text_content, from_email, [to])
msg.attach_alternative(html_content, "text/html")
msg.send()

where text_content is a simple text message and html_content is, well, some 
html content.

The html message gets sent to Gmail without any problems, and I can see 
from there (In the "Show Original" thing) that the text version went 
through ok too.  But when I send it to my other domain email, and check my 
inbox via Squirrelmail, I don't get the email at all.

I'm just wondering, this probably isn't Django's fault is it?  I'm thinking 
it has something to do with my mail server not being properly configured 
(e.g. no SPF yet and some other stuff I overlooked just to get it going), 
and maybe Gmail is just smart enough to sort it all out, where as my other 
domain server (i.e. the one using squirrelmail) just rejects the mail 
outright.  I'm just looking for some feedback.  Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/jsd2cjKC1fgJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to