Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
1answer
1k views

Trouble using antispambot()

I have a custom field in a theme that contains an email address and was pleased to find antispambot() <p><a href="mailto:<?php antispambot(the_field('queries_e-mail')); ?>"> <?...
2
votes
1answer
1k views

How do I successfully create a hook for an email override?

I'm creating an online apartment rental application using Visual Form Builder Pro. I need to have completed forms go to certain managers based on the property selection. Once a user selects a ...
2
votes
1answer
708 views

Disable WP notifications for commenting on own posts

How/where can I disable WP email notifications for commenting on own posts? I want to do this globally for all users on the site, not only per-user through WP admin. Are there any hooks which I can ...
2
votes
2answers
742 views

How do I allow users to follow a post and then allow admins to email all users who have followed that post?

I'm looking to build out the following functionality, but I'm having trouble finding any help on it: user follows a post > user's email is pulled into an admin page and associated with said post > ...
2
votes
1answer
2k views

Buddypress - Send New User Activation Link to Admin [closed]

How do I send the new user activation link to my own email address instead of the user? Is there a simple function I can use to switch things out? function bp_core_activation_signup_user_notification(...
2
votes
1answer
85 views

Storing a password for use with a Wordpress plugin

I'm writing my first Wordpress plugin which will be a newsletter-type plugin. It'll continuously add members who fill out a form to a database table that keeps track of the following: cell ID Time ...
2
votes
2answers
5k views

Is there an email subscription plugin which allows user to select category? [closed]

I would like users to be able to choose which categories they would like to receive email notifications about when new posts are added. Is there an exsisting plug-in with this functionality. Please ...
2
votes
1answer
3k views

Create/Edit/Check cPanel Email Accounts from Wordpress [closed]

I need a plugin (or other) recommendation to allow users to create email accounts, as well as change their passwords and check their email using WordPress. I have a multi-author baseball website and ...
2
votes
2answers
168 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 ...
2
votes
3answers
10k views

General Setting Allow Multiple Email Notification

WordPress Version: WordPress 3.2.1 Settings -> General http://www.example.org/wp-admin/options-general.php I would like to have multiple email address in the Email Address textbox. I tried abc@abc....
2
votes
2answers
571 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( '...
2
votes
1answer
368 views

WooCommerce: display text instead of raw checkbox value email

I have successfully setup some custom fields on checkout and it all works fine. I have a checkbox as one of the fields, my_gift_wrap_checkbox, and I managed to write code to display text in the ...
2
votes
1answer
4k views

Editing Header Titles of each details in woocommerce Order Email [closed]

I'm using flatsome theme, woocommerce plugin. On my thank you page I get the bank details, order details and customer details etc. but on customer order email, header TITLES of those details are ...
2
votes
1answer
750 views

apostrophe in email name

I'm trying to send an invitation to someone to become a user of a private Wordpress blog, but WP apparently doesn't accept an apostrophe appearing in the name in the email address as valid. For ...
2
votes
1answer
6k views

Can I configure WordPress to use postfix without a plugin?

I am developing a WordPress site on a vagrant box and have installed postfix in order to test email notifications. At this guest OS (Ubuntu) level, I am able to end a test email: echo "Test mail ...
2
votes
1answer
726 views

A very basic question - how to properly use wp_mail() in a plugin

I have been trying for a while now to use wp_mail to send an email from within my plugin. The code I'm using is as follows. function add_page_content_Send_Feed(){ echo "<h2>Send your feed ...
2
votes
1answer
1k views

Send email daily from WordPress site

I customized a calendar plugin which shows today's birthdays and current month's list of wedding anniversaries in the home page of the site. I wrote a code in that plugin's displaying page using ...
2
votes
3answers
306 views

Wordpress plugin for mail subscriptions [closed]

I'm working on a news site built with Wordpress, and I now want to add a page for subscriptions. This will be paid subscriptions for the printed paper that people can get delivered to their home. My ...
2
votes
1answer
165 views

Is there a plugin to record querystring parameters for a page (for customer tracking)? [closed]

I am creating an information landing page that I intend to cold email out to a bunch of potential clients. I need to track customers that not only open the email (I know how to do that) but track ...
2
votes
1answer
1k views

Batch Emails with wp_mail()

I've searched all over Google with no luck. Can someone point me in the right direction for learning how to send out batch emails with the wp_mail() function?
2
votes
0answers
47 views

Email notification after registration in Wordpress

I would like the site's administrator doesn't receive a new user's registration email when the administrator himself uses the admin interface to add a user. How can I limit sending a email only when ...
2
votes
0answers
21 views

Contact Form 7 - Delay auto responds

I'm looking for a way to delay the auto response (mail_2) from Contact Form 7 for 2 days. But I have no clue how to tackle it. I hope you have an idea. I'm using the following code in functions.php ...
2
votes
1answer
160 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 ...
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
217 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
491 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 ...
2
votes
2answers
527 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 ...
2
votes
1answer
404 views

other shortcodes in Contact form 7 MAILS [closed]

How to use other shortcodes inside Contact form 7- forms? indeed explains how to use other shortcodes inside Contact Form 7 forms. But that doesn't make them usable in the mails that Contact Form 7 ...
2
votes
2answers
288 views

Obfuscating Email Addresses in Form Fields

I'm writing a WP Theme where registered users can email post authors sending them en email from the post's page itself. So I created a contact form in which I get the user and author infos and emails ...
2
votes
2answers
2k views

Send email to Admin when user/member updates specific user/member data

I have previously asked about How to automatically send email to Admin when a user/member changes his/hers profile data. And got some very good answers. Send automatic mail to Admin when user/member ...
1
vote
2answers
86 views

Generate an Email address from that of the Post Author

In a theme I'm developing I would like to have a button with a mailto: href so that it when a user clicks on it, it generates the email address dependent on the post author. I've managed to get it so ...
1
vote
1answer
2k views

Wordpress sending emails continuously. How to stop it?

Recently I'm going to test wp_mail function. I wrote below code into a plugin file: wp_mail( 'me@example.net', 'The subject', 'The message' ); and I entered my email instead of me@example.net. Now ...
1
vote
2answers
535 views

Locked out of my own blog and password reset not working

I have my own Wordpress installation for my infrequently updated blog. I have a habit of forgetting my password so have to request a new one and reset it every two to three months. I've done it ...
1
vote
1answer
140 views

WooCommerce: Email Notifications

How can I append text to the WooCommerce email messages without overriding the existing templates. Ideally I want to add different messages to each email, without overriding the default templates. I'...
1
vote
1answer
11k views

Dynamically send pdf attached to post with contact form 7 [closed]

I'm trying to send a dynamic pdf that is attached to a post via the plugin contact form 7. I assume I need to use the hook: add_action('wpcf7_before_send_mail','send_pdf'); As it's been the hook I'...
1
vote
2answers
7k views

wp_mail attachment not working

Hello I am trying to send mail with some attachment using with wordpress wp_mail functionality but I am not getting attachment in my mailbox. Can you please check my bellow code and guide me where I ...
1
vote
1answer
8k views

Change Password notification text on mail

I am want to re-ride core function wp_update_user() In this function there is text This notice confirms that your password was changed on ###SITENAME###. that i want replace with some other word. I ...
1
vote
5answers
470 views

Sending an email when a CPT is saved/updated (NOT when it's created)

I have a file field in my CPT. When an admin uploads a file into this field, I need to generate an email. Is there a simple way to do this, or do I have to create a plugin?
1
vote
3answers
190 views

Different Webhost and using Google Mail server: Is there a better way than SMTP?

Currently my situation is the following: I am using Wordpress which handles a few things mail related: Registration forms that send a notification and contact form that send a message. However, ...
1
vote
2answers
7k views

wp_mail recipient array not sending?

I am using wp_mail to send an email to multiple recipients. my mail function looks like this: wp_mail($group_emails, 'my subject', 'my message', $headers); $group_emails is an array of email ...
1
vote
1answer
255 views

Post-by-mail similar to WordPress.com or Posterous?

A standard WordPress installation has very basic support for posting via e-mail. Is there a plugin that gives the same functionality as WordPress.com (especially attachment handling)? My client is in ...
1
vote
2answers
3k views

How to add line breaks to $email['body'] when using auto_core_update_email hook

I am using the auto_core_update_email hook to modify the auto update email sent by WordPress. However I cannot figure out how to add line breaks to the email body. Here's my code: function ...
1
vote
1answer
2k 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
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 ...
1
vote
1answer
76 views

Email 'from address' has a www in it

When sending emails from my WordPress install, my 'from address' includes a www. Currently, it's sending email from web@www.domain.com when what I want is web@domain.com. However, if I change the ...
1
vote
1answer
3k views

Disable Admin account being emailed for comment notification

I am using the code below to send Comment notification and moderation emails to multiple email addresses for a client site. I have a custom admin panel for this particular site. In my admin panel I ...
1
vote
1answer
3k views

Setting Custom Email From name and email address in wp_email()

I am writing a custom plugin that sends an email to users from admin/front end section. I am using wp_email() to send emails and emails are being sent fine. I am testing this on a plain WP ...
1
vote
1answer
1k 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.
1
vote
2answers
4k views

How to Change WooCommerce new order email?

I'm new to WooCommerce and I have had a request to make a minor change to the new order email which I have managed to find the template, but I am not sure which line I should change. At the moment ...
1
vote
1answer
4k views

WooCommerce New customer email Hook? [closed]

I've created a sign up page for new customers to create an account. This is working fine but I would like to hook into WooCommerce customer_new_account inside WooCommerce/Classes/Emails/class-wc-...