Questions tagged [email]

It is possible to send email from WordPress using the built in `wp_mail` function. Several filters and hooks are available for additional options. There are plugins for extensive functionality, such as sending bulk mail like newsletters.

Filter by
Sorted by
Tagged with
0
votes
0answers
927 views

WordPress isn't sending welcome email with the password reset

So I have been debugging the code: $message = sprintf(__('Username: %s'), $user->user_login) . "\r\n\r\n"; $message .= __('To set your password, visit the following address:') . "\r\n\r\n"; $...
1
vote
1answer
3k views

How can I get users email (and additional data) from the rest API?

How can I get the email adress from the users by using the REST API? I'm authenticating with nonce, and it seems to be working since I can do POST requests and change stuff. Do I have to add something ...
1
vote
1answer
2k views

Correctly configure SPF/DMARC record to work with WordPress

Backstory: I'm currently using WPEngine as my hosting provider, gsuite to host email and aweber for my email lists. Aweber advises me to create an spf record to reduce the potential for being seen as ...
0
votes
1answer
67 views

When admin approves a registered user, I don't want to send a notification email to users

When admin approves/unapproves a user, WordPress automatically sends an email about the change. Here I want to PREVENT it, I DON'T want to send these emails, is there any snippet to add in functions....
0
votes
1answer
274 views

WordPress: Add custom add_filter for custom functions

I am coping with the scenario where I need to filter content of my custom function. My function is used for sending emails but I need to filter it just like wp_mail hook do. Here is my function: ...
1
vote
1answer
76 views

When admin changes a password for a registered user, I don't want to send a password change email to users

I need to change/generate passwords for the registered users, but should not send an email to them regarding this. Admin will tell the password to them later. these members are registered on the old ...
0
votes
1answer
779 views

Wordpress does not send email confirmation to newly registered users

This issue came to my notice when i saw new users trying to reset their password, when I asked them why they're doing this, they told me no email was sent to them after registering on site. My ...
0
votes
0answers
14 views

Change the WordPress from address [duplicate]

I've taken over a site, and have found the from address for the emails (eg password reminders) are coming from the wrong address. How can I change the from address to the correct email? The ...
1
vote
1answer
772 views

Woocommerce HTML email option unavailable

I am attempting to create HTML emails in woocommerce. I currently only have the plain text email option available. I have added the following to functions.php on my theme: function ...
1
vote
0answers
26 views

Reply By Email to comment notifications

This might be a somewhat broad question, but I'll try to keep it as specific as possible. I need to implement two specific pieces of functionality on my WordPress site: Allow users to subscribe to ...
-1
votes
1answer
2k views

Send Processing Order Email from custom payment plugin

All payment methods are sending email to admin and customer after completed order. I have custom payment method via plugin with a bank, that is on success returning empty cart, new order in list and ...
0
votes
0answers
62 views

Emails sent from local wp webserver are beeing rejected from Siren?

This is the error email I receive after wp is sending an email: This is the mail system at host mees-MacBook-Pro.local. I'm sorry to have to inform you that your message could not be ...
2
votes
1answer
370 views

Easy Digital Downloads (EDD) - Purchase Receipt emails couldn't be logged

I'm trying to log the purchase receipt email sent out by the EDD plugin, in the database. But I'm unable to do so. The custom plugin that logs emails is hooked on to wp_loaded hook and filters all ...
1
vote
1answer
2k views

Should I use wp_mail or PHP's mail? [duplicate]

I have an email system that I am making in a WordPress plugin to send the emails with this code: include(PLUGIN_DIR.'config/class_phpmailer.php'); $email = new PHPMailer(); $email->From = ...
0
votes
2answers
76 views

how to email username and password to admin of new registration

How can I send username and password of new registration to admin using email.
0
votes
1answer
1k views

WooCommerce - Email admin with new user details

I am trying to send a custom email to the admin account when any user registers through WooCommerce. I have managed to get it to send the username ($user_login) but have been unsuccessful in managing ...
3
votes
2answers
1k views

How to add usermeta to “Notice of Email Change” email message

Hoping someone can help. I am trying to change the "Notice of Email Change" text within the email you receive when updating an email address. Here is what I have so far add_filter( '...
-1
votes
1answer
340 views

Manual Woocommerce Complete order Emails

How can I send the manual order complete emails to customer menually even after the Order complete emails are turned off in woocommerce>settings? I turned it off because I don't wanna let customer ...
0
votes
1answer
860 views

How to pass variables to a function argument using add_action [duplicate]

I have a test.php plugin file inside my plugin/ folder and I am trying to send an email from this plugin. I have a code that looks like this currently in my plugin. add_action('init', '...
0
votes
1answer
422 views

Check if “Send the new user an email about their account” is ticked

I am trying to over-ride the wp_new_user_notification() function but I am having issues checking if the user has been approved or if "Send the new user an email about their account" is checked. The ...
1
vote
1answer
2k views

Contact form sender email

I've spent huge amount of hours on Google and can't find the solution. I am using Wordpress and I want to find some plugin or any other solution which can do the following: When user sends contact ...
0
votes
1answer
285 views

How can disable wordpress emails notifications?

How can disable WordPress emails notifications? Your email change. New user registration email. Password change email. I found many solutions but it's too old.
2
votes
1answer
10k views

Send activation email to user after signup [duplicate]

I would like to send an email to all users immediately after they signup that requires them to click a link inside that email to "activate" their email address. Ideally each user account would have ...
0
votes
1answer
28 views

Send Bulk Email without them going to spam

I am trying to find a way so that I wont need to pay to MailChimp or any of these companies for my 6000+ users, I want to send them mails twice a month, so thats more than 12000 mails per month. Can I ...
0
votes
1answer
74 views

confirmation email is send from my local host registration of a user but mail will not display in there email account?

I am creating a forums for discussion website in this i used bbpress registration login page or signup but problem is that the mail confirmation is display by filling all detail of a user but the ...
0
votes
2answers
779 views

sending different email notification while registration based on user role

I have a website with two user role named “A” and “B” when anyone doing registration with "A" then i want to send a welcome email and when with “B” wanna send different welcome email, is it possible? ...
1
vote
1answer
145 views

Trigger WordPress Actions from Email?

I have built a sort of marketplace platform based on WordPress and I would like to build a few email-related functionalities to keep the platform easier to use and make it cleaner. Examples of this ...
1
vote
1answer
1k views

Adding extra email address who receives email like admin - woocommerce

Is there any way to add a new email address along with admin email who receives same email as the admin.like : on placing an order admin receives 'NEW ORDER RECEIVED' but customers receives 'THANKS ...
0
votes
2answers
435 views

Generate email on meta value update

I've implemented some meta fields for users like mobile number, address. It can be updated by user as well as admin, I wan't to trigger an email to user and admin stating about the updated field value ...
0
votes
1answer
28 views

Post by Email - Shortcode for Language? [closed]

I really like the idea of being able to publish new blog posts through an easy email. However i'm missing one feature, or i haven't been able to find it. Is it possible to define a language of the ...
0
votes
1answer
94 views

How can I send an email 24 hours after first email?

I have an interesting question from a client, they want the ability to automatically send out an email 24 hours after the first email has been received. The idea is we have a guide on our website ...
0
votes
2answers
134 views

Sending new registration meta values to admin by email

I've created a custom registration form which accepts extra fields like mobile number, address etc and stored into user meta values. This is working fine, now I have to add a functionality of sending ...
-1
votes
1answer
1k views

Conditional email recipient based off Shipping Method [closed]

Basically i'm trying to get my function to change the New Order Recipient conditionally based off the Shipping method (i.e. Local Pickup Option #1 and #2) The problem is my function is my ifstatement....
3
votes
2answers
7k views

How can 'admin_email' be set?

Where is the value for admin_email set? $email = get_option('admin_email'); How can I change it?
0
votes
1answer
22 views

email explanation for newbies

I am new to word press, and I cannot find where the admin emails are sent. For example, if I were to send an email from my gmail account to the admin email, where would I check it? Can I send an email ...
1
vote
1answer
664 views

Emails marked as spam because it's contain via box4231.bluehost.com

Any notification emails sent automatic is marked as spam and it's because contain via box4231.bluehost.com, Bluehost support tells me that this problem from wordpress. How can solve ?
1
vote
1answer
3k views

woocommerce_email_attachments filter arguments [closed]

I’m trying to generate PDF attachment for new order emails in WooCommerce and this is what I found: add_filter('woocommerce_email_attachments', 'attach_terms_conditions_pdf_to_email'); function ...
2
votes
0answers
15 views

Subscribe from another website to the same list [closed]

I am using Email Subscribers and newsletters 1.0 plugin in wordpress 4.7.2 I created a daughter website and wanted to subscribe to the same subscribe list. How will this be done? I could not find ...
2
votes
0answers
252 views

WooCommerce email text based on category && shipping zone && payment method [closed]

I want to display a text in the emails sent to the customer after they place an order based on three variables: product category, shipping zone and payment method. So for example, I have Category A ...
2
votes
0answers
961 views

Trigger Woocommerce New User Email

I wrote a custom plugin that handles login and registration for my WordPress Woocommerce site. When a user registers via my custom form handler I would like to trigger Woocommerce to send the new ...
-1
votes
1answer
158 views

Send email notification when meet the condition

I have two post type named ‘post-type-one’ and ‘post-type-two.' Both post type has exact similar category a,b,c,d,e I want when a post publish under category ‘a’ on ‘post-type-one' send a email ...
1
vote
2answers
917 views

How to retrieve the sender email with wp_mail()?

I Have this simple following code : <?php //if "email" variable is filled out, send email if (isset($_POST['email'])) { //Email information $to = get_option( 'admin_email' ); $headers ...
0
votes
3answers
232 views

Form tries to download a file on submit

So I'm developing this plugin to take the input of a form, puts it in a .CSV document then send the .CSV document over via email. And all this works fine. However, on pressing submit, a rouge file ...
0
votes
2answers
1k views

WordPress doesn't send SMTP email even by phpmailer hook

I used this code in my child theme(child theme functions.php): add_action( 'phpmailer_init', 'wpse8170_phpmailer_init',0 ); function wpse8170_phpmailer_init( PHPMailer $phpmailer ) { $...
0
votes
1answer
42 views

Wordpress mails being sent from @locahost and being rejected

I'm having a weird issue with the email from name being set as @localhost when I send mails from a site. Im running on Nginx and PHP7. Its consequently being rejected so I get a 500 on user ...
-1
votes
1answer
2k views

Output fields manually in Woocommerce email templates

I want to build a custom email template for the emails that are sent to customers when an order is placed. I will refer to customer-processing-order.php file. In it, there are two actions that display ...
1
vote
0answers
32 views

Share pdf with a friend via email [closed]

I'm trying to allow the site visitor to send a PDF to a friend via a button click from the Wordpress page. The problem is that the PDF should be automatically uploaded (which is a different PDF for ...
0
votes
1answer
305 views

What emails does wordpress send?

In order to fully customize the experience I want to be in charge of all outgoing default emails. I can't find a complete list of when wp sends what email to whom.
0
votes
1answer
876 views

Whitelist email sent by Wordpress

What need users to put in the whitelist of their mailbox to prevent WP generated mails to end up in spam? Say the server use something like that: wp_mail( 'someone@example.net', 'The subject', 'The ...
1
vote
1answer
100 views

How to change the text of automatic E-Mails e.g. after changing your password? (German localization)

How can I change the text of E-Mails that are sent automatically after creating an account/changing your password etc.? I am using Wordpress in german. So far I found the de_DE.mo and de_DE.po files ...

1
3 4
5
6 7
14