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
1
vote
1answer
442 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
25 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
56 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
165 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 ...
0
votes
1answer
1k 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
66 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
863 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 ...
2
votes
2answers
605 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
298 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
501 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
271 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
62 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.
1
vote
1answer
7k 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
26 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
33 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
444 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? ...
0
votes
1answer
110 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
338 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
177 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
24 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
53 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
101 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
1answer
5k 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
478 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
2k 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
221 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
522 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
104 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
609 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
162 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
918 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
35 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
1k 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
29 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
206 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
485 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
74 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 ...
0
votes
1answer
900 views

Function added to hook “new_to_publish” not executing - custom plugin

I was creating a custom plugin which was to send certain emails based on the content/category of a post, but whilst trying to do that, I ran into some problems just getting a basic email sent out. Am ...
1
vote
0answers
87 views

Disable email confirmation new register bbPress [closed]

I add an bbPress forum on my wordpress. Everything looks great, but got a problem with email confirmation. My wordpress doesnt have email sending configurate. I dont wan't any mail confirmation for ...
-2
votes
1answer
59 views

Send email once every 12 months to a particular user [closed]

I'd like to send an email (only one) to a specific user every 12 months after a given date. Would you please provide me with the PHP code that would allow me to specify the starting date and send the ...
6
votes
4answers
6k views

Missing URL in password reset email

From the wp admin login page I click to reset my password (not on the theme, on wp). I get the email but it contains no url to click. Plugins are disabled. What shoud I do?
0
votes
2answers
811 views

How can I automatically send an email with an excel file containing submissions for a form rather than an email per submission?

I recently took over web admin for a nonprofit organization and one of the things they would like changed with their site is to have multiple forms such as contact, volunteer, donations, more info, ...
0
votes
1answer
1k views

Sending email with wp_email and AJAX

New to WP and PHP: I'm trying to send an email with AJAX. My wp_mail is returning true and I'm receiving no errors on GoDaddy where I'm hosting, but the email is never actually received. Here's my ...
0
votes
1answer
269 views

WP Mail isn't sending user account messages, does send from plugins

I'm running WP 4.6.1 and can't seem to send out any user account related emails. Specifically, notify user their account is created (the option is checked when creating accounts in the admin) and ...
0
votes
1answer
68 views

Saved emails at dashboard

I want to know if it's possible to send an email through a form in the website and then we can check that email in the normal email service (like gmail, etc) and the wordpress' dashboard. Thanks