The tag has no usage guidance.

learn more… | top users | synonyms (1)

0
votes
1answer
381 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
156 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
35 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
1answer
341 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.' }}', ...
0
votes
1answer
81 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
0answers
339 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
2answers
2k 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 ...
3
votes
3answers
16k views

Send email when a new post is published [closed]

I'm looking for a method, or plugin, that will allow me to do the following: User can signup to a 'notifications' email list When a new post is published on the site, users on this list are ...
1
vote
1answer
157 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 ...
0
votes
1answer
270 views

Help with filter for wp_notify_moderator()

I have a case where I have multiple Administrators. Not all of them want to be notified per email when there was a comment posted or is held for moderation. The Settings > Discussion page only ...
-1
votes
1answer
469 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
100 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 ? ...
0
votes
2answers
2k views

Automatically send an email to list when blog is updated

I am trying to implement a system where a user makes a blog post (to a set category) and as part of that sequence, or in addition to, it does the following: Create a new email based on a template ...
2
votes
1answer
334 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 ...
8
votes
1answer
8k views

How do I customise the new user welcome email

How can I customise the the new user welcome email ? I tried 'http://www.sean-barton.co.uk/wordpress-welcome-email-editor/' however it conflicts with some of the other plugins I need to use, Cimy ...
0
votes
1answer
396 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 ...
2
votes
1answer
5k 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 ...
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 ...
-1
votes
2answers
78 views

How can I prevent wordpress from sending emails

I would like to stop all email functionality in my wordpress installation. Is this possible with a global flag? or maybe by forbidding this installation to use the php mail function at all in ...
0
votes
1answer
2k views

Can't send mails using contact plugin [closed]

There are many contact form plugins available but none of them succeeds in sending mail even contact 7 form. Only the default contact form of Jetpack wordpress succeeds in sending the mail. But the ...
2
votes
1answer
2k views

Mail not sent when I set HTML headers

$subject = get_the_title(); $sender_name = get_bloginfo('name'); $blog_url = get_bloginfo('url'); $to = 'myemail@mydomainname.com'; $subject = 'the subject'; $message = 'hello'; $headers = ...
1
vote
0answers
74 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
2answers
4k 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
251 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
256 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
389 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
3answers
3k 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 ...
0
votes
1answer
3k 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
112 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
290 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
166 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
34 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
158 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.
1
vote
2answers
2k 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
95 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
344 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
165 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
404 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
412 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
360 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 : ...
1
vote
2answers
494 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
226 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
10k 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
205 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, ...
0
votes
1answer
254 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
64 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
5k 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 ...