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
31 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
0answers
6 views

Added email notification in my custom payment plugin [closed]

Hi how can I add email notification in my custom payment plugin. Can give example code? Thank you
-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
1answer
738 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
733 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
47 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
974 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
14 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
566 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 ...
16
votes
7answers
26k 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
9k 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
940 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
5 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
661 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
vote
2answers
2k views

Mail function is not working

My mail function is not working. When I submit form it says mail sent. But not receiving. I tried echo if the mail sent. It is also working. What is the issue here? Anything with mail function ? <?...
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 ) { $...
1
vote
0answers
30 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
528 views

Get value from an input field and pass into update_meta_data as $meta_value

I am building a woocommerce site and I have some input fields the on the product page. one is for recipient email (its for a gift car). Everything works, and the recipient email is saved on the order, ...
1
vote
2answers
8k views

How to set up User email verification after Signup?

You know how all these websites send out links to their new users for them to verify their Email address? I'm trying to set up something like this but after some research I still haven't found a good ...
2
votes
2answers
299 views

Sanitizing post content for use in an email

I'm sending the content of a custom post type in a plain text email (it's to send competition entries to a panel of judges), so I need to make sure that $post->post_content is correctly sanitized ...
0
votes
1answer
46 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-...
1
vote
1answer
703 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
1answer
2k views

How to validate website field in contact form 7?

Is there any way to validate website field entered is right or wrong through Contact form 7? Please help me.
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,
4
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 ...
6
votes
6answers
28k views

User Without Email?

When creating a user in Wordpress an email address is required for that user. The website I'm working on requires that users remain anonymous (it's part of a research study) and I'd consider email to ...
0
votes
1answer
471 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
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
54 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
1answer
740 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
8 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
1answer
728 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
27 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.
2
votes
2answers
60 views

User invite email not delivered - related to subdomain?

I have a problem where, on a new install of WordPress, I want to add a new user, but the user is not receiving the email with the confirmation link. I've done some research and understand that this ...
4
votes
3answers
13k views

Create custom welcome email without a plugin

Is there a way to customize the email content and subject for the welcome and verification emails sent during the registration process for Wordpress? I'd like to hook or filter in without using a ...
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
2answers
1k views

How to disable automated E-Mail on PHP error/exception?

Since WordPress 5.2 there is an automated E-Mail on PHP exceptions. In some smaller projects I just upload the files for new extensions while developing - whenever an error occurs then, the site admin ...
0
votes
1answer
510 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
2k 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
0answers
26 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
2answers
739 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 ...
0
votes
0answers
15 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 ...

1
2 3 4 5
14