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.

0
votes
1answer
927 views

wp_email not sending the mails in multisite sub domain

I have a multisite enabled wordpress configurtaion say my main domain is http://www.example.com. It have several subdomains such as http://test1.example.com, http://test2.example.com and so on. I ...
0
votes
1answer
9 views

New user notification issue

I'm having an issue with our business' website. Every new user that registers on our site will never get an email confirmation which has the randomly generated password. As for us, the admins, we do ...
0
votes
1answer
2k views

How can I change the email sender name from wordpress to (myblogname) on the “lost password” email?

When a user loses their password in WordPress, you are prompted to enter your email or username. When the password reset email has been sent, it displays "wordpress" as a sender name. I want my ...
0
votes
0answers
12 views

Change the WordPress from address [duplicate]

I've taken over a site, and have found the from address for the emails (eg password reminders) are coming from the wrong address. How can I change the from address to the correct email? The ...
7
votes
3answers
5k views

Email user when password is reset by admin

I am really new to WordPress programming and I am not even sure if this feature exists. What I am trying to do is send an email to users (not admin) when an admin changes their password/email? At ...
0
votes
0answers
672 views

WordPress isn't sending welcome email with the password reset

So I have been debugging the code: $message = sprintf(__('Username: %s'), $user->user_login) . "\r\n\r\n"; $message .= __('To set your password, visit the following address:') . "\r\n\r\n"; $...
0
votes
1answer
456 views

How can I modify the default reset (lost) password email text?

I found some similar questions on here, but was unable to apply the solutions that were provided. The standard password reset email that Wordpress is sending does not provide a clickable url for ...
0
votes
2answers
838 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 ) { $...
0
votes
0answers
10 views

moderation after registration form

I would like to set up a registration moderation system after a user has registered from a form. If, his registration is approved he will receive an email to create a password. Otherwise, the email ...
1
vote
3answers
3k views

PHP mail() works but wp_mail() does not

I'm totally lost by the mail function in WordPress (WP 4.6 multisites). I tested locally (on my localhost) WordPress send mail. This works fine at first sight (I don't really know why because I've ...
2
votes
3answers
14k views

Include HTML template file in wp_mail

I'm using wp_mail() to send an HTML email. But there's quite a lot of HTML code in the email, so rather than including all the code in my wp_mail() function, is it possible to have the code in a ...
0
votes
1answer
697 views

Send default WooCommerce email when switching from custom order status

I have implemented custom order status on-review and now I need to send WooCommerce default on-hold email when switching order statuses from on-review to on-hold. In order to do this, I have to add ...
2
votes
2answers
465 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 ...
1
vote
2answers
1k 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
0answers
9 views

WooCommerce : Create email for custom status, appear in backoffice

I need to create an email which would be sent to customer when switching to a custom status. Does anyone know a good and updated tutorial to do this? Thank you :)
0
votes
1answer
328 views

WordPress is automatically linking plain text email addresses

I'm using the latest version of WordPress (3.1.1). Is it just me, or is WordPress now automatically linking plain-text email addresses? I type jdoe@email.com as a comment and it shows up as <a ...
2
votes
1answer
161 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
78 views

Allow users to register as a higher role than default with code

By default all new registrants for my site are assigned the role "contributor" and then I make them request an upgrade to an "author" account through a form. I also send out invitations to certain ...
0
votes
1answer
380 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 ...
0
votes
1answer
18 views

How do I activate New User Registration emails in Wordpress? [on hold]

I'd like to re-enable the email sent to admins on our site when a user registers an account. There are plenty of resources available about disabling this, as the default is enabled. The developer ...
0
votes
2answers
374 views

Send email from Wordpress

What's the best way to send a email from Wordpress after a certain action. I'm working on a site where users can submit ideas and then other users can comment on them. I would like to send emails to ...
1
vote
2answers
269 views

Email user on WordPress upgrade

I'm pretty new to WordPress and I'm trying to customize my theme to send an email to myself when an upgrade is required. I'd rather not use a plugin as this means I have to install it for each ...
0
votes
1answer
7k views

Programming WordPress to Send an Email on Registration Form Submit?

(Moderator's note: The original title was: "submit button in wordpress.") I'd like to create a registration form to send an email. I've tried Contact Form 7 but I would like to use my own HTML <...
0
votes
1answer
386 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
13 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 ...
11
votes
6answers
16k 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 ...
0
votes
1answer
246 views

How do I troubleshoot registration/password email errors?

I moved the blog I was working on from my development server (on DreamHost) to the client's server (some local host which they are unwilling to switch from). Everything seems to be working perfectly, ...
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?
4
votes
2answers
4k views

wp_mail - Remove sitename from email subject

Can someone tell me how to remove site name from the email subject. As of now my email subject looks like this: [sitename] - Subject goes here I want it to look like this: Subject goes here I ...
4
votes
1answer
3k views

What are the differences between wp_users and wp_usermeta tables?

What are the differences between the wp_users and wp_usermeta tables? I use the Email Login plugin and I just noticed that if a user changes his email in the profile page, it is saved in the ...
0
votes
2answers
611 views

Mail through Cron Execution does not work!

I have been trying to execute the PHP mail() function and wp_mail() function in a PHP function in WordPress. The PHP function is called by a cron hook. The problem is, it doesn't execute the mail() ...
1
vote
1answer
378 views

Email notification of new posts that match query

I'm creating a real estate site that will have a search functionality (beds, baths, price range, neighborhood, etc). When presented with the search page, the URL will have a nice long query string to ...
0
votes
0answers
13 views

Email content as comment

I am trying to develop a ticketing system. Can I capture reply email content to my ticketing system as comment?
0
votes
2answers
2k 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 ...
0
votes
1answer
419 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 ...
2
votes
2answers
8k views

Plugin for Sending Email to Readers about New Posts? (besides “Subscribe2 ”)

I wish to have a "subscribe to new posts" widget for my blog. I know I can use feedburner system, but I want a plugin based solution. The best I could find was Subscribe2, the downside of it is that ...
0
votes
1answer
24 views

Send admin new order email to logged in user as well

I need to be able to send the admin email for a new order also to the e-mail address linked to the current logged in user. This is required as 1 account is for different people (people who give a ...
0
votes
0answers
13 views

Customer Email Address

Here is my issue: A customer used the wrong suffix in his email address and I would like to correct his order record for order notes. Is this possible to edit? Using woocommerce.
0
votes
1answer
25 views

WordPress eMails not working

What should I be looking at? No emails from Wordpress (registration/login) even order emails are going to the customer. I am using Wordpress installed on NGINX VPS. I have lifted SMTP block off ...
0
votes
1answer
20 views

E-Mail Notification on post edit

I've been looking for a way to notify users when a post has been edited. I've tried the following plugins: Better Notifications for WordPress Post Status Notifier Digest Notifications (These were ...
0
votes
1answer
456 views

How to create a post based on data in a table?

I have a MySQL table which I created that contains fields for a Title and a Body. There about 100 records in this table. I would like to create a Wordpress post for each row in this table. Is that ...
0
votes
2answers
13 views

Notification Email Address not changing

I have a user that is receiving notification emails to their personal email address and we would like to have it be changed to more of public one that is used by the company. I have tried to change ...
6
votes
3answers
2k views

Subscribe to email for security fixes?

Is there any email alert list for security fixes? I'd rather not rely on just an RSS feed.
0
votes
1answer
549 views

Pass return-path additional parameter in wp_mail

Our server is currently automatically setting the return path as {serverusername@serverhostname.tld}. When sending an email in PHP, I can override this by doing the following: $return = '<bounce@...
4
votes
3answers
5k views

Sends out email to admin

Are there any plugin or code that sends out a email to me (admin) when a author or writer publish a post?
0
votes
1answer
48 views

I need to verify emails when users signup

I'm working on my custom plugin and I need to verify the email addresses of users before they can use the platform. I can do it using regular PHP but I'm having issues doing it with WordPress. Can ...
1
vote
1answer
33 views

Throttling email frequency

I have a jobs board site running wp job manager which is generally fairly low on email sendouts but occasionally an action will trigger several hundred recipients to have an email update regarding a ...
1
vote
1answer
21 views

How do I make WordPress send an email to the user when his account gets approved (manual by me)

I was wondering if I could make it so that if I approve a user account via "Users" UI that an automatic email is sent to the user saying something like "Hey, your account on www.website.com has been ...
0
votes
1answer
19 views

How to use a 3rd party library to send emails?

I'm trying to improve my emails deliverability by sending emails that are correctly authenticated (correct SPF and DKIM configuration). I have done the SPF part, but in order to use the DKIM i need to ...
1
vote
0answers
20 views

Multisite not using subdomains as hostname in from address when sending emails

I have a Multisite installation where I'm facing somekind of bug relating the hostname used when WordPress sends emails (I've test it with WordPress admin emails and Contact Form 7). For example, if ...