Re: Problems Sending Email From Django SIte

2014-05-13 Thread markmnl
Exact same problems, thanks. Of all the things I love about Python that one has caught me out a few times. On Sunday, February 2, 2014 8:15:43 AM UTC+8, Matt Schinckel wrote: > > Your ADMINS setting is incorrect. > > In python, the value ((a,b)) is not a 1-tuple containing a 2-tuple, as you > wa

Re: Problems Sending Email From Django SIte

2014-02-02 Thread m1chael
good catch, Matt! On Sat, Feb 1, 2014 at 8:04 PM, Mark Phillips wrote: > Matt, > > That fixed it! Now, I get error messages as expected. > > Thanks so much for finding my missing comma!! > > Mark > > > On Sat, Feb 1, 2014 at 5:15 PM, Matt Schinckel wrote: >> >> Your ADMINS setting is incorre

Re: Problems Sending Email From Django SIte

2014-02-01 Thread Mark Phillips
Matt, That fixed it! Now, I get error messages as expected. Thanks so much for finding my missing comma!! Mark On Sat, Feb 1, 2014 at 5:15 PM, Matt Schinckel wrote: > Your ADMINS setting is incorrect. > > In python, the value ((a,b)) is not a 1-tuple containing a 2-tuple, as you > want,

Re: Problems Sending Email From Django SIte

2014-02-01 Thread Matt Schinckel
Your ADMINS setting is incorrect. In python, the value ((a,b)) is not a 1-tuple containing a 2-tuple, as you want, but a single 2-tuple, which django interprets as a tuple containing _just_ email addresses. Try: ADMINS = (('Mark', 'x...@example.com'),) Note the trailing comma after the inner

Re: Problems Sending Email From Django SIte

2014-02-01 Thread m1chael
any luck? On Sat, Feb 1, 2014 at 12:58 PM, m1chael wrote: > maybe try > > EMAIL_HOST = "0.0.0.0" > > On Sat, Feb 1, 2014 at 12:57 PM, m1chael wrote: >> have you tried adding 'localhost' to 'local_domains'? >> >> On Sat, Feb 1, 2014 at 12:54 PM, m1chael wrote: >>> also, what is "a" ?? are you tr

Re: Problems Sending Email From Django SIte

2014-02-01 Thread m1chael
maybe try EMAIL_HOST = "0.0.0.0" On Sat, Feb 1, 2014 at 12:57 PM, m1chael wrote: > have you tried adding 'localhost' to 'local_domains'? > > On Sat, Feb 1, 2014 at 12:54 PM, m1chael wrote: >> also, what is "a" ?? are you trying to email a...@something.com ?? or just >> 'a' ?? >> >> >> On Sat,

Re: Problems Sending Email From Django SIte

2014-02-01 Thread m1chael
have you tried adding 'localhost' to 'local_domains'? On Sat, Feb 1, 2014 at 12:54 PM, m1chael wrote: > also, what is "a" ?? are you trying to email a...@something.com ?? or just > 'a' ?? > > > On Sat, Feb 1, 2014 at 12:52 PM, m1chael wrote: >> check Exim options relating to unqualified address

Re: Problems Sending Email From Django SIte

2014-02-01 Thread m1chael
also, what is "a" ?? are you trying to email a...@something.com ?? or just 'a' ?? On Sat, Feb 1, 2014 at 12:52 PM, m1chael wrote: > check Exim options relating to unqualified addresses > > On Sat, Feb 1, 2014 at 11:08 AM, Mark Phillips > wrote: >> No joy.same reject error and no emall sent

Re: Problems Sending Email From Django SIte

2014-02-01 Thread m1chael
check Exim options relating to unqualified addresses On Sat, Feb 1, 2014 at 11:08 AM, Mark Phillips wrote: > No joy.same reject error and no emall sent. > > I am stumped on how to diagnose this problem. > > Mark > > > On Sat, Feb 1, 2014 at 8:59 AM, m1chael wrote: >> >> yeah >> >> On Sat, Fe

Re: Problems Sending Email From Django SIte

2014-02-01 Thread Mark Phillips
No joy.same reject error and no emall sent. I am stumped on how to diagnose this problem. Mark On Sat, Feb 1, 2014 at 8:59 AM, m1chael wrote: > yeah > > On Sat, Feb 1, 2014 at 10:51 AM, Mark Phillips > wrote: > > Thanks.what email address...the one in admins? > > > > Mark > > > > > >

Re: Problems Sending Email From Django SIte

2014-02-01 Thread m1chael
yeah On Sat, Feb 1, 2014 at 10:51 AM, Mark Phillips wrote: > Thanks.what email address...the one in admins? > > Mark > > > On Sat, Feb 1, 2014 at 7:55 AM, m1chael wrote: >> >> I'm just guessing now try adding the setting: >> >> DEFAULT_FROM_EMAIL='x...@x.xxx' >> >> On Fri, Jan 31, 20

Re: Problems Sending Email From Django SIte

2014-02-01 Thread Mark Phillips
Thanks.what email address...the one in admins? Mark On Sat, Feb 1, 2014 at 7:55 AM, m1chael wrote: > I'm just guessing now try adding the setting: > > DEFAULT_FROM_EMAIL='x...@x.xxx' > > On Fri, Jan 31, 2014 at 11:51 PM, Mark Phillips > wrote: > > Exim4 has two logs - main and rej

Re: Problems Sending Email From Django SIte

2014-02-01 Thread m1chael
I'm just guessing now try adding the setting: DEFAULT_FROM_EMAIL='x...@x.xxx' On Fri, Jan 31, 2014 at 11:51 PM, Mark Phillips wrote: > Exim4 has two logs - main and reject. > > Message from python prompt and mutt - shows activity in main, but not > reject. > > Message from Server 500 err

Re: Problems Sending Email From Django SIte

2014-02-01 Thread Mark Phillips
Exim4 has two logs - main and reject. Message from python prompt and mutt - shows activity in main, but not reject. Message from Server 500 error with django app - no activity in main, and a message in reject - 2014-01-31 21:30:55 unqualified recipient rejected: H=localhost [127.0.0.1] That is

Re: Problems Sending Email From Django SIte

2014-01-31 Thread m1chael
can you tail a mail server log file, while trying to send a django e-mail, and see what happens? also take a look at a log file for command line and mutt do a comparison of all. maybe that will help On Fri, Jan 31, 2014 at 10:35 PM, Mark Phillips wrote: > Thank-you for your response...However

Re: Problems Sending Email From Django SIte

2014-01-31 Thread Mark Phillips
Thank-you for your response...However, 1. I can send email from the command line and from mutt. 2. I can send email from a python prompt using the settings.py in my app. These two facts tell me the mail server is configured properly. 3. Only my django app cannot send email. This fact leads me

Re: Problems Sending Email From Django SIte

2014-01-31 Thread m1chael
Your mail server needs configuring. On Fri, Jan 31, 2014 at 8:15 PM, Mark Phillips wrote: > A follow up. After hitting send, I realized how to simulate an error - I > asked for a page with a nonexistent id. Like the polls example in the django > tutorial, I used an url with a poll_id that does no

Re: Problems Sending Email From Django SIte

2014-01-31 Thread Mark Phillips
A follow up. After hitting send, I realized how to simulate an error - I asked for a page with a nonexistent id. Like the polls example in the django tutorial, I used an url with a poll_id that does not exist in my site. I got a Server Error (500) page, but no email. I looked in the exim4 reject lo

Problems Sending Email From Django SIte

2014-01-31 Thread Mark Phillips
I have my django site setup on my production server, a Debian machine with exim4 and django 1.6. I use smtp.cox.net to relay my emails from my server. I can send emails from the server using mutt. I can also send an email from a python prompt in my virtual environment on the server using this (wi