Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
The problem I believe is that emails are always sent from Toolset via plain PHPmail, even when SMTP is set up via a plugin like WP SMTP.
==>
I would like to correct the things here if its misunderstood.
We don't use the PHP mail() function, we use the WordPress wp_mail() function to send the notification. You can locate that at the following file:
plugins/cred-frontend-editor/library/toolset/cred/embedded/classes/common/Mail_Handler.php:228
All emails from all other form plugins are recorded in the log. It's only Toolset that is forcing the use of PHPmail and therefore the emails are not being logged in WP SMTP.
==>
I wonder if it's a edge case as otherwise our forum will be full of similar tickets.
I would like to review the SMTP settings on your install, I tried to access the wp-admin panel using the access details you shared with your previous reply but its not working. Can you please share working wp-admin access details and I will review the SMTP settings again and then try to setup on my test install and see how it goes.
I have set the next reply to private which means only you and I have access to it.
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Hi Eric,
I checked on your site and you are using the "Other SMTP" option and added the SMTP host/port/authentication/username/password.
Is it possible for you to setup the same SMTP details on the test site I shared with you? Once I confirm that testing is over, you can remove the SMTP access details from my test site.
Admin login:
=> hidden link
User: demo
pwd: Admin@999
Once you configure I will be able to run a test with the form? - will that work for you?
My SMTP server requires the domain that email is being sent from to be authenticated with SPF/DKIM records. You would need to add these records in order to use my SMTP server.
I would suggest that the SMTP server used to send emails does not matter.
If you insist it does matter because you're trying to to a true apples-to-apples test, then I would also point out that you'd also need to install the Pro version of WP SMTP.
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
I would like to inform you that Toolset just sends notification emails using the standard wp_mail() function and as shared you can track the file I shared with my previous reply:
=> https://toolset.com/forums/topic/post-form-submission-email-notifications-are-not-being-sent/page/2/#post-1825173
What I will do is I'm escalating this issue to our next level support for further debugging and asked to test both email notification and email logging should work with WP Mail SMTP pro plugin. Our next level support will try to configure the SMTP with "Other SMTP" option as you have with your site and will try to run the test.
I will get in touch with you with the results shared by our next level support. Please hold on for further updates.
Nigel
Supporter
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/London (GMT+00:00)
Hi Eric
I have done further testing for this.
I set up an a new test site on an online server, installed the WP Mail SMTP plugin, created an account with SendGrid to use for the SMTP testing, and first sent a test email from the plugin itself to verify it was working.
I then created a form with Toolset, and added a notification to be sent when the form is submitted, and added this form to a page.
I tested the form, and received the notification.
The email log in WP Mail SMTP is a pro feature so I didn't test that, but I can confirm that the email was received, and looking at the source of the email I can also confirm that it was sent via SMTP and not the normal PHP mailer: see the screenshot.
That is to be expected, as Toolset just uses the wp_mail() function of WordPress to send emails, nothing custom.
The problem I believe is that emails are always sent from Toolset via plain PHPmail, even when SMTP is set up via a plugin like WP SMTP.
That's not the case. With the WP Mail SMTP plugin active and setup correctly, Toolset notification emails are sent via SMTP.
If the Pro version of the plugin doesn't capture such emails in its logs and you need to retain a log of sent emails, I suggest you use WP Mail Logging plugin instead, which does log the emails (even when they are sent via SMTP, which I verified on my test site).
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)