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.

Filter by
Sorted by
Tagged with
1
vote
3answers
473 views

How can I send an email in my plugin?

I'm making a plugin that emails the site webmaster when I go to the 404 page. The script checks if the referring link is on our site, and then sends an email to the webmaster. $message = " <html&...
1
vote
1answer
44 views

Email entire post contents

We're a small newspaper with our archives put into a localhost WordPress web server in-house. I'm looking for some sort of plugin that might allow the reporters to, say, click a button that would ...
1
vote
2answers
1k views

Limit number of emails per second

Our users have been complaining about activation emails taking a while to be received. After digging around, we discovered that about 50% of users get the emails instantly and the other 50% take ...
1
vote
1answer
19k 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 ...
1
vote
1answer
5k views

wp_mail not recognizing cc and bcc headers

I am using WordPress 3.1.3 I am getting following notices when I use wp_mail with cc and bcc headers. Notice: Undefined variable: cc in /var/www/mysite.info/htdocs/wordpress/wp-includes/pluggable....
1
vote
1answer
380 views

Error While Sending Comment

I'm trying to apply this tutorial to my blog. I'm using Woothemes' Bueno Theme . I'm adding this code to my theme's functions.php file : function ymc_add_meta_settings($comment_id) { ...
1
vote
1answer
174 views

Subscribe to this Blog for a Private P2 Themed Site?

What's the easiest way to get a subscribe to this blog for a private P2-Themed Site? I want to have an obvious link on the page without having to modify the theme so that everyone using the site can ...
1
vote
1answer
725 views

Notify admin on new submit

With WordPress 3.0 its easy to for users to submit custom content from the front end. They don't even need to be logged in anymore. Is there a functions code (not a plugin) to notify a predefined ...
1
vote
3answers
135 views

What can be wrong when automated backups stop being sent to email?

For some reason the automated backup that was sent to my email weekly stop arriving. What can be the problem?
1
vote
0answers
13 views

Looking for a way that will collect visitors emails before letting them view the blog posts [closed]

I am looking for a way that will collect visitors emails before letting them view the blog posts. What I want to do is let visitors browse the blog posts, view all categories and browse article ...
1
vote
0answers
21 views

Display encrypted content on my website

Good day I am new here and to wordpress as well, please can someone tell me how i can automatically hide email addresses displayed on the front page(dynamic Content), see example https://quickleads....
1
vote
1answer
76 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 ...
1
vote
1answer
38 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
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 ...
1
vote
0answers
126 views

Woocommerce : How to attach an custom attachment with customer-processing-order.php email template [closed]

I want to attach an PDF file with "customer-processing-order.php" email template when any customer place an order. Please find below my code that i already used to attach an attachment with above ...
1
vote
1answer
216 views

On form submission how to send 2 email to different users

I have created a custom php form and on its submission email is sent to user but i want to send email to admin as well to keep admin up-to-date about form submissions on website using wp_mail. <...
1
vote
0answers
357 views

WooCommerce order complete email logic

Can someone helps me to understand the logic of WooCommerce for sending email on a completed order? If I'm not wrong, the mail is send when the order is marked complete, but I'm not able to find the ...
1
vote
0answers
26 views

User invite email not delivered - related to subdomain?

I have a problem where, on a new install of WordPress, I want to add a new user, but the user is not receiving the email with the confirmation link. I've done some research and understand that this ...
1
vote
0answers
50 views

Make WordPress use timezone for email Date header

My WordPress installations send emails with the Date header specified in UTC: Date: Wed, 18 Jul 2018 15:18:50 +0000 I would prefer that the mail be sent with dates encoded in localtime, which is ...
1
vote
0answers
11 views

wp-comment author- url +, email filter hook

Don't know how to change '@' and 'HTTP/S' in ALL comment-stuff, so those will be displayed in WP as unclickable contents. Do you have the knowledge and patience to straighten the following lines? ...
1
vote
0answers
301 views

Sending HTML emails via wp_mail not working properly

Task to accomplish: 1) A user types information in a form 2) Via ajax (method: POST) the form gets posted to wordpress 3) Wordpress takes the form 4) Wordpress creates an HTML-email which contains ...
1
vote
0answers
61 views

How to send mail from Wordpress if one server hosts page and another email?

The website VPS has the domain name name.com and the mail server mail.name.com. I successfully send and receive mail using mail.name.com using postfix and dovecot. However, when I try to register a ...
1
vote
0answers
345 views

Send multiple attachments with wp_mail in PHP

I'm trying to send multiple attachments with wp_mail() , after some issues of attachments names (it displayed something like phprTxfd.pdf instead of file_name.pdf), i succeeded to display the name of ...
1
vote
0answers
151 views

User registration email and let user choose pasword

I found many examples where the user registration e-mail had the link with the self-generated password. Basically I would like to customize (add more text) on default user notification, link here: ...
1
vote
2answers
297 views

How to translate WordPress Emails?

I'm running a multilingual site, and I want the emails sent to the user to be in their language. The scheme I already have is the following: The website determines the user's country through their IP....
1
vote
1answer
89 views

WordPress unable to send mail

I am unable to get email functioning in WP 4.8. I have WordPress running on a Bitnami LAMP stack. All modules/plugins/themes/languages are up to date. I have an SMTP host that is effectively an ...
1
vote
1answer
440 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 ...
1
vote
0answers
25 views

Reply By Email to comment notifications

This might be a somewhat broad question, but I'll try to keep it as specific as possible. I need to implement two specific pieces of functionality on my WordPress site: Allow users to subscribe to ...
1
vote
1answer
338 views

Adding extra email address who receives email like admin - woocommerce

Is there any way to add a new email address along with admin email who receives same email as the admin.like : on placing an order admin receives 'NEW ORDER RECEIVED' but customers receives 'THANKS ...
1
vote
2answers
606 views

How to retrieve the sender email with wp_mail()?

I Have this simple following code : <?php //if "email" variable is filled out, send email if (isset($_POST['email'])) { //Email information $to = get_option( 'admin_email' ); $headers ...
1
vote
0answers
29 views

Share pdf with a friend via email [closed]

I'm trying to allow the site visitor to send a PDF to a friend via a button click from the Wordpress page. The problem is that the PDF should be automatically uploaded (which is a different PDF for ...
1
vote
0answers
87 views

Disable email confirmation new register bbPress [closed]

I add an bbPress forum on my wordpress. Everything looks great, but got a problem with email confirmation. My wordpress doesnt have email sending configurate. I dont wan't any mail confirmation for ...
1
vote
0answers
395 views

wp_mail() headers multipart/alternative

I am trying to send email via wp_mail containing both - plain text, as well as HTML body. When I am setting up headers like this: $headers = "MIME-Version: 1.0 \r\n"; //$headers .= "From: Dawid ...
1
vote
1answer
447 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 ...
1
vote
0answers
188 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
38 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 ...
1
vote
2answers
2k 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 ...
1
vote
1answer
57 views

2 Email addresses for each user

Is there a way to let a user who registers an account in WP add 2 email addresses that will be associated with that account? The reason for the required function: We have a website that sells online ...
1
vote
0answers
79 views

Query to get number of posts last week

I want to receive each monday the number of posts that were posted on my site during the week. The first part of the code retrieves the number of posts, and the second part sends me an email with the ...
1
vote
0answers
49 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?
1
vote
0answers
76 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 ...
1
vote
1answer
40 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 ...
1
vote
0answers
325 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(){...
1
vote
1answer
30 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 ...
1
vote
1answer
838 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 to ...
1
vote
2answers
2k 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 ? <?...
1
vote
0answers
172 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, ...
1
vote
0answers
105 views

comment reply by email

Is it possible that the admin replies to a comment by email, replying to the notification message he receives about the comment? And for a whatever user if the subscribe to comments plugin is ...
1
vote
1answer
382 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 ...
1
vote
0answers
292 views

How to notify specific users when i'm posting/modifying a new post

Here's what I'm trying to do... I'm trying to send new submissions only to contractors requested. Using Role Scoper, I can select only users who can access the new submission. However, I am looking ...