It appears to be an issue with the content for the message being
pulled from the database.  I tried putting the text "text" in the
database, and pulling it out and for some reason it prevents the
message from being sent.  The db field is configured as follows:
email_message = models.CharField(max_length = 750,blank=True)
I then do the following call message = object.email_message and pass
it to the send_mail function.  For some reason the message never gets
sent.  If I do the call without getting the data from the database it
works fine.

On Wed, Mar 7, 2012 at 8:51 PM, Scott Macri <scottma...@gmail.com> wrote:
> I'm having a strange issue with send_mail.  I created a py script with
> a function to call send_mail.  If I call the method via IDLE it works
> great.  If I call the method with the exact same way with the exact
> same data via another script the message never gets sent.  The strange
> thing is that an error is never thrown.
>
> Anyone ever see this before?  Thanks.
>
> --
> Scott



-- 
Scott A. Macri
www.ScottMacri.com
(571) 234-1581

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
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