Mautic Community Forums

smtp problem : cannot send a email

Hello !



I am started using mautic last week.

If this can help, my os is windows 10 and i install mautic with bitmani



I created a form with an action :



add a submit form -> send email to contact -> new email -> add email -> i filled the fields to a gmail adress.



i switched to landing page -> edit -> launch builder -> i drag and drop the name of my form into a fields.



I render the page on firefox : works fine.



and when i click on the submit button, it display a loading circle ate the right of the button but it did not send the email.





i went to the configuration panel -> email setting -> i filles the fields with gmail adress and the gmail service.

i click on : send test email.

It shows that error message :



Connection could not be established with host smtp.gmail.com [ #0] Log data: ++ Starting Swift_SmtpTransport !! Connection could not be established with host smtp.gmail.com [ #0] (code: 0)

++ Starting Swift_SmtpTransport !! Connection could not be established with host smtp.gmail.com [ #0] (code: 0)



Why could i not send email ?



Thank you


Hello !

I am started using mautic last week.
If this can help, my os is windows 10 and i install mautic with bitmani

I created a form with an action :

add a submit form -> send email to contact -> new email -> add email -> i filled the fields to a gmail adress.

i switched to landing page -> edit -> launch builder -> i drag and drop the name of my form into a fields.

I render the page on firefox : works fine.

and when i click on the submit button, it display a loading circle ate the right of the button but it did not send the email.

i went to the configuration panel -> email setting -> i filles the fields with gmail adress and the gmail service.
i click on : send test email.
It shows that error message :

Connection could not be established with host smtp.gmail.com [ #0] Log data: ++ Starting Swift_SmtpTransport !! Connection could not be established with host smtp.gmail.com [ #0] (code: 0)
++ Starting Swift_SmtpTransport !! Connection could not be established with host smtp.gmail.com [ #0] (code: 0)

Why could i not send email ?

Thank you

To activate a Gmail account in Mautic, I follow the following steps: https://support.google.com/mail/answer/14257
And then these ones: https://www.google.com/settings/security/lesssecureapps (as described here: https://support.google.com/accounts/answer/6010255)

Hope that helps.
Cheers.

i will try it.

Thank you !