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
1answer
501 views

Duplicate notifications for new user registration

I am trying to figure out why new user registrations are receiving duplicate notification emails. They arrive at the exact same time but from different addresses, one is from the admin owner (myself) ...
-1
votes
0answers
5 views

Regular price of product in woocommerce pdf

I am using WooCommerce PDF Invoices plugin on my site. Here in this, I am getting quantity and subtotal in pdf I want the regular price of a product. Let's suppose the product actual price is $20 and ...
-1
votes
0answers
10 views

How to send automatic emails in wordpress?

i want a system to send product specifications to people who wanted.so basically if they email,it will automatically send the specification attachment.it will be different for each product. Thank you
0
votes
1answer
761 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
22 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
18 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 &. How can ...
1
vote
1answer
807 views

Add custom order meta to Order Completed email

On my order complete page I can do echo get_post_meta( $order->get_id(), 'wpcf-purchase-student', true ); What would the equivalent be in the customer-order-completed.php email template?
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 ...
1
vote
1answer
25 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
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
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 ...
0
votes
1answer
550 views

How to stop WordPress from sending mails?

I got a big problem with my wordpress instance. I have a directory plugin (sabai) and since this morning wordpress is sending a lot mails to my customers. Since now I don´t know how to fix it, so I ...
0
votes
2answers
3k views

User Registration - no Email required

We are looking to modify the registration so that no email is required (yes we know this will be an issue). We are using the Registration Plus Redux plugin since it has options we are using currently. ...
0
votes
1answer
591 views

Custom user registration fields in user_register hook

I am trying to send an email to administrator with user_register action hook and wp_mail() function when a new user registers. I created some custom registration fields and I want send them via e-mail,...
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?
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
2answers
764 views

Send email to author of post on post submission

I am using WordPress directory theme. I want to send an email to the author of the post whenever he publishes a new post. Currently, email is just sent to the administrator only. I didn't find any ...
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
19 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
1k views

wp_mail() not sending email in multisite subdomain

I have a multisite enabled WordPress configuration. My main domain is like http://www.example.com, with several subdomains like http://test1.example.com, http://test2.example.com, and so on. I have ...
0
votes
1answer
65 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, ...
4
votes
4answers
10k views

How to change email notification for comments

How do you change the user that gets the notification email announcement for new comments and comment moderation? WordPress sends the notices to the admin user. My client is the editor of the site. I ...
0
votes
1answer
1k views

Send email daily using `wp_mail`

I want to send email daily 12:54pm using wp_mail function, but it send mail continuously. Plz suggest what is wrong? <?php $timeg = date( 'g:ia', current_time( 'timestamp', 0 )); $timem = '12:...
2
votes
3answers
3k views

Preventing WooCommerce email sending only on particular conditions

By importing orders from Amazon in WooCommerce and creating WooCommerce orders programmatically, emails for new order or order status changing are sent. Is it possible to prevent this email sending ...
5
votes
6answers
6k views

prevent users from changing their email address

does anybody know how to hook or filter the user-edit.php file so that an user's email address is disabled from editing akin to how the username is disabled ..??.. i can edit the core file (gasp) and ...
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 ...
1
vote
1answer
1k 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 ...
1
vote
2answers
959 views

How to change the Customer new account email

I would like to change the "Customer new account" email. In this line: ' . esc_html( $user_login ) . '' ); ?> I would like to change the parameter %2$s, instead of showing the username I would like ...
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
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 ...
1
vote
1answer
794 views

woocommerce email template detect email recipient

in woocommerce email template is it possible to detect email recipient example if email recipient is admin or email email@domain.com or if recipient is customer tried if is_admin if is shop ...
2
votes
2answers
1k views

Processing a subscription form with POST method?

I am trying to integrate a ‘subscribe to newsletter’ feature on my wordpress blog Users just need to enter their name and email address, hit subscribe. This is then supposed to send me an email and I ...
0
votes
1answer
754 views

Using Custom Javascript and pHp to send email to myself when a user clicks on an input button but only works on Chrome, IE, and Micorosft Edge

So I am using jQuery and pHp together to send an email to myself whenever a user clicks on the update button of their Ultimate Member form. However, the email only sends when a user is using Chrome, ...
1
vote
2answers
57 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 ...
1
vote
1answer
2k views

Send email to user that his post has been rejected

I am searching for a solution for the following problem: I am using WP User Frontend, so that users can create posts in the frontend. After saving, the admin needs to review the post, and the ...
0
votes
2answers
1k views

User email verification without a plugin, is it possible?

I have found a really great tutorial about creating a plugin that verifies email for new users: Email verification for new users Is there any possibility to do this directly with core editing and ...
0
votes
1answer
1k views

How to send email with wp_mail() with from email taken from contact form instead of the host?

I have set up SMTL like this, add_action( "phpmailer_init", "send_smtp_email" ); function send_smtp_email( $phpmailer ) { ini_set("sendmail_from","xyz@gmail.com"); ini_set("sendmail_path","xyz@gmail....
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
1answer
592 views

how to add custom reviews button in woocommerce order complete generated mail

this is possible in woocommerce order complete generated mail...? i m Adding a review button in order complete generated mail for review about product ..it means after checkout process then send to ...
17
votes
7answers
28k views

Disable email notification after change of password

I want to disable the emailnotification if a user or an admin changes the password of a user. After some Googleling I came to find that I need to create a plugin and overwrite the ...
9
votes
5answers
10k 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?
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
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
2answers
726 views

wp_mail() not sending emails with ajax

I am using wp_mail() to send email using ajax. My mail code is as follow. add_action( 'wp_ajax_send_confirmation_email', 'wpse_sendmail' ); add_action( 'wp_ajax_nopriv_send_confirmation_email', '...
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 "...
0
votes
2answers
2k views

Custom Welcome Email | WordPress

I want to replace the following message when creating a user in the dashboard as an administrator: Username: xxx To set your password, visit the following address: https://development.xxx.com/wp-...
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 ...
-1
votes
2answers
2k views

How to override email text New Customer Order?

Im trying to override the admin email template text "New customer order" to "New order" in function.php, but i can not finde any info on google. Can somebody please give me a hint! :)

1
2 3 4 5
14