cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution

GMail SMTP API using fails..

Hi / in Wordpress I installed the Gmail SMTP plugin 

Gmail SMTP v1.1.7

I created the Gmail API with Google and created all the credentials with google, added all the stuff to the plugin and am now connected with the API under SMTP status, but when I sent a test email using the Form, I get error, what is blocking this?

 

Here is the output of the errors:

2018-04-22 15:27:55 Connection: opening to smtp.gmail.com:587, timeout=300, options=array ()
2018-04-22 15:27:57 Connection failed. Error #2: stream_socket_client(): unable to connect to smtp.gmail.com:587 (Connection refused) [/home/content/a2pewpnaspod05_data03/51/41484551/html/wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php line 299]
2018-04-22 15:27:57 SMTP ERROR: Failed to connect to server: Connection refused (111)
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

 

I just want to be able to people contact me by filling out a Form / so want to set something that works up.

 

Can someone help me to

1 ACCEPTED SOLUTION

I used WP Mail SMTP plug-in using Google / and followed the instruction here - using Method 1.

http://www.wpbeginner.com/plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server/

thanks!

View solution in original post

13 REPLIES 13
Helper V

@rompstar,

 

Are you using Managed WordPress or cPanel Hosting?...

I think you can just enter your email address in contact form settings!, and an email will be triggered when someone contacts you...

Any particular reason why you're using GMail SMTP plugin for your contact form?...

What contact form are you using?...

 

Regards,

 

Praveen Thomas

GoDaddy 24/7 Support www.x.co/247support
----->NEXIA

I am using Managed WordPress, and I am using "Contact Form 7" plugin.

 

I thought that I had to setup an SMTP before I can have email sent, so what are you saying that I use, right now Gmail API is not working, as it seems to be blocked.

@rompstar,

 

The default PHP mail() function can send and receive emails...

Make sure the FROM email address domain is the same as domain name...

For GMail SMTP plugin!, you must allow access in Google settings...

Please check your Google account for Third-Party access...

 

Regards,

 

Praveen Thomas

GoDaddy 24/7 Support www.x.co/247support
----->NEXIA

that's what I had originally and the Form doesn't work, when I try to test it and I fill it out I get an error:

" There was an error trying to send your message. Please try again later. "

I don't have email MX setup for my domain, is that an issue ?

@rompstar,

 

I am not very sure whether E-Mail is included in Managed WordPress...

Please provide your domain name!, We must now look for a work around...

I don't promise anything, but anyway we can try...

 

Regards,

 

Praveen Thomas

GoDaddy 24/7 Support www.x.co/247support
----->NEXIA

kodiakbrewing.com is the domain name

@rompstar,

 

Please add the below DNS records and test service...

-----Type MX, Name @, Value mail.kodiakbrewing.com, Priority 0

-----Type TXT, Name @, Value v=spf1 a mx ptr include:secureserver.net ~all

-----Type A, Name mail, Value 198.71.233.161

 

EDIT:-

 @rompstar,

 

Hey you will be getting 1 Office 365 mailbox with Managed WordPress!, What plan do you have...

 

Regards,

 

Praveen Thomas

GoDaddy 24/7 Support www.x.co/247support
----->NEXIA

Hi / I have the Deluxe Managed Wordpress

I have added those to the DNS, so do I need to wait for anything else ?

I ended up using the Gmail API, it works now, thanks!

@rompstar,

 

Happy that you got it working!, good day...

Smiley Happy

 

Kindly do share how you got it working so that it will be helpful to the community...

 

Regards,

 

Praveen Thomas

GoDaddy 24/7 Support www.x.co/247support
----->NEXIA

I used WP Mail SMTP plug-in using Google / and followed the instruction here - using Method 1.

http://www.wpbeginner.com/plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server/

thanks!

View solution in original post

@rompstar,

 

Thanks a lot for sharing...

Zoho provides professional email solutions!, and so you can try that...

Free for up to 25 users, Webmail only access...

Please check it out if you want professional email...

https://www.zoho.com

 

Regards,

 

Praveen Thomas

GoDaddy 24/7 Support www.x.co/247support
----->NEXIA