Forum Replies Created
-
AuthorPosts
-
JSPParticipant
WP-Mail-SMTP is setup and working correctly and always has been for many years, no problem there. It sends mail as should be expected. I use the SMTP settings that are in wp-config.php, (which are the correct settings for my mailserver smtp).
I used the settings from WP-Mail-SMTP (ie same as from wp-config.php) to setup TNP-SMTP addon and everything working fine instantly.
For some reason TNP on my site did not send mail through SMTP from the front end widget until I added and setup TNP-SMTP addon using those same details. Now everything is fine.
For me this is good enough as it is working. I am not a web developer so cannot keep debugging something i dont fully understand. In the end the solution for my case was simple. If this is not the way it should behave, I will happily provide you admin role to look in the admin area to understand better or attempt setup the way it should be done to test if it works.
Thanks for your assistance and a great plugin.JSPParticipantSorry I was perhaps not clear in my previous post. I have the full version of TNP 🙂
I am using free version of WP-Mail-SMTP.
At this moment it is all working so I am inclined to leave it as is for now.
If you recall TNP was correctly sending email from back end test sending tool differently than from front end widget which resulted in the unwanted header “on behalf of”. For some reason TNP front end email was sending through my domain default system account. It was mail from front end widget signup that came through with the unwanted header. Mail from a CF7 signup widget came through with normal header.
If I set TNP to use its own sending, or the WP sending, (ie not using the TNP SMTP add-on) it sends with the unwanted header. I did try all settings before using the addon and nothing worked. Using the TNP-SMTP add-on instantly fixed the problem.
JSPParticipantHi Stefano,
I am now confused. I added the Newsletter-SMTP add-on and it fixed the issue I was having.
I noticed underlying issue that I think is server related. I use WP-Mail-SMTP on the site and all emails sent by the site arrive to customers and users correctly with a normal and desirable header….except for wordfence which also sends with this “on behalf of” header.
By using the Newsletter-SMTP add-on I was able to get emails sent by Newsletter from the front end to arrive with the correct header. Removing this add-on will just put me back to the unwanted header.
I did test Newsletter sending without the add-on to double check, and the SMTP add-on definitively fixes the problem. Please clarify.
I have just now also bought the full version of Newsletter.
JSPParticipant[SOLVED]
In case this helps anyone else.By installing the “external SMTP” add-on I now have test emails coming through without the “on behalf of”, appearing as they should as originating from the designated email address.
Stefano I would just like to re-iterate my thanks for your assistance on this.
JSPParticipantStefano you have been incredibly helpful and I am very grateful for this. I have a further question.
Is it possible that Newsletter front end signup bypasses WPMailSMTP plugin to send via SMTP?
The CF7 signup form delivers an email without issue, and this sends through WPMailSMTP.
I have been looking at the email trace stacks between the two different instances and this appears to be a notable difference. Might I need to use the Newsletter SMTP plugin to correct this, or could an update to Newsletter accomodate this difference and call WPMailSMTP if it doesnt already?
Is it possible I have something not configured correctly in Newsletter that would casue this? I have triple checked everything but as we can see, my level of ability is actually dangerous to me alone 🙂
JSPParticipantIt could be, but test with WP Mail SMTP test tool has same sending path, and the stack trace from the faulty send only goes through Newsletter plugin files, doesnt touch theme files from what I can see. If it is an incompatibility issue, again it is an outlier but Flatsome is by far one of the better and most well developed WP themes out there. I would be grateful if you can confirm receipt of the email i sent, and the information within it. Would you be willing to look deeper and resolve the issue with your knowledge and expertise as the author of the code? I would be most grateful since I cant think of anyone who could do a better job. Let me know by reply to the email I sent with stack trace info and screenshots as I really would like to get this resolved and use the brilliant Newsletter pro level plugin if this is fixable and working. Thanks again for your help because my hosting support seems to be rather lacking in relation to resolving this.
JSPParticipantHi stefano, thank you for your response. I will send you stack trace debug logs for emails initiated by the test tool in the plugin, and through a Newsletter widget added to the sidebar. You will notice they have significantly different stack traces and call different parts of the file plugin.php using two different sending or processing commands.
It may aksi be the case thgat my server settings could be causing an outlier case, or that it is my server at root of problem however I am just going by what a dev told me, however I am aware as mentioned it might be my server hosting that’s an issue and I have requested they look into this too to ensure my smtp is all set correctly. I will send the debug stacks to the email you have provided above.
I run the test from both the widget on a sidebar, and the test tool in the plugin. I have also sent the screenshot of details in the settings page, which show both emails for sender and return are the same.
TIA
JSPParticipantI have been told by two devs (one that looked into the website as admin, the other a dev that was given good explanation of the problem) and both have said it is a plugin bug as it is directly related only to how the widget interacts with email sending. the test send from Newsletter plugin works fine.
Is there a possible workaround? I have tried with adding a text widget and shortcode, and also an html widget and short code but both these have same issue. It seems shortcode itself maybe?? as this is part of the Newsletter widget too? Maybe a clue there. I would like to get this fixed as the Newsletter plugin is my preferred route to Newsletters and marketing mail shots. HTH and TIA.
JSPParticipantLooks like no screenshot.
In how messages are delivered it shows Newsletter>>Wordpress>>Hosting Provider>>SubscriberJSPParticipantHi Michael, thanks for getting back to me again on this. Just to re-confirm this only occurs when sending via the widget set on a sidebar. When using the test function it delivers with correct header displayed. Here is screen shot. I do also have debug stack traces for both correctly sent via test, and problematic send via widget and they are both significantly different. Good test calls plugin.php:906 (return $mailer->send($message); and send via widget calls plugin.php:954 ($r = $mailer->send($mailer_message);
See how they call different functions.
Also here is hopefully attached the screenshot requested.
JSPParticipantI am using the WP MAIL SMTP plugin and it appears to be configured correctly from what I can see. I am using the correct “from” email and using the same email address in all the respective places it should be. then in the Newsletter plugin settings, I am using the same email.
Now if I run the Newsletter setup wizard, and send an email during the running of the wizard, the email comes through with the correct and desired email header without showing the “sent on behalf of” message. However if i add the newsletter widget to a sidebar, or activate the subscribe popup and sign up using either of those, its only then that I get the “sent on behalf of” message.
If I sign up via a contact7 form using the same credentials, the email that comes through is also showing correct. It happens when signing up using the newsletter widget either from sidebar or popup. Has me a little stuck. I did contact my hosting provider and they said the email is being sent through php script and not smtp and this is why it is sending from the default account, but I cant see where or how to fix this since i do have smtp setup correctly as far as I can tell, since the C7 emails come through fine, and so does the email in the newsletter wizard, so it seems to be something localised to the newsletter widgets or popup widgets themselves. Is there an extended shortcode I should be putting into the widgets? Should I maybe use a text or html widget instead, if so what should I copy into those widgets as a shortcode? TIA
JSPParticipantI am using the WP MAIL SMTP plugin and it appears to be configured correctly from what I can see. I am using the correct “from” email and using the same email address in all the respective places it shoudl be. then in the Newsletter plugin settings, I am using the same email.
Now if I run the Newsletter setup wizard, and send an email during the running of the wizard, the email comes through with the correct and desired email header without showing the “sent on behalf of” message. However if i add the newsletter widget to a sidebard, or activate the subscribe popup and sign up using either of thise, its only then that I get the “sent on behalf of” message.
If I sign up via a contact7 form using the same credentials, the email thatr comes through is also showing correct. It happens when signing up using the newsletter widget either from sidebar or popup. Has me a little stuck. I did contact my hosting provider and they said the email is bneing sent through php script and not smtp and this is why it is sending from the default account, but I cant see where or how to fix this since i do have smtp setup correctly as far as I can tell, since the C7 emails come through fine, and so does the email in the newsletter wizard, so it seems to be something localised to the newsletter widgets or popup widgets themselves. Is there an extended shortcode I should be putting into the widgets? Should I maybe use a text or html widget instead, if so what should I copy into those widgets as a shortcode? TIA
-
AuthorPosts