alexga
Forum Replies Created
-
Sorry but issue remains in version 2.0.15
I have another website and has similar issues. The FROM email address in the SMTP plugin is ignored and the WP email (Administration Email Address) is used instead. Maybe this will give you an idea where the issue may be.
I’ve removed the plugin for now. The built in WP mailer works ok. Let me know when you’ve resolved the issue.
Thanks.I don’t have user registration just some special types of emails in my own plugin. AS mentioned I simply use the WP_Mail function, nothing fancy.
Update…Adding the FROM in the WP_mail header works when sending emails from backend but not for sending emails on frontend. Strange…
OK.. so the bug in your plugin is that it cannot override the FROM email.
I’ve added FROM: email <[email protected]> to my wp_mail header and the mail gets sent perfect.
Can you please check and fix the FROM override so it works with WP5.5. Thanks
Ok. I’ve pressed save settings and nothing strange. All settings are saved. No error on the backend.
My header array in the wp_mail function in my code has only ‘Content-Type: text/html; charset=UTF-8’,’BCC: ‘.$settings[’email_address’].”
I think the issue is the FROM email is not parsed properly in your plugin by the getFromEmailAddress().
Not sure what you mean. What save button you mean?
So the test mail from the backend works on but all the emails in my own plugin example:
wp_mail( $user[’email’], $subject, $message, $headers );
these fail with the error I provided earlier.
Very strange. Can you assist to find a solution?
Here is the diagnostic.
Mailer: postsmtp
HostName: 3depo.com
cURL Version: 7.29.0
OpenSSL Version: NSS/3.44
OS: Linux vps.somuchip.com 3.10.0-1062.9.1.el7.x86_64 #1 SMP Fri Dec 6 15:49:49 UTC 2019 x86_64
PHP: Linux 7.3.13 C
PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=Yes, zlib_encode=Yes
WordPress: 5.5 en_AU UTF-8
WordPress Theme: threedepo
WordPress Plugins: 3DEPO, Ultimate Addons for Visual Composer, WPBakery Page Builder, Post SMTP, WPS Hide Login
WordPress wp_mail Owner: /home/admin/web/3depo.com/public_html/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args
WordPress phpmailer_init Action(s): PostsmtpMailer->phpmailer_smtp_init
Postman: 2.0.14
Postman Sender Domain (Envelope|Message): 3depo.com | 3depo.com
Postman Prevent Message Sender Override (Email|Name): No | No
Postman Active Transport: SMTP (smtp:tls:login://vps.somuchip.com:587)
Postman Active Transport Status (Ready|Connected): Yes | Yes
Postman Deliveries (Success|Fail): 129 | 0
Postman Stealth Mode: YesHi Sanjeev,
All I’m trying to achieve is to ensure that every email sent through our plugin actually sends both content type: Html and Plain text. The issues I’m having is that only the HTML part is sent and not the plain text version.
So if you please advise how would you use the wp_mail function to send both an HTML and a plain text version the mail?
If your plugin does not support this please say so!
Bump. Can I please get a reply here. Thanks!
Sanjeev
I’m using Content-Type: text/html in my header already. The point here is that the Email is sent ONLY as HTML not including the Plain Text version. I want to send both.
How do I do this?????
Hi Sanjev
I want to route the emails to WP MAIL SMTP and I am using wp_mail function. Can you please provide me with an example that uses wp_mail and enables both HTML and PLAIN Text version of the message to be sent. Keep in mind that my WP MAIL SMTP uses Other SMTP option.Thanks
I need one of the plugin developers to reply here since this is not working.
Considering this plugin has almost 1M downloads one would think it can perform at least the basic email functions.
I’m not getting any errors, the only issue is that plain text version is not sent. I would like this to work considering that this plugin has almost 1M downloads one would expect it can do at least basic email functions.
To the plugin developers: please advise how to resolve this issue.
Thanks!!!