Forum

Thread tagged as: Problem, Configuration, Forms

New perch user and GMAIL email

Hello, when we create a new account with an email @gmail.com, we don't receive the email to setup the password. I checked in debug mode the page to test email, and it's wrote : The email has been successfully sent (see below). Everything seems good (even the email server log) but we don't have email (I checked spam folder).

Debug Message - Perch Runway 3.0.8
[1] SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=14 AND u.userHash='hash' LIMIT 1
UPDATE perch2_users SET userHash='hash' WHERE userID='14'
[52] SELECT p.privKey FROM perch2_user_privileges p
[33] SELECT settingID, settingValue, userID FROM perch2_settings WHERE userID=14 OR userID=0 ORDER BY userID ASC
[9] SELECT itemValue FROM perch2_menu_items WHERE itemType='app'
Using email template: C:\inetpub\website.com\admin\core\emails\settings-test.html (html)
Building message with Dollar template
Sent email: "Email settings test message" to name@gmail.com
Setting alert: The email has been successfully sent. (success)
[1] SELECT * FROM perch2_menu_items WHERE itemActive=1 AND itemType='menu' AND parentID=0 ORDER BY itemOrder ASC LIMIT 0, 1
[4] SELECT mi.*, p.privKey FROM perch2_menu_items mi LEFT JOIN perch2_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=1 ORDER BY mi.itemOrder ASC
[1] SELECT itemTitle FROM perch2_menu_items WHERE itemType='app' AND itemValue='settings' LIMIT 1
[1] SELECT * FROM perch2_menu_items WHERE itemActive=1 AND itemType='menu' AND parentID=0 ORDER BY itemOrder ASC LIMIT 1, 10
[2] SELECT mi.*, p.privKey FROM perch2_menu_items mi LEFT JOIN perch2_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=2 ORDER BY mi.itemOrder ASC
File: \core\settings\modes\email.post.php
Queries: 11
Memory: 3.2274

any idea?

fabien psomas

fabien psomas 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Sounds like a deliverability issue rather than anything Perch is doing, but you can verify that by testing with https://mailtrap.io

Our mail logs are showing successful delivery: 250+2.0.0+2frph4csy5-1+Message+accepted+for+delivery

Email sent to other domains is working as well. Is there anything specific we need to change to make the Perch email work with gmail?

Drew McLellan

Drew McLellan 2638 points
Perch Support

If the message is accepted, it sounds like Perch is working correctly. Perch isn't interacting with Gmail itself, so the question is more one of delivery.