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.

learn more… | top users | synonyms (1)

0
votes
2answers
2k views

get_user_meta() doesn't include user email?

I simply wonder why <?php var_dump(get_user_meta(4)); ?> doesn't contain an email address of the user. Instead I have to use get_userdata(4)->user_email; to query the email of the user. ...
0
votes
1answer
26 views

delete of @ in emailaddress when starting unsubscribe link in url

I work with WordPress 4.3.1 running Avada Child theme. For unsubscribe action I have wrote a simple script that starts this url: <A HREF="http://test.domain.nl/unsubscribe?email=test@domain.nl">...
1
vote
1answer
38 views

Send transactional email: first user's post

I want to add this piece of code to my functions.php file, so that when a user creates its first post, he receives an email to congratulate him. function set_mail_html_content_type() { return '...
0
votes
3answers
822 views

How to send post notification when a Author and Contributor post?

I am using the code below on a multi user blog for sending a email notification to users when new post is published . But the problem is it is sending notification only when a Administrator and Editor ...
0
votes
1answer
2k views

Custom admin email for new user registration

I've scoured the web for the solution to this small issue, but I keep getting results that tell me how to customise the notification e-mail not the email address. I have the admin email address in ...
0
votes
0answers
17 views

Custom Contact Form - Attachement and receivers

I have created a custom contact form using this code: function contact_form_markup() { $form_action = get_permalink(); $author_default = $_COOKIE['comment_author_'.COOKIEHASH]; $email_default ...
1
vote
1answer
766 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 ...
0
votes
0answers
32 views

How to modify content of function welcome_user_msg_filter

I am using WordPress Multisite. I want to modify the content of function welcome_user_msg_filter without hacking the core. I don't like the content of mail which goes to the user after activation. i....
0
votes
0answers
31 views

How to email a published post notification at a certain time?

I am using follwoing code to send an email if any post is published or draft to published. <?php add_action('future_to_publish', 'send_emails_on_new_event'); add_action('new_to_publish', '...
1
vote
0answers
32 views

How to send an automated user 'inactivity' email?

I'm currently working on a editorial heavy WordPress site, and one thing that I'd like to implement is a functionality that sends someone of a specific role (in this case contributor/author) an email ...
0
votes
1answer
36 views

Trying send mail from Theme page

I am trying tos end a mail and parse its contents using WP_Mail but the email is not sending im just not getting error message on the page. Can someone tell me if their is something wrong with my ...
0
votes
1answer
131 views

Best way to create a user programatically

I want to create a user via a standalone script. I want an activation email to be sent out, in the same way that it is when a user is created from the Add User screen. An email is set out with a link ...
0
votes
0answers
31 views

How to enable mail()?

Newly installed WordPress site is showing disabled the mail() function in lost password. Can any one help me out how to make it enable and make full use of WordPress core functionality?
0
votes
1answer
55 views

How to customize 'recurrance' of' wp_schedule_event'?

I am new to WordPress development. I build a function to send email twice a day with wp_schedule_event. My recurrance is twicedaily. Is this possible to change twicedaily time to 9:00 and 14:00. If so ...
0
votes
0answers
35 views

Send featured image by form to e-mail

I need to come up with a Function that uses a webform (could be Contact Form 7) to allow visitors to indicate a post by including a friend's e-mail. This e-mail sent will contain the post's content ...
12
votes
4answers
13k 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
0
votes
1answer
75 views

WP stopped emailing notifications about new comments

When I started developing the blog, WP was 3.5.1. I tested notifications about a new comment then, and it worked fine - in July 2015. Now the blog is on 4.3.1, and email notifications stopped. I do ...
0
votes
0answers
33 views

“Forgot my Password” email is never received

I have a problem to use the password recovery on my website. First I disabled all plugins. I still get nothing. So I reactivated a default theme, still no email. I downloaded a new version of ...
1
vote
1answer
13k views

Ability to download only after email supplied [closed]

I would like to have a page with downloadable items like PDFs, but I would like the user to be required to insert email details before being able to download the files, although he would be able to ...
0
votes
1answer
2k views

Buddypress send admin notification email when new subscriber registers

I am running a Buddypress site, but I am not getting emails when a new subscriber registers. I have used a code in my functions.php that removes the activation email the user would receive (I want ...
0
votes
1answer
16 views

How to prevent the scheduling of the same event on the same day

I have an system right now where the user can setup to send out emails on a schedule. However, my clients want the ability to only allow 1 scheduled email to go out once a day. If they attempt to ...
0
votes
0answers
21 views

guest comments with existing emails

I'm implementing a comment form for a single-variant.php that guests are allowed to use. Unfortunately if a guest is using the E-Mail address of a registered user (admins for example) they are still ...
0
votes
0answers
48 views

Retrieve email address from current Profile URL

First Part: I need to retrieve the email address of the current profile url being viewed. e.g. www.mysite.com/user/john In this example I would like to retrieve John's email address. Second Part:...
33
votes
2answers
69k 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 ...
2
votes
1answer
537 views

Fwd: [Website Name] Notice of Email Change [closed]

I got a reply from a user today with the following email below. I have never ran into this before. What causes this and how can it be stopped? Hi username, This notice confirms that your email ...
0
votes
0answers
205 views

Send email when specific user role register and block user

i've create this page to registration user on my wordpress + woocommerce. I like that Wordpress send an email to admin when specific user role register (for example scuole) and then, when registration,...
1
vote
0answers
39 views

How to change the default mail when admin approuved an user?

How to change the email (content & template) when the administrator approuved an user?
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) { // ...
0
votes
1answer
160 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 ...
1
vote
0answers
49 views

Send email when a portfolio project is updated

I am trying to automatically inform specific registered users when the content of a project in the portfolio changes. It's like automatic newsletters on blog changes but I need it for a portfolio and ...
0
votes
0answers
187 views

Email Inactive User on WordPress

I have seen this question all over but never seen an answer... I am using Paid Membership Pro and want to be able to have an automatic email go out if a user has not logged in for X number of days ...
0
votes
1answer
23 views

Is there a way to follow a Wordpress site by email alerts for new posts? [closed]

It seems that there's no way for me to get an email alert for new content posted on a particular Wordpress site I follow. And strangely I haven't been able to find any information about it around. I'd ...
0
votes
1answer
135 views

send email to author of post on post submission

i am using wordpress directory theme.I want to send email to author of the post whenever he publish a new post. currently email is just sent to administrator only.i didnt find any code utilizing ...
0
votes
1answer
20 views

Stop the execution of foreach loop which extract data from array?

In detail the condition is There are multiple new users to whom admin want to send welcome message but only once for each member. I have done sending message but if the member refresh his email page ...
2
votes
1answer
214 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
0answers
445 views

Sending SMTP mail using a server with self-signed SSL

The problem I need to solve I have a web server in a network where the port 25 is blocked for outgoing traffic, and in order to send emails it is mandatory to obtain an account and use authentication....
0
votes
1answer
27 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 ...
2
votes
4answers
5k views

Notify multiple email addresses on comments

Can you recommend a plugin that enables notification on multiple email addresses on posted comments? Looking for a plugin that both notifies a global list of email addresses and the author of the post....
0
votes
0answers
42 views

Not receiving any e-mails after new comment

I know this has been asked several times before in the past, but I think my situation is a bit unique. I am not receiving any e-mails when someone leaves a comment on my posts. Neither are any of the ...
0
votes
2answers
67 views

Exclude Current user email and send notification

I am currently building a wordpress plugin to send email notification to list of users roles who comments on a post. For Example: If a user with "subscriber" role comments on a post all the other ...
0
votes
0answers
91 views

Email is not sent while adding add_filter in wpDiscuz - WordPress Comments plugin

Currently i am using a wordpress plugin named "wpDiscuz - WordPress Comments" which sends email notification to the user list present in "wc_subscriber" table, but i have hided the default code which ...
0
votes
2answers
5k views

Is it possible to send blog posts via email to subscribers?

Would like to be able to send the blog post in an email mail to my subscribers, this would be great if it can be achieved through a plugin.
0
votes
0answers
30 views

SMTP and mail function to send email

I was wondering if you guys know of a Wordpress plugins that will send email registrations via SMTP if mail function fails or if you can have multiple emails, so that if one SMPT email fails to send ...
0
votes
1answer
60 views

Send post changes to set email addresses (not users or subscribers)

What I have I am using the "The Events Calendar" plugin on my site to coordinate a team of employees. I want to be able to send an automated email containing the body of an event post (post-type is ...
0
votes
0answers
19 views

AJAXed function does not like sending mails with certain headers?

Out of all the emails below, only the one with 2024 gets sent when I ajax to the function that contains the code below. And none of the wordpress email gets sent even though other wordpress functions ...
1
vote
1answer
456 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 ...
0
votes
2answers
126 views

how to incude logo in contcat form 7 email [closed]

I am using contact form 7 plugin. how to include logo in emails sending to user and admin. I am new in word press.
1
vote
1answer
67 views

Send mail to user only once when specific check box is selected and updated from profile meta updated by admin

Here i have created one checkbox in admin of the wordpress and when i check and update it send mail to user it works but its sends mail every time when any part of profile is updated.Is there a way to ...
-2
votes
1answer
262 views

Woo-Commerce Send mail by code. [closed]

I am doing custom order is working fine but mail is not working so i am trying to use the default woo-commerce mailing functionality. i found the class from where woo-commerce send mail but when i am ...
0
votes
1answer
123 views

Send email when publish new post in certain categories

I'm looking for php code that will allow me to do the following: when new post publish in categories which ids are 12 and 34, email will send to all users.