The tag has no usage guidance.

learn more… | top users | synonyms (1)

12
votes
4answers
12k views

changing notification emails from WordPress <wordpress>@mydomain.net to something else

How do I change notification emails address from WordPress @mydomain.net to something else. I want to do this because WordPress @mydomain.net ends up getting flagged as junk mail. Thanks Daniel
3
votes
1answer
2k views

Check if post is being published for the first time, or is an already published post being updated

I am building an add-on to an events module that checks for availability, since there wasn't a function for that in that module. Now that I have built the logic, there are three emails I will need to ...
33
votes
2answers
67k views

How to change the default registration email ? (plugin and/or non-plugin)

After a new user registration, WP sends out an email with the login / password, and a link to the login page. Is there a way to change this defaut email template? I'd also like to change the subject ...
10
votes
5answers
9k views

Alert Email when any Post or Page is Changed

Is there a way to have Wordpress email me whenever a Page or Post is Published?
12
votes
4answers
15k views

How to login with email only no username?

After searching for a couple of days and reading 2 year old threads I'm having difficulty finding a solution to the problem of having users login by email only. At first I was delighted to see ...
8
votes
1answer
9k views

How do I customise the new user welcome email

How can I customise the the new user welcome email ? I tried 'http://www.sean-barton.co.uk/wordpress-welcome-email-editor/' however it conflicts with some of the other plugins I need to use, Cimy ...
22
votes
5answers
15k views

Why won't wp_mail() let me set the From: header when plain old PHP mail() will?

When I use wp_mail( $to, $subject, $message, $headers ) (with values in place, of course), the email gets sent with a from name and email that isn't set anywhere I can find (not even in PHP or Apache ...
7
votes
2answers
23k views

What's the easiest way to setup SMTP settings programmatically?

Assume we have blank WP site and we want to setup SMTP settings programmatically in our plugin or theme. What's the easiest way to do it without changing core files?
10
votes
1answer
552 views

Do something after sending email

I want to do something after WordPress sent an email. For example, after sending "Reset Password" email using wp_mail() function.
3
votes
2answers
13k views

Adding a second email address to a completed order in WooCommerce [closed]

Before I ask this question, I know there is a (legitimate) hesitation to answer questions here about Woo products since they have their own support and their users should be encouraged to use that. I ...
4
votes
1answer
6k views

Customizing the Subject Field in WordPress' Notification Emails?

Can I customize and edit the subject field in the "Password Reset" notification mails sent from our multisite blogs? I have tried some plugins like My brand login and white label CMS etc. But I can't ...
5
votes
1answer
393 views

Writing a plugin that notify my friends of new post that mentions(@) them

For example, I write a new post with content "Today I'm happy, because I finally met the girl that @David told me about bla blah..." Once the post is published, there should be an email notification ...
5
votes
2answers
1k views

user change password email when reset by admin

I am really new to wordpress programming and I am not even sure if this feature exist. What I am trying to do is send email to users (not admin) when I as an admin change their password/email? At ...
5
votes
2answers
338 views

How to disable the “Your site has updated to WordPress x.y.z” admin email?

Using the automatic update of my self-hosted WordPress blogs, I configured automatic updates of both the WordPress core as well as WordPress plugins and themes (through this plugin). Whenever a core ...
20
votes
3answers
3k views

Sending multipart (text/html) emails via wp_mail() will likely get your domain banned

Summary Because of a bug in WP Core, sending multipart emails (html/text) with wp_mail() (to reduce chance of emails ending up in spam folders) will ironically result with your domain being blocked ...
4
votes
5answers
28k views

Wordpress refuses to send mail, “…your host may have disabled the mail() function”

I recently implemented a comment area on my website and tried to get the email notification functionality to work. It doesn't seem to want to send email notifications when new comments are made. Just ...
7
votes
2answers
11k views

Send user activation email when programmatically creating user

I wondered if someone here might be able to help. Basically, I've created a custom registration form that when validated, inserts a user to the user table. function _new_user($data) { // ...
2
votes
1answer
981 views

Post Via Email to a Custom Post Type

I have a scenario where we would like to post to our blog via email. However, it needs to be to a custom post type. I've done a bit of research but haven't found any examples or ideas on how to do ...
3
votes
1answer
991 views

When a user creates a post (pending), send a confirmation link that allows them to publish

I've got another question for you guys! I need the following thing: User creates post (automatically sets it to pending for approval) Send the user an email with a confirmation link The User clicks ...
3
votes
1answer
286 views

Send a confirmation of user role upgrade conditionally

I'm using this snippet of code to send a confirmation email to user's when their account is upgraded to a new user role. function user_role_update( $user_id, $new_role ) { $site_url = ...
8
votes
3answers
2k views

Confirmation required on email change

I'm just wondering why wordpress doesn't send confirmation mail every time user change his/her email address. How do we know that email address is not fake or mistyped? So can anyone give me some ...
4
votes
3answers
7k 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 ...
3
votes
1answer
2k views

How can i change email template for new user

When i add a new customer the email goes to new user in this formate: From: WordPress [wordpress@siteurl.com] Subject: [site name] Your user name and password Message: username: user ...
4
votes
3answers
17k views

Send email when a new post is published [closed]

I'm looking for a method, or plugin, that will allow me to do the following: User can signup to a 'notifications' email list When a new post is published on the site, users on this list are ...
4
votes
5answers
3k views

Overriding the default WP Multisite notification e-mail

Is it possible to hook in and override the default notification message for WP MS? I know the message being sent out is in /wp-admin/user-new.php if ( is_multisite() ) { function ...
3
votes
2answers
589 views

Notify commenters about new replies

Is there a plugin to notify commenters of one post to receive emails about new comments made on that post? Only commenters who entered emails will be notified.
2
votes
1answer
6k views

Send automatic mail to Admin when user/member changes/adds profile

Is there a way to send the updated/added values from profile, when a member/user updates his/hers data, to the admin of the site or another emailadress? Can this be the first step? /* do something ...
1
vote
1answer
262 views

Wordpress comments email notification for authors

I'm admin of a question and answers website in WordPress. All users are defined like authors. I have the problem that when I approve a comment ( an answer to a question), the author receives too much ...
1
vote
1answer
5k views

How to auto send email when publishing a custom post type?

I'd like to have an email automatically sent out to my website's subscribers when I publish a post for a specific custom post type. I've found a few plugins that will do this but only for regular ...
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
2answers
6k views

wp_mail script with jquery post

need to send an email from a page when a form is submitted. Thought i'd use jquery post but not really sure where to start. Would i use wp_mail? And if so how could it be called ? Sorry if that ...
0
votes
1answer
1k views

“Reply-to Address” Email

I searched the web for last couple of days for "Reply-to Address" in the email but had no luck so, here I am. In my wordpress site, there are multiple store owners who can sell their products. When ...
0
votes
1answer
4k 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 ...
-3
votes
1answer
293 views

email notification to specific email adress

I created a custom post type. now I need to send specific email notification! Is possible to send email notification of some Post Type to specific user?
2
votes
1answer
1k 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 ...
2
votes
5answers
3k 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 ...
1
vote
1answer
131 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 ...
1
vote
1answer
2k views

How do you access the Product Short Description in a WooCommerce email template? [closed]

I would like to output the Product Short Description beneath the product name inside the order items table inside WooCommerce emails. I think I know where to place code inside the email template file, ...
1
vote
2answers
3k 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
2answers
2k views

Send all WPMU emails via SMTP

I've tried plugins like "WP Mail SMTP" "WP SMTP" "Easy WP SMTP" "WP SMTP Config" noone is compatible with WPMU
1
vote
1answer
292 views

Should I use the standard wp_mail() function for a premium theme?

I am creating a premium theme that includes a Contact page template. Currently, I am using the wp_mail() function to send the contact email to the administrator-specified email address. Basically, I ...
1
vote
1answer
2k views

email wordpress users using BCC

I am currently using the below code to email users when a new post is published, but I need it to BCC all users and not TO all users. Any ideas? function email_members($post_ID) { global $wpdb; ...
1
vote
1answer
4k views

wp_mail not recognizing cc and bcc headers

I am using WordPress 3.1.3 I am getting following notices when I use wp_mail with cc and bcc headers. Notice: Undefined variable: cc in ...
1
vote
2answers
493 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 ...
0
votes
1answer
33 views

Prevent function from triggering again when post in specific category gets another category?

I have created a function to send out an email to authors when there post is added in the popular category for custom post type. IT WORKS but there is 1 major issue. If the post that is in the ...
0
votes
1answer
59 views

Few chars getting replaced with '=' in mail content in wp_mail()

Whenever mails are triggered from a WordPress site, a few alphabets are randomly getting replaced with '=' in the mail content. I have set the charset and content type in headers even then this weird ...
0
votes
0answers
195 views

Woocommerce - Send billing details to email

I'm new to wordpress and woocommerce and I'm trying to send the details of anyone making a purchase on my site to an email script I have. I've done some research and it seems the best way to do this ...
0
votes
1answer
69 views

Changing email “From” address

So, I have been trying to set up "reply-to" in the order email. I have few ideas to do it. Here is one of them. Following is admin option to set up "From" email address array( ...
0
votes
1answer
474 views

wpmu_signup_user_notification filter not working

I'm trying to customise the activation email in WordPress. I'm using WordPress 3.8 Multisite (subdomain). I added the following code (from ...
0
votes
2answers
185 views

Emailing only the users of a MultiSites Sub-Sites

Context: Creating a MultiSite in which each Sub-Site will have it's own set of users that they belong to. These users are only able to view their own site. I was wondering what the easiest way to ...