Mautic Community Forums

SMTP Server problem - Sendgrid

Hello, I’m new with mautic and I’m trying to integrate the send grid account, but every time i receive an error.



If I try to use the send grid option show it:



Unable to connect with TLS encryption Log data: ++ Starting MauticEmailBundleSwiftmailerTransportSendgridTransport << 220 SG ESMTP service ready at ismtpd0007p1las1.sendgrid.net >> EHLO mailing.owbusiness.com.br << 250-smtp.sendgrid.net 250-8BITMIME 250-PIPELINING 250-SIZE 31457280 250-STARTTLS 250-AUTH PLAIN LOGIN 250 AUTH=PLAIN LOGIN >> STARTTLS << 220 Begin TLS negotiation now !! Unable to connect with TLS encryption (code: 0)

++ Starting MauticEmailBundleSwiftmailerTransportSendgridTransport << 220 SG ESMTP service ready at ismtpd0007p1las1.sendgrid.net >> EHLO mailing.owbusiness.com.br << 250-smtp.sendgrid.net 250-8BITMIME 250-PIPELINING 250-SIZE 31457280 250-STARTTLS 250-AUTH PLAIN LOGIN 250 AUTH=PLAIN LOGIN >> STARTTLS << 220 Begin TLS negotiation now !! Unable to connect with TLS encryption (code: 0)





If I try to use “other smtp server” show this error:



Connection could not be established with host smtp.sendgrid.net [php_network_getaddresses: getaddrinfo failed: Name or service not known #0] Log data: ++ Starting Swift_SmtpTransport !! Connection could not be established with host smtp.sendgrid.net [php_network_getaddresses: getaddrinfo failed: Name or service not known #0] (code: 0)

++ Starting Swift_SmtpTransport !! Connection could not be established with host smtp.sendgrid.net [php_network_getaddresses: getaddrinfo failed: Name or service not known #0] (code: 0)



I tried to use different information for the smtp, but still didn’t work.



It could be problem in my installation? Please, someone can help me?




Wrote an email to ninjoan as well, i’ve got the same problems…

the ports are opens

Hello, I’m new with mautic and I’m trying to integrate the send grid account, but every time i receive an error.

If I try to use the send grid option show it:

Unable to connect with TLS encryption Log data: ++ Starting MauticEmailBundleSwiftmailerTransportSendgridTransport << 220 SG ESMTP service ready at ismtpd0007p1las1.sendgrid.net >> EHLO mailing.owbusiness.com.br << 250-smtp.sendgrid.net 250-8BITMIME 250-PIPELINING 250-SIZE 31457280 250-STARTTLS 250-AUTH PLAIN LOGIN 250 AUTH=PLAIN LOGIN >> STARTTLS << 220 Begin TLS negotiation now !! Unable to connect with TLS encryption (code: 0)
++ Starting MauticEmailBundleSwiftmailerTransportSendgridTransport << 220 SG ESMTP service ready at ismtpd0007p1las1.sendgrid.net >> EHLO mailing.owbusiness.com.br << 250-smtp.sendgrid.net 250-8BITMIME 250-PIPELINING 250-SIZE 31457280 250-STARTTLS 250-AUTH PLAIN LOGIN 250 AUTH=PLAIN LOGIN >> STARTTLS << 220 Begin TLS negotiation now !! Unable to connect with TLS encryption (code: 0)

If I try to use “other smtp server” show this error:

Connection could not be established with host smtp.sendgrid.net [php_network_getaddresses: getaddrinfo failed: Name or service not known #0] Log data: ++ Starting Swift_SmtpTransport !! Connection could not be established with host smtp.sendgrid.net [php_network_getaddresses: getaddrinfo failed: Name or service not known #0] (code: 0)
++ Starting Swift_SmtpTransport !! Connection could not be established with host smtp.sendgrid.net [php_network_getaddresses: getaddrinfo failed: Name or service not known #0] (code: 0)

I tried to use different information for the smtp, but still didn’t work.

It could be problem in my installation? Please, someone can help me?

https://www.mautic.org/community/index.php/1051-sendgrid-connection-error/0

Using this:
1 - “Service to send emails through” -> Other SMTP Server
2 - SMTP Host -> smtp.sendgrid.net
3 - SMTP Port -> 465
4 - SMTP encryption type -> SSL
5 - SMTP authentication mode -> Login
6 - Username for the selected mail service -> Put your sendgrid username or email
7 - Password for the selected mail service -> Your Sendgrid Password

Show this error:
Connection could not be established with host smtp.sendgrid.net [ #0] Log data: ++ Starting Swift_SmtpTransport !! Connection could not be established with host smtp.sendgrid.net [ #0] (code: 0)
++ Starting Swift_SmtpTransport !! Connection could not be established with host smtp.sendgrid.net [ #0] (code: 0)

How can I solve this problem?

send me an email jninhilario@gmail.com i think i have something that may help you.

Hey I faced the problem too. Try PORT 2525, if you’re using gloud. This worked for me. Dont know if where you’re hosted.