From Email address
-
Hello there!
Is it possible to provide the filter please in order to
change the ‘From Email’ address for the email notifications to admin and to User?Thank you
-
Hi @pickme,
Thanks for reaching out. You should be able to use the default WordPress ‘wp_mail_from’ filter to override From Email:
function wpfda_sender_email( $email ) { return 'info@example.com'; } add_filter( 'wp_mail_from', 'wpfda_sender_email' );This is as long as you’re willing to send all the emails from your site by this sender.
I highly recommend using SMTP plugins such as WP Mail SMTP which has built-in option to change the From Email.
I hope this helps!
Hello Sanjeev!
Thanks for your fast reply!
I am using WP Mail SMTP email plugin in order to send email from info@example.com and I have left checkbox ‘Force From Email’ unticked in order to let other plugins use their ‘From Email’ settings to which I have set different email address.
I would like set the ‘From email’ only for the delete account notifications by WP Frontend Delete Account plugin and maintain the ‘from email’ I have set as it is for other plugins.
Could this be possible?
Thank you
-
This reply was modified 5 years, 9 months ago by
pickme.
Hi @pickme,
Currently, there’s no way to do that. I’ll make a note of this to consider it down the road.
Thanks for the suggestion and have a good one!
Thank you Sanjeev,
Regards!
Sanjeev I have one more question:
I would like to use the shortcode to display the delete account form on a page.
In this case, how do I hide/remove it from Woocommerce’s account control panel?
With CSS only?
Thank you
Thank you for that!
In addition,
With the delete account feature, why don’t you add WordPress’s Core feature: delete personal data, so that Woocommerce’s orders’ data to be deleted as well?
Thank you
HI @pickme,
Oh, that’s a very good question and very useful feature to add. I think that isn’t a core feature but WooCommerce hooked into it. I’ll make a note of this or you can create it here and I’ll make sure to include it in on one of the future releases.
Thanks, and I really appreciate it. It’s always helpful to get insights from users.
@pickme – If you have any further questions unrelated to the original question, please do not continue on this thread. It’s outside of this support forum guidelines.
I’m marking this topic as resolved as I’ve already acknowledged the request.
Thanks!
Sanjeev, I added it.
I am using another plugin to do the delete/export personal data and it is getting confused for users.
For example when I use your plugin, the user is deleted, but his personal data is maintained in the database through his orders. So what is the point of having a delete account feature if it does not wipe out all personal data, from account, from orders, even product reviews by anonymising his username only and maintaining his review-?- maybe?
I am using another plugin for deleting and exporting personal data on front end but that does not delete account, so personal data are maintained on user’s account for this case.
Therefore, users should do both of the above.
I believe all features in one plugin would be perfect and unique, there is no such plugin.
Thank you!
-
This reply was modified 5 years, 9 months ago by
The topic ‘From Email address’ is closed to new replies.