Re: [mezzanine-users] Contact Form Error

2017-02-16 Thread Richard Jackson
Hi all,

This has been sorted in the live environment - was actually an issue with 
how I'd configured my domain's email addresses/mailboxes. The issue still 
persists in development, though I don't feel this is as pressing a concern!

Thanks for your time and input!

Rich

On Wednesday, February 15, 2017 at 5:09:42 PM UTC, Melvyn Sopacua wrote:
>
> On Monday 13 February 2017 10:46:53 Richard Jackson wrote:
>
> > I started looking into these and will keep doing so in the next few
>
> > days. How would SMPT server settings be configured in Django/Mez?
>
>  
>
> Not so obvious, but remember "Mezzanine is just Django":
>
> https://docs.djangoproject.com/en/1.10/ref/settings/#email-host
>
>  
>
> -- 
>
> Melvyn Sopacua
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Contact Form Error

2017-02-15 Thread Melvyn Sopacua
On Monday 13 February 2017 10:46:53 Richard Jackson 
wrote:
> I started looking into these and will keep doing so in the 
next few
> days. How would SMPT server settings be configured in 
Django/Mez?

Not so obvious, but remember "Mezzanine is just Django":
https://docs.djangoproject.com/en/1.10/ref/settings/#email
-host

-- 
Melvyn Sopacua

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Contact Form Error

2017-02-13 Thread Richard Jackson
OK thank you - I don't believe anything's been set up explicitly so I'll
take a look into it. Really appreciate your time on this.

Rich

On Mon, Feb 13, 2017 at 7:21 PM, Iain Mac Donald  wrote:

> On Mon, 13 Feb 2017 10:46:53 -0800 (PST)
> Richard Jackson  wrote:
>
> > I started looking into these and will keep doing so in the next few
> > days. How would SMPT server settings be configured in Django/Mez?
>
> https://docs.djangoproject.com/en/1.10/topics/email/
>
>
> . Does this sound like an SMPT issue?
>
> The very last line of your traceback suggests a connection error (host
> port timeout). SMTP not running? Authentication error?
>
> If you haven't explicitly set the SMTP server it probably defaults to
> localhost.
>
> --
>
> Regards,
> Iain.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Mezzanine Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/mezzanine-users/SH46jnSkr3o/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Freelance Composer - Richard Jackson Music
Email: r...@richardjacksonmusic.com
Site: www.richardjacksonmusic.com
Twitter: @rjmusic87

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Contact Form Error

2017-02-13 Thread Richard Jackson
Much obliged, I'll check these tonight.

Rich

On Mon, 13 Feb 2017 at 13:36, Iain Mac Donald 
wrote:

> On Mon, 13 Feb 2017 12:28:50 +
> Richard Jackson  wrote:
>
> > What's the best way to
> > test that?
>
> Python, system utility like mailx or you could communicate directly
> using telnet:
>
> https://www.port25.com/how-to-check-an-smtp-connection-with-a-manual-telnet-session-2/
>
> MTAs all have means of test routing too.
>
> I guess you need to set these to something sensible:
> SERVER_EMAIL
> DEFAULT_FROM_EMAIL
>
> --
>
> Regards,
> Iain.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Mezzanine Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/mezzanine-users/SH46jnSkr3o/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Freelance Composer - Richard Jackson Music
Email: r...@richardjacksonmusic.com
Site: www.richardjacksonmusic.com
Twitter: @rjmusic87

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Contact Form Error

2017-02-13 Thread Iain Mac Donald
On Mon, 13 Feb 2017 12:28:50 +
Richard Jackson  wrote:

> What's the best way to
> test that?

Python, system utility like mailx or you could communicate directly
using telnet:
https://www.port25.com/how-to-check-an-smtp-connection-with-a-manual-telnet-session-2/

MTAs all have means of test routing too.

I guess you need to set these to something sensible:
SERVER_EMAIL
DEFAULT_FROM_EMAIL

-- 

Regards,
Iain.

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Contact Form Error

2017-02-13 Thread Richard Jackson
Hi Iain,

I'm at work atm but will check as soon as I'm home. What's the best way to
test that?

Thanks,

Rich

On Mon, 13 Feb 2017 at 10:46, Iain Mac Donald 
wrote:

> On Mon, 13 Feb 2017 01:38:42 -0800 (PST)
> Richard Jackson  wrote:
>
> > Exception Value: [Errno 111] Connection refused
>
> Can you access the SMTP server?
>
> --
>
> Regards,
> Iain.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Mezzanine Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/mezzanine-users/SH46jnSkr3o/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Contact Form Error

2017-02-13 Thread Iain Mac Donald
On Mon, 13 Feb 2017 01:38:42 -0800 (PST)
Richard Jackson  wrote:

> Exception Value: [Errno 111] Connection refused

Can you access the SMTP server?

-- 

Regards,
Iain.

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Contact form

2015-12-09 Thread Danny

On 9/12/2015 8:43 PM, Alexander Benatti wrote:
Hello, I'm trying to create a contact form with mezzanine, I'd like 
that this form is sent using json and email. How can I do this?


Mezzanine's Page subclass Form can be used to create forms quite easily. 
At the moment, it purely sends the form contents as email
(optionally to the person who filled it in, plus cc's you add in the 
admin). However, it shouldn't be too difficult to add extra behaviour

at the same point.

Here's where the forms are emailed:
https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/forms/page_processors.py

The page processors are handled by the Page middleware:
https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/pages/middleware.py

It should be possible for you to copy/inherit from the form page 
processor, and make your own modifications, overriding the one

in Mezzanine.

Hope this helps.

Seeya. Danny.

--
You received this message because you are subscribed to the Google Groups "Mezzanine 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.