Re: send_mail on MAC OS X 10.7

2012-10-03 Thread Fred Stluka
Cheng, Yeah, there's probably no need to be running sendmail on the Mac if you only use it as a client machine, not a server that accepts incoming mail requests from other machines. Just configure Django to use an SMTP server somewhere in the world that you have rights to use, like smtp.googlema

Re: send_mail on MAC OS X 10.7

2012-10-03 Thread Tom Evans
On Wed, Oct 3, 2012 at 2:39 PM, Cheng wrote: > Hi Dennis, > > I am not familiar with setting up the Mac. How do I check the STMP service > on the Mac? > > I am able to send email through the Mac's Mail application though. The > outgoing mail server for the Mail application is smtp.googlemail.com.

Re: send_mail on MAC OS X 10.7

2012-10-03 Thread Cheng
Hi Kobe, I am not familiar with the Mac's setup. Do you mean the Mac's Mail application? If so, yes. If not, how do I start the sendmail program? Thanks, Cheng On Wednesday, October 3, 2012 1:37:45 AM UTC-7, Kolbe wrote: > > did you start the sendmail program? > > On Tuesday, October 2, 2012 8

Re: send_mail on MAC OS X 10.7

2012-10-03 Thread Cheng
Hi Dennis, I am not familiar with setting up the Mac. How do I check the STMP service on the Mac? I am able to send email through the Mac's Mail application though. The outgoing mail server for the Mail application is smtp.googlemail.com. The incoming mail server for the Mail application is im

Re: send_mail on MAC OS X 10.7

2012-10-03 Thread Kolbe
did you start the sendmail program? On Tuesday, October 2, 2012 8:45:38 AM UTC+8, Cheng wrote: > > Hi, > > I am new to django. > > I am following The Definitive Guide to Django SECOND EDITION by Adrian > Holovaty and Jacob Kaplan -Moss and I cannot get the contact form to send > mail. First the

Re: send_mail on MAC OS X 10.7

2012-10-02 Thread Laxmikant Gurnalkar
Okay, Thanks. Will hv to do that. On Wed, Oct 3, 2012 at 9:54 AM, Russell Keith-Magee wrote: > On Wed, Oct 3, 2012 at 12:19 PM, Laxmikant Gurnalkar > wrote: > > Hi, > > Thanks for the suggestion Russell, > > I never felt insecure when I dont use csrf. Since I hv disabled. > > anyways, Thanks ag

Re: send_mail on MAC OS X 10.7

2012-10-02 Thread Russell Keith-Magee
On Wed, Oct 3, 2012 at 12:19 PM, Laxmikant Gurnalkar wrote: > Hi, > Thanks for the suggestion Russell, > I never felt insecure when I dont use csrf. Since I hv disabled. > anyways, Thanks again. I don't want to appear rude, but I suspect the only reason you don't feel insecure is because you don'

Re: send_mail on MAC OS X 10.7

2012-10-02 Thread Laxmikant Gurnalkar
Hi, Thanks for the suggestion Russell, I never felt insecure when I dont use csrf. Since I hv disabled. anyways, Thanks again. *Laxmikant* On Wed, Oct 3, 2012 at 4:41 AM, Russell Keith-Magee wrote: > On Tue, Oct 2, 2012 at 1:36 PM, Laxmikant Gurnalkar > wrote: > > Comment the csrf from setti

Re: send_mail on MAC OS X 10.7

2012-10-02 Thread Russell Keith-Magee
On Tue, Oct 2, 2012 at 1:36 PM, Laxmikant Gurnalkar wrote: > Comment the csrf from settings. Please be *very* careful giving this advice. Advising someone to disable CSRF will almost universally be the wrong advice. By disabling CSRF, you're exposing your site to known and avoidable security prob

Re: send_mail on MAC OS X 10.7

2012-10-02 Thread Cheng
Hi Laxmikant, Do you mean this statement (I can't find any other that refers to csrf) in settings 'django.middleware.csrf.CsrfViewMiddleware', I commented it, but it still gives me error 61 - Connection refused. Thanks, Cheng Hong On Monday, October 1, 2012 10:36:43 PM UTC-7, Laxmikant Gu

Re: send_mail on MAC OS X 10.7

2012-10-01 Thread Laxmikant Gurnalkar
Comment the csrf from settings. It doesnt work when you want.I use session and own credentials to do that And just write a simple view to send mail. This will work without csrf or any of credentials & etc. *Cheers* Laxmikant On Tue, Oct 2, 2012 at 6:15 AM, Cheng wrote: > Hi, > > I am new to dj

send_mail on MAC OS X 10.7

2012-10-01 Thread Cheng
Hi, I am new to django. I am following The Definitive Guide to Django SECOND EDITION by Adrian Holovaty and Jacob Kaplan -Moss and I cannot get the contact form to send mail. First the eg did not work at all until I added the @csrf-exempt decorator. Keeps getting Error 61 Connection Failure af