Forum
Form app: Send response via email not working (with Gmail)
5 months ago I had the same issue and I solved it by adding a Dreamhost email.
This time I need to use client's Gmail and is not working. It sends the message but we dont get the notifications.
Here is what I wrote on config.php
define('PERCH_EMAIL_FROM', 'clientsemail@gmail.com');
define('PERCH_EMAIL_FROM_NAME', 'Clients name');
define('PERCH_EMAIL_METHOD', 'smtp');
define('PERCH_EMAIL_HOST', 'smtp.gmail.com');
define('PERCH_EMAIL_AUTH', true);
define('PERCH_EMAIL_SECURE', 'ssl');
define('PERCH_EMAIL_PORT', 465);
define('PERCH_EMAIL_USERNAME', 'clientsemail@gmail.com');
define('PERCH_EMAIL_PASSWORD', 'clients pass');
any idea?
You may need to switch the gmail account to insecure mode.
https://support.google.com/accounts/answer/6010255?hl=en
Drew, If I had to explain my client to switch to insecure mode, how much insecure is that?
You should probably ask Google that. I think basically they want to discourage doing stuff like this.
We use Postmark to send email https://postmarkapp.com
It still not work after allowing insecure apps... It stores in All Responses but not forward an email....
Have you tested the email address under Settings?
How can I do that Drew?
In Perch, go to Settings and Email and perform a test.
I use Postmark for all the sites on my servers too. It's great :)
Current configuration
Method: smtp Host: smtp.gmail.com Port: 465 Authenticate: Yes Username: myemail@gmail.com Password: *****************
You need to make sure that test completes successfully for email to be sent.
Yes, but I am in the same problem... How can I make it work?
You just need to use the right settings - I don't know what those would be for your mail server, and I'm not in a position to be able to test with your mail server. This isn't something I can help with.