The tag has no usage guidance.

learn more… | top users | synonyms (1)

1
vote
0answers
157 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 ...
0
votes
0answers
172 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 ...
0
votes
1answer
441 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
110 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
119 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 ...
4
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
90 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
417 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
92 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
46 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
389 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
481 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. ...
0
votes
1answer
454 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
322 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
143 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 ...
0
votes
0answers
65 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 ...
-3
votes
1answer
289 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
431 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
173 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); ...
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
772 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
392 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
213 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
373 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
117 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
169 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
515 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
106 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
364 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
446 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
162 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
78 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, ...
0
votes
1answer
259 views

send email to all registered users when post expires

I have a function which, when a post is published inside a CPT after three days the page is redirected to another URL/PERMALINK. This is the code: add_action('template_redirect', ...
0
votes
0answers
271 views

PHP random number in email

I have a Wordpress website where i am making a form so that when a user fills out that form he gets a confirmation email and receives a random order number. I have this PHP function which creates that ...
2
votes
1answer
402 views

Handle registrations in WordPress when user doesn't have any email?

Here's my problem. I have a WordPress installation that has about 30 users with duplicates of emails in the users table. That's ok, because that's how I had to do it for the time being. I wanted ...
1
vote
2answers
8k views

wp_mail() is not working on server

I am breaking my head from last 1 hour but not getting any idea that what's going wrong with my code... I am developing my own plugin and I am using wp_mail() function for sending mail in that but ...
0
votes
2answers
123 views

How to add a hyperlink to the email content in WordPress?

$message = sprintf(__('Dear: %s'), $user_login) . "\r\n\r\n"; $message .= __('As per your request on ') . date_i18n('j F Y', time());"\r\n\r\n"; $message .= __('Please visit the following ...
0
votes
0answers
352 views

How to use mobile number instead of email

How can I use mobile number in registration form instead of email? I want to remove email field and add mobile number there. How to do that?
0
votes
0answers
39 views

My Email Newsletter plugin will not configure when I try to import the widget

I am currently using the "Spun" theme for my website and bluehost as my hosting product. I downloaded and activated the "Email Newsletter" plugin, however when I try to import the widget it does not ...
0
votes
0answers
175 views

Custom WP deactivate an email activation link sent to user's email.

As the title stated, instead of using the WP default recovery password page, I created a custom reset password recovery page template. Everything is working except I'm not sure how deactivate the ...