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
8 views

Regular price of product in woocommerce mail [closed]

I want original price of product to show in email of woocommerce I have tried and almost there not finding correct code <?php /** * Email Order Items * * This template can be overridden by ...
0
votes
0answers
16 views

display item price before quantity (not item total) in woocommerce customer emails

I am new to woocommerce and php. I want a product display price of 1 unit to show on woocommerce emails. Right now There is Product name, Quantity, And Price tab. Price is not actual amount it is ...
0
votes
1answer
17 views

Send email with Content-Type text/plain

I have problem with emails in Wordpress. I have to send message with Content-Type is text/plain, but in Wordpress default Content-Type is text/html. That change chars like & to &amp;. How can ...
0
votes
0answers
17 views

Sudden email notifications for new users and password changes

I suddenly started getting new user email notifications and password change emails this past weekend. I have never received them before and it looks like the users and password changes are legit so I ...
0
votes
1answer
20 views

Remove wpautop from retrieve_password_message

I have been struggling to remove the wpautop filter from the retrieve_password_message function. I created a new email message and want to keep my <br>s instead of having automatic paragraphs ...
1
vote
1answer
20 views

How to add a user custom field into Woocommerce emails?

How do you add a user custom field into Woocommerce emails? This is my code so far in functions.php add_filter( 'woocommerce_email_order_meta_fields', 'custom_woocommerce_email_order_meta_fields', 10, ...
0
votes
1answer
14 views

Change email address change notice from WordPress

I need to change the default text of the email which is sent when i change a subscribers email. The text: Hi XYZ, This notice confirms that your email address on CHL Club Hub was changed to example@...
0
votes
0answers
16 views

How to use mobile number as username in WooCommerce?

I need to use a mobile number as a username, enter a password, and create an account in WooCommerce. Is there any possibility for doing this?
2
votes
0answers
21 views

Storing Email Account Passwords for SMTP Mailing for a WordPress Plugin

I am currently converting a client booking system I created into a WordPress plugin. It uses the PHPMailer library to send emails. I am using SMTP security to send the emails and thus need the email ...
0
votes
1answer
15 views

Would like to use hook or filters to customize email templates

I hired a contractor to help me with my site a few years ago when I didn't have the coding experience that I do today. The contractor ended up making new templates for almost every email, and they are ...
0
votes
0answers
17 views

Use [from-email] from the contact form as sender's email

Is there any way we can use from email as senders email (e.g. [from-email]) which he enters in the form field? I'm currently using contact form 7 and looks like it won't support it at the moment. Is ...
0
votes
0answers
30 views

WordPress won't let me change my administration email address

I'm trying to set my domain name email (something like username@mywebiste.com) to be the one that my website users can send messages to when they click on "send messages" on my website. I ...
0
votes
1answer
64 views

wp_mail send multiple emails in a loop

I'm very confused with wp_mail(). Here my code. function email_notification_for_admin_and_customer( $order_data ) { $subject_email = 'Subject LOREM IPSUM'; $customer_email = 'Hi Customer, ...
0
votes
0answers
7 views

Add email notification in my custom payment plugin for woocommerce

Hi how can I add email notification in my custom payment plugin for woocommerce? I just want simple notification emai send to admin & customer eveytime new order created like just "You have an ...
0
votes
0answers
35 views

How to change a wordress plugin php code in my child's functions.php file?

I'm trying to edit EmailOctopus plugin, this is part of their "form.php" code: <?php if (!defined('ABSPATH')) { die('No direct access.'); } /** * Filter: emailoctopus_class_names * * Add ...
1
vote
2answers
56 views

Setting up 2 SMTP accounts: 1 for wordpress and 1 for woocommerce

I wish to set up 2 smtp accounts on my wordpress site: 1 for woocommerce orders 1 for all other forms i have the following code, but i am having trouble filtering the woocommmerce order. I am ...
0
votes
1answer
15 views

How to add (and change the font of) the short product description to order page and customer's new order e-mail [closed]

I'd like to add the short product description to the e-mail that is sent to the customer when a new order is confirmed. I've added the following via a code snippets plug-in: add_filter( '...
0
votes
0answers
7 views

I would like to add an email confirmation to my user registration page on my website

Here is the code for the registration form. Please show me what to ADD in order for the user to confirm they email before being registered to the website. SitePoint Create An Account ...
0
votes
0answers
12 views

Need help modifying the New Order Received email in Woocommerce

I've looked around, and not been able to find the info I need. I want to change the default email layout significantly Using help from a nice infographic on tyche softwares website (link) I have ...
0
votes
0answers
10 views

E-mail form problem in Wordpress : the form div disappear

I'm new to this forum and desesperate about getting some help. I have a problem I don't understand in Wordpress. I have an e-mail form on my website, but when I fill this form I'm am redirected to "...
1
vote
0answers
44 views

action-scheduler vs wp-background-processing

I am trying to create a user registration form that sends OTP over Email and SMS and display an OTP screen after the whole process completes. How can I make the send_mail and send_sms to be in the ...
0
votes
1answer
121 views

Woocommerce checkout page - custom field checkbox value into email

I've added a checkbox to the checkout page: add_action('woocommerce_after_order_notes', 'client_already_field'); function client_already_field( $checkout ) { echo '<div id="client-already-...
0
votes
1answer
24 views

Send admin an email when a user's search has no results

I'm new to WordPress. What is the easiest way to trigger an email to admin when a user's search has no results.
0
votes
0answers
11 views

How can I add the address fields labels of the checkout page in the order email?

I need to make the address to be clear in the order email in woocommerce, How can I add the fields label for each field in the order email? Thanks,
1
vote
0answers
8 views

Get sent emails without email logs

Is there a way to get the emails sent by my website even without email log?
1
vote
0answers
106 views

Wordpress reset password email is not working - woocommerce and checkmail does work

I have a bit of an odd issue on our Wordpress site that is currently under development on a subdomain of our primary domain. It is a basic Wordpress with Woocommerce and a couple other plugins for ...
0
votes
0answers
12 views

Wpfroms does not send email even with SMTP

Wpforms is not sending notifications. I have configures WP Mail SMTP with an email account on my work domain. The test email gets delivered fine. If I do a "Lost Password" request, the password-reset ...
0
votes
0answers
29 views

How to add Cc and Bcc to emails

I am using WP Mail SMTP to connect my SMTP and now I need to add Cc and Bcc to emails, I have no clue how or where to add them. If anyone help it would be highly appreciated.
1
vote
0answers
12 views

How to send an automated email to the customers when product is added woocommerce

I want to send email to the subscribers or customers when the new product is added to my woo commerce store The email must have its price and any custom offer I have tried mailpoet plugin it allows ...
0
votes
0answers
49 views

Send outlook invite from wordpress

I want to send an email with an outlook calendar invite when user presses a button. So that the user will get notified on the day of the event. I've done some research on this but so far I've not ...
0
votes
0answers
16 views

WooCommerce 2.5.5: Send extra email when product from specific category has been ordered

I'd like it so that when a customer orders a product from a specific category (in this instance, a voucher, which will reside in a Voucher category, and Emailable category), they receive an extra ...
0
votes
0answers
17 views

woocommerce send email to custom field

I have created an email custom field in a multistep checkout page, cause the customer will fill up the checkout always as guest (no payment). How can I setup woocommerce to send confirmation to the ...
0
votes
0answers
13 views

MailChimp : Send a mail on newly published custom post

MailChimp: Send a mail on newly published custom post I have website where I have configured an email as per automation. I want to send an immediate mail when a new post published in custom post type ...
0
votes
1answer
34 views

What is the best way to send out thousands of emails from a WordPress site? [closed]

We are currently using SendGrid API to send transactional emails. This is very slow and it freezes the process. How do you send out 5000+ emails on a WordPress site? We are currently using SendGrid ...
0
votes
1answer
103 views

Wordpress email could not be sent

I have faced an error while forgetting email password in WordPress link : /wp-login.php?action=lostpassword After submitting email faced below errors: ERROR: The email could not be sent. Your site ...
0
votes
1answer
54 views

How to send Woocommerce Customer Details (Name, Email and Phone Number) to Admin upon signup

Use case: I want to send an email notification to the admin or the sales staff whenever someone signup as customer on my Woocommerce Shop. Details I want to include: Name, Phone Number, Email Address....
0
votes
1answer
49 views

How to change lost password email text using custom plugin wordpress?

In wordpress, i want to add one extra parameter(ABC) in lost password link with key (lost password email text). I have added many hooks. add_action( 'password_reset', 'password_reset_hook', 10, 2 ); ...
0
votes
0answers
25 views

How can I build my own job posting plugin?

I'm looking for a way to create my own job posting plugin where someone can add, remove or edit jobs on the back-end of a Wordpress-website. I also need the ability to store the entries somewhere in ...
0
votes
0answers
25 views

Using admin email in billing address

My payment processor sends payment confirmation email to customers with my legal entity's name on it. Problem is my legal entity's name is different from the domain name so it creates confusion after ...
0
votes
0answers
21 views

WP site is sending notifications to an email that is not saved anywhere in the website

Whenever a new comment is submitted, or admin email is changed, or any action that by the default triggers the email notification occurs, my WP site try to send that notification to another email ...
1
vote
3answers
2k views

How to get current post ID in Contact Form 7 wpcf7_before_send_mail hook action

I'm trying to handle the CF7 data before send and update the current post custom field using ACF function but I'm unable to get the current post ID the form is send from. I've also tried getting the ...
1
vote
0answers
149 views

Get subscribers via REST API and send post notification

I use this code below to send email after post send to draft. But after this I need also send emails for subscribers. I have tried to use newsletter plugin to get subscribers via REST API. But is ...
0
votes
1answer
37 views

Can't change headers / From for wp_mail()

i tried nearly anything to change the From / Reply-to name for the wp_mail() function. Here is my code: $headers = "From: \"FROM NAME\" <from-mail@from.com>\n"; $headers .= "Return-Path: <...
1
vote
1answer
112 views

Suddenly all emails in User have [email protected]

I don't know what happened but suddenly all emails under "User" are changed to [email protected] - see the below picture. Of course, my first thought was a plugin problem, but when I disable ALL ...
2
votes
1answer
48 views

Must I change the admin user email address while changing the general email address?

I changed the email at Settings > General from me@gmail.com to info@mysite.com. It seems like the email didn't change, although I received the confirmation email to change. I'm still receiving emails ...
1
vote
1answer
800 views

Send a custom WooCommerce email when custom order change [closed]

I am facing a problem to send a custom email when order status changes. I created a custom WooCommerce email 'WC_Ready_To_Ship_`Email' and a custom WooCommerce order 'wc-ready-to-ship'. What I am ...
1
vote
1answer
120 views

Custom Admin Email Subject for Woocommerce (3.8.0) Orders

I would like the Email Subject line for the admin email to change based on the product category. I've looked at ALL similar stackoverflow questions and NONE of them work for woocommerece 3.8.0 (see ...
0
votes
0answers
17 views

Email post to submitter

I have a client that needs a front-facing form that can create a post (custom post type), populate a bunch of custom fields (preferably ACF/ACF Pro), and also send a copy of the submitted information ...
0
votes
0answers
32 views

How do I customize my default response E-Mail from Wordpress (Elementor forms used)?

TIA for helping out. I am building a website for my business, using Elementor on Wordpress. It has a contact form on Home page. When a user enters their email and details, I want to send a auto-...
0
votes
2answers
93 views

How to change this simple code so that it sends the email notification after payment in WooCommerce?

How to change this code so that it sends the email notification after successfully payment in WooCommerce? add_action( 'woocommerce_applied_coupon', 'custom_email_on_applied_coupon', 10, 1 ); ...

1
2 3 4 5
14