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
17 views

How to get Post title by locale with Qtranslate-X

I need to send 2 emails, when new comment is posted and when new comment is approved. Site is multilingual and uses qtranslate-x plugin. Here is code, which sends email when comment is posted. In ...
-1
votes
0answers
23 views

WooCommerce new order email after payment [on hold]

Who knows how to send notifications about new orders (for admin) only after they will paid? And do not send email notifications when new orders are submitted, but not paid.
0
votes
1answer
24 views

Send email messages after comment was submitted

I need to send 2 email messages: if comment was submitted and when comment was approved. Without any plugin of course. How can I do this?
-4
votes
0answers
20 views

Contact Form 7 Issue

I use contact form 7 on another site, and it works perfectly fine. However, on a site I am working on, it is giving me the red box saying "Failed to send your message. Please try later or contact the ...
-3
votes
0answers
13 views

Automated daily email and sms notifications to my individual clients

I have come to a bit of a dead end. A quick run through of my situation first. I want to use/create a system where by my client provides me with their customers name, email and phone number. I then ...
3
votes
2answers
33 views

Mail will not send in HTML

Okay, I've got the following issue. I'm trying to send a mail in HTML format. I made a class that returns an HTML string, and that works great. When I pass that html-mail as $message in my function, ...
-3
votes
1answer
33 views

Welcome Email Going to Spam

The user sign up welcome email is going directly to spam, Gmail says this email may not have been sent by ****@gmail.com Would setting up a domain specific email address and changing the site owner ...
0
votes
1answer
31 views

Send email daily using `wp_mail`

I want to send email daily 12:54pm using wp_mail function, but it send mail continuously. Plz suggest what is wrong? <?php $timeg = date( 'g:ia', current_time( 'timestamp', 0 )); $timem = '12:...
0
votes
0answers
18 views

HTML email template using custom post type on genesis framework

I'm trying to generate HTML emails using a custom post type. What I would like to do is slot content from post type post into this template to build an editoral newsletter. The problem I'm having is I ...
0
votes
1answer
26 views

WordPress stops executing code after the require() method

I'm trying to set up SMTP for my custom contact form. I have placed the latest PHPMailer folder in my theme folder. I created a page template for Contact Form and added the code for the contact ...
0
votes
0answers
17 views

overriding wp_new_user_notification function

Myself trying to customize the wordpress user registration greeting email by referring this link and my code as follows. function wp_new_user_notification($user_id, $plaintext_pass) { $user = ...
1
vote
1answer
19 views

Is it possible to change an existing post status from 'pending' to 'publish' via email?

I am building a website which uses a custom form plugin, and the plugin gives me the ability to create posts (pending or published) using the data from the form. Upon submission of the form, I want a ...
-3
votes
1answer
22 views

how can i inform other users about new user registration? [closed]

I try to inform other users about new user registration in wordpress but I did not succeed. please help me I use ultimate member and user pro plugin.
1
vote
1answer
33 views

Email 'from address' has a www in it

When sending emails from my WordPress install, my 'from address' includes a www. Currently, it's sending email from web@www.domain.com when what I want is web@domain.com. However, if I change the ...
0
votes
1answer
80 views

How do I call wp_mail from HTML?

This is meant to be up in the next week or so, but I am having a lot of trouble getting the site to send emails to an address specified in an input box. I need to use wp_mail as I need to be able to ...
0
votes
0answers
20 views

How I can add confirm email in custom register page with out plugin in wordpress?

I made a custom register page that you can see the code below: <?php require_once(ABSPATH . WPINC . '/registration.php'); global $wpdb, $user_ID; //Check whether the user is already logged in ...
3
votes
1answer
44 views

Login email after registration never sent or received

On my site, after a user registers they receive an email with an activation link. When clicking the activation link, sometimes the page doesn't load, sometimes it does (usually if I click the link ...
0
votes
0answers
34 views

Anonymous Email Like Craigslist Has?

I have a question that I've searched for on Google and here but I haven't been able to find a satisfactory answer yet so I figured I'd ask it here. I'm in the early stages of designing a WordPress ...
0
votes
1answer
45 views

How to send email with wp_mail() with from email taken from contact form instead of the host?

I have set up SMTL like this, add_action( "phpmailer_init", "send_smtp_email" ); function send_smtp_email( $phpmailer ) { ini_set("sendmail_from","xyz@gmail.com"); ini_set("sendmail_path","xyz@gmail....
0
votes
1answer
31 views

Using Custom Javascript and pHp to send email to myself when a user clicks on an input button but only works on Chrome, IE, and Micorosft Edge

So I am using jQuery and pHp together to send an email to myself whenever a user clicks on the update button of their Ultimate Member form. However, the email only sends when a user is using Chrome, ...
0
votes
1answer
15 views

WordPress get_the_content losing formatting when emailed

I'm pulling the content of a post outside of the loop to send in an email like so: $content = get_the_content(); However, when I craft the body of the email: $body = 'Hello: <br/><br/&...
0
votes
1answer
38 views

Mailing list sign up form without plugin

Would anybody be so kind and guide me through how to create an email sign up form for WordPress which does the following: Visitors enter email address, it validates it and inserts into the database ...
0
votes
0answers
17 views

How can I deny the user the insertion of emails in topics / comments and stay on the same page?

I have this function that checks whether or not a content contains an email: function fw_check_if_content_contains_email( $content ) { if (preg_match('/\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b/...
3
votes
2answers
42 views

How to change email notification for Comments

How do you change the user that gets the notification email announcement for new comments and comment moderation? WordPress sends the notices to the Admin user. My client is the editor of the site. I ...
0
votes
1answer
53 views

Wordpress Registration Email by Role

I'm wanting to send out a custom html email to a new user based on their role during registration. So, I have 2 roles that will be specifically registering on the site: photographer and subscriber and ...
0
votes
1answer
19 views

Wp_mail doesnt work

I created a form for mail sending, but it does not work. Email function is enabled in php. if (!$error_msg) { $to = "mail@to.send"; $headers[] = 'Content-Type: text/html; charset=UTF-8'; $...
0
votes
1answer
46 views

Add custom shortcodes to the Welcome Mail

I need to add a custom shortcode to the welcome email of my website. I'm not expert; what I need is in plugabble.php file? I tried a lot of plugins for edit email template but nothing seems work. ...
0
votes
1answer
23 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
0answers
41 views

Gravity Forms will only send e-mail from admin

I've created a gravity form for e-mail feedback and what we would like to do is have the message sent out to appear to be from the address the person enters in the form. I created the form, and setup ...
0
votes
0answers
29 views

send email to user

I want to send an email to users based on the value of the database. To clarify if the user exceeds the value set in database, send him an email Automatic But I do not know where to write the code in ...
0
votes
1answer
18 views

how to disable the e-mail verification on wp-admin/options-general.php multisite admin e-mail

I have a multsite that has a bunch of blank e-mail addresses in the admin e-mail address feilds, and I just want to update them without the e-mails being verified. Background is that I am a web ...
0
votes
1answer
73 views

check whether a mail is send through contact form 7 using php

When the user clicks download button, a contact form should be opened, and when he submits it successfully, a file should be downloaded. I'm using contact form 7 for sending the mail. Is there any ...
-1
votes
1answer
107 views

How to override email text New Customer Order?

Im trying to override the admin email template text "New customer order" to "New order" in function.php, but i can not finde any info on google. Can somebody please give me a hint! :)
0
votes
0answers
28 views

Where to set sendmail_from?

I'm not sure where in WordPress to do something like: ini_set('sendmail_from','me@mysite.com') First, is this correct? There's a plugin that sends email, but the email gets blocked from my email ...
0
votes
0answers
20 views

How to debug Wordpress sending email *occasionally*?

I have a problem with Wordpress sending registration email occasionally. I tried to register several time to my wordpress site (under same conditions) and sometimes I do not receive confirmation mail. ...
0
votes
1answer
48 views

Send e-mail from admin area to adresses in custom field

My client wants to be able to send an e-mail from the Page Editing Screen to a number of e-mail addresses. Every page has a custom field called email_addresses that takes comma seperated addresses: ...
7
votes
3answers
259 views

How to add headers to outgoing email?

I want to add an additional header to outgoing emails on my sites, so I can easily determine which site sent a given email. (I put a standard functionality plugin on all of my sites, so this is easy ...
0
votes
1answer
68 views

Contact forms not sending mails

I used two plugins, contact form7 and pirate form, both display the message of succes but nothing coming in my inbox. Alsto tried the SMTP with google and hotmail but i recive a message that someone ...
0
votes
0answers
49 views

How To Setup AWS SES to send Wordpress email using SMTP

Can anyone provide a step-by-step guide for how to setup SMTP mail functionality (via AWS SES service) for a Wordpress site that is being hosted in AWS (via an EC2 Instance)? I'm know this is some ...
-1
votes
1answer
28 views

Woo-Commerce new order email no style attached

This one is baffling me, but when a new order is created the email is sent to the customer and a new order email is created but none of the order details are being sent see image: I've gone through ...
-1
votes
1answer
212 views

How to send confirmation email after payment made via paypal?

I am developing Blog website and i have used the custom paypal button, but now i want to send confirmation email after payment made via paypal. I had searched for IPN's API but don't know how to ...
0
votes
1answer
75 views

Send email via ajax

I have send email funciton on my home.php wordpress file and function is below $("#sendmailbtn").click(function(e) { var dataString = $(".pricing").html(); e.preventDefault(); var ...
0
votes
1answer
26 views

Not able to send links in email after setting header

I am not able send links in email. I am using wp_mail() function to send email. When i set header $headers .= "Content-Type: text/html; \r\n"; this header removes href attribute in received email. i ...
0
votes
0answers
27 views

PHP's mail() Function Works, WP's wp_mail() Does Not!

PHP's mail() function sends email which I receive successfully while wp_mail() at the same place does not. It returns true but I don't receive the email. I'm doing this on free host which does not ...
1
vote
1answer
207 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 ...
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
3answers
161 views

Need to manually add multiple WP users with same e-mail address (with good reason)

For starters, I'm aware of the concerns generally brought up by many when someone looks for a way to skip duplicate e-mail checks for creating new user accounts. However, In my case, I believe the ...
1
vote
0answers
37 views

Adding the_content() in custom template email

Let my explain the scenario first: I have a very custom page template. That is use in combination with a CPT and a few Custom fields. The CPT is called "werklijsten" (it's in dutch so bare with me) ...
1
vote
1answer
27 views

How can the recipients and content for comment email notifications on a custom post type be changed?

I am building a ticket system and would like to use the comment threads as the discussion for the ticket. There are three users involved in each ticket: The client. The support operator. The support ...
0
votes
2answers
36 views

How to receive an email with Wordpress?

I would like to receive datas from an external client to a Wordpress website. Example: I send an email to someone and I would like to send a copy (to archive it) to the website/smtp server. Is there ...