The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
2answers
2k views

Include HTML template file in wp mail

I'm using wp mail to send an html email. But there's quite a lot of html code in the email, so rather than including all the code in my wp mail function, is it possible to have the code in a separate ...
0
votes
1answer
165 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
108 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
186 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 ...
0
votes
0answers
123 views

Two emails being sent on user registration

I'm having a problem where visitors are receiving two emails when they register for an new account. One email has a welcome message that I have set, and one is empty. I want to disable the sending of ...
0
votes
3answers
1k views

Create custom welcome email without a plugin

Is there a way to customize the email content and subject for the welcome and verification emails sent during the registration process for Wordpress? I'd like to hook or filter in without using a ...
-1
votes
1answer
2k views

I want to Add My Product Image to Admin Order Email in Woocommerece [closed]

I want to Add my product image (product which is ordered) in a thumbnail form to recognize the product easily by admin, in Admin Order Email.
0
votes
2answers
62 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
81 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
25 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
94 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 ...
0
votes
1answer
28 views

Email notification

Im trying to enrich this notification with subject (post title) and content, rather than its current view and edit links, could anyone help? <?php function __notify_admin_on_publish( $new_status, ...
0
votes
2answers
102 views

Two WooCommerce installations on the same server, one sends customer emails but the other does not

Currently I have two WooCommerce setups both running on the same server for demonstration and testing purposes. Each is installed on a different subdomain. One sends out registration and forgot ...
1
vote
2answers
2k views

Post Via Email - How to send Attachments with it (e.g. PDF File or JPEG Image)?

In regards to the 'Post via Email' feature, does anyone know of a way to send an attachment with it? In this case it would be a PDF document.
0
votes
2answers
881 views

wp_mail recipient array not sending?

I am using wp_mail to send an email to multiple recipients. my mail function looks like this: wp_mail($group_emails, 'my subject', 'my message', $headers); $group_emails is an array of email ...
0
votes
2answers
71 views

Wordpress Form To Email.php and Theme

I have some custom forms in my template pages. I'm using a form "action" to link to a formtoemail.php file. Everything works if I leave formtoemail.php as is, but I would like to call in my theme ...
-1
votes
1answer
209 views

How to hook wp_mail to add a custom email as BCC for each sent email?

Is there a way to hook into the wp_mail function to add a custom email as hidden (BCC) copy to each email sent? If so, how? -edit- It's not like I want to send an email with BCC, I would like to ...
-1
votes
2answers
90 views

Cant login, Password MUST be reset error, after reset

I recently forgot login to my wordpress, I changed password in mysql to md5 and can now login... But when i do i get: "Please enter your username or email address. You will receive a link to create a ...
0
votes
1answer
164 views

wpmu_signup_user_notification filter not working

I'm trying to customise the activation email in WordPress. I'm using WordPress 3.8 Multisite (subdomain). I added the following code (from ...
0
votes
1answer
322 views

Add “Email Image” button with Hyperlink for individual images [closed]

I use NextGen Gallery in combination with "Share My Gallery" and "prettyphoto Media" plugins to create and display image galleries that allow visitors to share individual images. I would like to add ...
0
votes
1answer
194 views

Comment notification not working

I use a different theme named Team Talk (Premium). Since I use this theme, I don't receive the new comment notification by email. I don't know where to look at but I found this in my new theme : ...
0
votes
1answer
976 views

Reset Password - change from name and email address

When the password reset goes out, the name is 'WordPress' and the from address is wordpress@domain.com. I need to change these to the company name. I'm running WordPress 3.8 multisite and have done ...
0
votes
2answers
186 views

Trouble using antispambot()

I have a custom field in a theme that contains an email address and was pleased to find antispambot() <p><a href="mailto:<?php antispambot(the_field('queries_e-mail')); ?>"> ...
0
votes
2answers
138 views

login with email and no password

I am designing a site that the client wants to only have members use their email to login and no password. Here is the old site and they want something like this. Is this possible with wordpress. ...
0
votes
1answer
4k views

Woocommerce custom email after order is submit

I want to create an custom function that can send an custom order email to an chosen supplier (in the checkout form). But when i try to get the data from the checkout in the email, the checkout form ...
0
votes
1answer
156 views

Custom notification for contributors when posts are scheduled

I'm working on a custom notification to be sent to contributors when their post is scheduled for publication, sharing the scheduled date of publication and various other information (title, category, ...
1
vote
1answer
2k views

How to auto send email when publishing a custom post type?

I'd like to have an email automatically sent out to my website's subscribers when I publish a post for a specific custom post type. I've found a few plugins that will do this but only for regular ...
0
votes
1answer
149 views

arguments for comment_notification_text filter

From WP codex: comment_moderation_text: applied to the body of the mail message before sending email notifying the administrator of the need to moderate a new comment. Filter function ...
1
vote
0answers
50 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 ...
2
votes
1answer
4k views

Send automatic mail to Admin when user/member changes/adds profile

Is there a way to send the updated/added values from profile, when a member/user updates his/hers data, to the admin of the site or another emailadress? Can this be the first step? /* do something ...
5
votes
2answers
4k 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) { // ...
1
vote
1answer
322 views

Email sent from WordPress has html tags

Instead of: Hello, Thank you dfasdfasdfasdf asdf asdf asdfas dfs Please, feelasdf asdf asdf I am getting something like this in the email that arrives to my mailbox: <p>Hello,</p> ...
9
votes
4answers
8k 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
0answers
269 views

A attachment file with a php form in wordpress?

I am making a PHP form in WordPress. I would like to receive a notepad or PDF file along this form when user submit form. I am getting all this in email using mail function in a body variable for ...
0
votes
2answers
118 views

Emailing only the users of a MultiSites Sub-Sites

Context: Creating a MultiSite in which each Sub-Site will have it's own set of users that they belong to. These users are only able to view their own site. I was wondering what the easiest way to ...
0
votes
1answer
128 views

get_post_meta is always empty when I use wp_mail

I made this action hook which will send an email to the users every time a new post in the custom post type "events" is made. function email_members($post_id) { global $wpdb; $usersarray = ...
0
votes
0answers
83 views

Is there a way to get the site_url in HTML code?

I have a WordPress website and it sends some transactional emails to the users. I create the template using HTML and I've been wondering if there's a way to add the <?php echo site_url() ?> in ...
1
vote
1answer
376 views

Send email to user that his post has been rejected

I am searching for a solution for the following problem: I am using WP User Frontend, so that users can create posts in the frontend. After saving, the admin needs to review the post, and the ...
2
votes
2answers
422 views

Custom function for “Submit for Review” hook

So I manage a blog of about 15 contributors and 5 editors. I wanted to implement a system so that each time a contributor hits the 'Submit for Review' button, and email is sent to the editors to ...
0
votes
1answer
87 views

Email Subscribe for Downloads in Wordpress

I have a wordpress blog. I want to allow download files for only subscribers. How can I do that ? Any help would be appreciated. Also when I get the email of user, the user must be subscriber first ...
0
votes
1answer
81 views

WordPress and IPN problem

I have created a file in my template folder called ipn.php: <?php $req = 'cmd=_notify-validate'; foreach($_POST as $key => $value) : $value = urlencode(stripslashes($value)); $req .= ...
0
votes
1answer
130 views

Send message to author without showing email address [duplicate]

I'm trying to find a way to send via a simple form a message to an author (from frontend, everyone can message) without having the author email address visible in html. Do you know if there is a ...
0
votes
2answers
70 views

Do something when user creates post (that's pending)

How do i do something when a (normal) user creates a post (that is submitted for approval) I currently have: function emailinvestment( $new_status, $old_status, $post_id ) { if ( ...
1
vote
1answer
209 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 ...
2
votes
1answer
242 views

Disable WP notifications for commenting on own posts

How/where can I disable WP email notifications for commenting on own posts? I want to do this globally for all users on the site, not only per-user through WP admin. Are there any hooks which I can ...
1
vote
1answer
186 views

Wordpress comments email notification for authors

I'm admin of a question and answers website in WordPress. All users are defined like authors. I have the problem that when I approve a comment ( an answer to a question), the author receives too much ...
1
vote
0answers
214 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 ...
4
votes
3answers
381 views

How can I send a welcome email to a user AFTER they login for the first time?

What I want to do is after a user creates an account... they log in for the first time it will kick off a welcome email to the user that will give them an overview of the site and suggestions of what ...
0
votes
1answer
189 views

Send confirmation email when a user's role is upgraded

I've been searching around for a solution but am coming up dry. I need to have a confirmation email sent to users when their role is upgraded. By default users are signed up as contributors and make ...
1
vote
1answer
288 views

How do I successfully create a hook for an email override?

I'm creating an online apartment rental application using Visual Form Builder Pro. I need to have completed forms go to certain managers based on the property selection. Once a user selects a ...