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
1answer
291 views

New User Notification - Setting Email

When a new user registers an email is sent to my email address. When I created the site the first admin account was mine using email address (a@a.com) I want to change which email is sent a new user ...
0
votes
0answers
168 views

Simple email input store in database

I'm trying to build a really simple form to store email adresses in the wp database for future newsletter purposes. What I have is just a single email input: <form method="POST"> <input ...
0
votes
0answers
373 views

Having Issue on Receiving Emails From @Gmail.com or @Yahoo. in WordPress Using PHP Mail Function

Using WordPress 4.0.1 and PHP Mail Function I am not getting Emails from Gmail and Yahoo Users. I am getting Emails from private domains like Test@Test.com but nothing if the email ends up by yahoo or ...
0
votes
1answer
51 views

Get emails of register user in Wordpress

I have a client who want to make a register form to enter in the web, and then get all the emails to use them in email marketing. Is there a plugin o SQL query that can get all this information easly?...
-1
votes
1answer
4k views

Send checkout page custom field in order email

i have added option box custom field in checkout page using bellow snippet hook's and function.when user order the product that option box custom field value displaying in backed admin panel but i am ...
0
votes
3answers
157 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, ...
0
votes
0answers
178 views

Why are Wordpress e-mails full of “mysql_real_escape_string” errors? (wp-db.php)

Since recently all Wordpress e-mails, which include Woocommerce order confirmation emails, are full of errors like these: Warning: mysql_real_escape_string(): 19 is not a valid MySQL-Link resource in ...
1
vote
0answers
225 views

wp_mail ajax form - nonce not working [closed]

I have a working form in Wordpress using ajax to pass the info to php and wp_mail to send the email. My final problem is getting the nonce to work. The js $atj(function(){ $atj('#submit')....
1
vote
0answers
167 views

wp_mail 200 response but no mail sent

I'm trying to send email from WP using ajax to validate the form and wp_mail to send the mail. The form is a basic form with id names on the fields The js validtion looks like this $(function(){...
0
votes
0answers
176 views

Mail function not working with user accounts

I have an issue with the user account system. It refuses to email people their passwords when they make and account and when they get a temporary password. It always returns with this error "The e-...
0
votes
1answer
473 views

Resend password chosen by WP administrator? [duplicate]

I am setting up a closed network based on WP. All users are added by an administrator and are given an username and password. I have also added some user fields with the add_action('user_new_form' ...
0
votes
1answer
121 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.
0
votes
1answer
126 views

Can we validate user email changes?

I am having difficulty understanding why user security and validation is so vague in WP (4.0).. Surely email verification should come as default? Anyway I have been trying to find a solution to user ...
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 ...
1
vote
0answers
25 views

Emailing passwords: Setup installed on home server using XAMPP

I've just delved into the WP world and all in all it's going quite well. I have a server at home that I'm using to host the sites. All is working fine except the password emails are not being sent ...
0
votes
1answer
100 views

Which Filter Do I Use To Modify The Subject Of The Retrieve Password Notification Email?

I am looking for the filter that enables me to modify the subject of the "Retrieve Password" notification Email. If you know which filter to use, please let me know.
0
votes
1answer
437 views

PHP form is not sending mail if I use mime type and version in header. How to solve this? [closed]

If I use the following code, then the form works fine and I am getting form submissions to my email. <?php if($_POST["submit"]) { $recipient="meemail@gmail.com"; $subject="New request"; ...
0
votes
1answer
95 views

Howto disable comment moderation emails for admins, but not for authors

I'm the admin of a WordPress multisite installation, and in most of the blogs I'm the person who created the blog in the first place, and therefore my email is the admin email address. Because of ...
1
vote
1answer
47 views

Where can i design and modify a new mail template for sending emails to users when commenting?

the mail sent by Wordpress is ok but its template is very simple and has no style or even a header or footer! its message has no information about my blog or logo. where can i edit its message body ...
1
vote
1answer
419 views

Script or plugin to send activation email automatically again after 2 hours

I'd like to set a cron job on my server to run an automated script that would tell Wordpress to: Check the users that have signed-up but not logged-in in the last 2 hours. Resend the welcome email ...
0
votes
2answers
512 views

Why is wp-login trying to send an email?

My host sent me the following message: Below are the recently upload scripts that contain code to send email. You may wish to inspect them to ensure they are not sending out SPAM. /home/...
0
votes
1answer
490 views

Sanitizing and validating email field

Should I use is_email() to validate an email field? In WP. I've put the email field in a widget. I would really appreciate some help. function update($new_instance, $old_instance) { $instance = $...
5
votes
2answers
343 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 ...
0
votes
1answer
159 views

Setup SMTP setting in wordpress

My contact form in wordpress is not working. When the contact form is submitting, I get the following message Message sending failed " ... the SMTP setting is not configured.. How can I make ...
0
votes
1answer
26 views

How do I replace the e-mail form to functional e-mail subscription? [closed]

In front-page.php I have an e-mail form prototype in HTML: <input type="email" class="form-control" id="email" placeholder="Enter your e-mail address"> <button type="submit" class="btn btn-...
0
votes
0answers
68 views

wp_mail recipient

I am new at this and seeking help, I'm really need a light at the end of the tunnel, so if you can help me, please do it! I will be very grateful! The question is, what do I do to when someone fills ...
0
votes
1answer
33 views

Changed my email. Locked out

I changed my email address and don't have the original password. When I try to reset my password it looks like Wordpress is sending the link to my old defunct email account which doesn't exist ...
0
votes
1answer
2k 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-...
-3
votes
1answer
297 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?
0
votes
1answer
467 views

Email Obfuscation: Is antispambot() Acceptable? [closed]

I've been looking into Email Obfuscation and trying to get away from obfuscation plugins when I ran across this code snippet[1]: function remove_plaintext_email($emailAddress) { $emailRegEx = '/([...
0
votes
2answers
188 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 ...
0
votes
2answers
2k views

Auto Log In Users after registration and send confirmation email

I'm using this function in functions.php to auto log in users after the sign up in the front-end function auto_login_new_user( $user_id ) { wp_set_current_user($user_id); wp_set_auth_cookie($...
0
votes
0answers
36 views

Download Free Trial After Email Entered

For my Wordpress site, it would be useful if I could allow people access to a resource if they entered an email address. Ideally the user would enter an email address and then be given a link to ...
0
votes
0answers
43 views

Email setting in wordpress

I have a WordPress website that works perfect without any problem, In the front end i have a contact page with a contact form, when i set the receiving email to any email using ( Googole, Yahoo, or ...
0
votes
3answers
811 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
408 views

html mail sended with wp_mail shows plain

I have a invoice.html that i want to send i use the following function to replace some things in the html foreach($variables as $key => $value){ $template = str_replace('{{ '.$key.' }}', $...
2
votes
1answer
2k views

Allow Duplicate Email Address for Different Users

I need to be able to have different users share the same email address. (Running a site where parents will be creating accounts for their children who may not have their own email address, so the ...
0
votes
1answer
221 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) ...
0
votes
0answers
384 views

Not getting emails from my WordPress contact form

I'm not getting emails from my contact form as of about 10 days ago. Wondering if it has something to do with the recent WP update? I'm running WP 3.9 and using Gravity Forms v1.7.5. I tried this ...
0
votes
1answer
145 views

Get email address of type Administrator

I am new wordpress, please help me. How can I get all the details of type Administrator. I have created 2 users with Role as Administrator, like get_option( 'admin_email' );. I want the Email address ...
0
votes
2answers
3k 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
181 views

Send Notifications to All Admins

I want to, hopefully without a plugin, get and loop through all admin accounts and notify each admin when a comment has been posted or a user has registered, etc. I tried to look into this but all the ...
-1
votes
1answer
544 views

Emailing Authors only when a CUSTOM POST TYPE post is published- not when edited later [duplicate]

I have the following function that emails authors of a custom post type when the post is published which is great, but I would like it so that it does not email them on any future edits after that to ...
1
vote
1answer
108 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 ? <?...
2
votes
1answer
391 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 ...
0
votes
1answer
468 views

Send email to all registered users [closed]

I've got a about 60 registered users. How can I send an email out to all of them? Any suggestions on how to achieve this. The users have registered, so I don't think they are going to mind an email ...
0
votes
1answer
164 views

MailPress plugin: table inline style tag removed when sending the newsletter

I have coded my own MailPress theme for my newsletter using tables and inline styling for good look and feel of my newsletter. I have in the files header.php and footer.php html table code with inline ...
0
votes
1answer
48 views

Username from e-mail

Which files do I have to edit to get a grip on $_POST data sent by the registration form? I want to explode $_POST['email'] and build an username from that. I simply want to allow people to register ...
2
votes
1answer
6k views

Contact Form 7 + Configure SMTP: Sender email appearing as my own email [closed]

I have Contact Form 7 and Configure SMTP installed on my website. When a user submits a message through the form, everything comes through fine but the sender email is never displayed. Instead, it is ...
1
vote
0answers
83 views

wp_mail_from is ignored

I'm setting the specific "from" address using wp_mail_from. I've verified that it's actually called and I'm passing a legit me@domain.com email address. But by the time it hits /var/log/mail.log, ...