Gmail api for localhost - wordpress

I have installed WordPress in my localhost. For sign up verification, I installed wp smtp mail plug in. I want to send mail via gmail. For that I need api client ID and client secret. But when I visit Google developer console, then I found that I can't use my localhost website for that.
My question: how can I get gmail api for WordPress wp smtp mail plug in. (For localhost:port)
Sorry for bad English. Hope you understand :)

There is popular plugin for Gmail:
Gmail SMTP
Gmail SMTP plugin allows you to authenticate with your Gmail account to send email via Gmail SMTP server.

Related

Could not authenticate your SMTP account

My hosting is on GoDaddy (managed wordpress). I have a contact us form but when I try to end mail it says mail is sent successfully but I do not receive it. I am using wpforms and my email hosting provider is office 365. I am using this SMTP setting:-
SMTP host:- relay-hosting.secureserver.net
Encryption: None
SMTP Port:- 25
Can anybody tell me what is the problem?

Send mail via SendGrid to Outlook was always failing

I am a newbie in using SendGrid. I have a web application that send a mail to users after the successful registration. I am using send grid to send mails.
It works fine when I try to send Google email accounts. But when I send mails to Outlook email addresses, it always failed to deliver emails.
I checked the SendGrid 'Activity' section it shows like below.
You might need to setup domain authentication. This link should be a good place to start: https://sendgrid.com/docs/ui/account-and-settings/how-to-set-up-domain-authentication/
Outlook might have different firewall rules blocking incoming (potentially malicious) emails while GMail might have a different set of them.

Unable to send email using smtp gmail account

I am working on small project using wordpress on my local host using Wamp.
I am trying to send email using smtp using my gmail account but its not working and showing me boolean false when i am trying to send test email.
I tried this with by changing my host and it's working fine with already working host which is mail.name.com.
but its not working with gmail i think there must be some setting in gmail to enable smtp to send mail. I searched online but i am unable to find solution.
step 1:
please login your gmail account and click blow link:
https://www.google.com/settings/security/lesssecureapps
and Access for less secure apps pick Turn On
Step 2:
Disable second steps vitrification off in your gmail account.
also asking with your hosting provider gmail smtp sever all allow or not In
godaddy you can not use gmail smtp server for sending mail.

cpanel sending email using gmail smtp in wordpress plugin

I'm using wordpress 3.8, Mail SMTP plugin to send emails, and cpanel. In my local it works fine as my host is gmail. And once I uploaded it live I get authentication failed and I'm sure I typed my gmail username and password correctly. Is there any configuration that must be done? In cpanel perhaps? Or the plugin itself? Please help out. Any help would be great. Thanks.
Can you please check you server is configurations done as per Googles Settings if your want to send mail through Google servers?
Add MX entries for Google Apps In server
Google SMTP email settings in Plugin
Otherwise you need to check the possibilities of your server to send email.
Domain & Server capability Checking , SMTP settings

Send E-mail without using SMTP in Asp.net

My website uses ASP.NET to send emails, but my school's network administrator has blocked the SMTP port and services. After I visited the p2p forums I found a suggestion to use web service to send email, have you any suggestion which website would provide web service for sending emails?
I tried to use System.Web.Mail.MailMessage class to send the emails through my program, but it also fail. Anyone can help me to solve this problem? I need your help. Thank you!
You can use SendGrid.
They offer a webservice and you can send up to 200 emails a day with a free account.
They have code samples for several languages: https://github.com/sendgrid
I think Email sending with ASp.net has nothing to do with blocking of your smtp port and service of school.
You can use gmail's smtp server for sening email in your application/
SMTP URL HOST : smtp.gmail.com,
IS SSL Enabled : true,
PORT: 465,
USERId:your_username#gmail.com,
Password: Your_Password
Use Gmail, Yahoo or other Email providers to send a mail.
Please refer my answer #CodeProject - sending email to gmail from asp.net, if you want to use Gmail.
Also follow - Send Email from Yahoo, Gmail, Hotmail (C#).
Well that depends, if you are talking about the SMTP port of your network, then you can still use Gmail, Yahoo, Outlook or other ports, all you will be needing will be just a username and password alongwith the port (that must be 25) and the server address (for gmail it is smtp.gmail.com).
But if you are talking about Sending emails without using SMPT. Its not possible, with or without ASP.NET.
However, you can try using SmtpSettings for ASP.NET.
There are some other issue too. Please checked that the SmtpServer that you are using (gmail, yahoo etc) are allowed, because if they are blocked too, you would have to search for something new.
And yes, there are some other servers too. Like free email providers that would also let you use 200emails/day for free or something like that. You can check that out.
You mentioned you are using System.Web.Mail.MailMessage, here is an msdn blog post about setting the Smtp for that: http://msdn.microsoft.com/en-us/library/system.web.mail.mailmessage.aspx

Resources