The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
83 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
87 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
38 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 ...
0
votes
0answers
15 views

Bookmarking a post in exchange for an email?

I was asked to implement a feature that this website https://medium.com/ has, which is the ability to bookmark a specific post by making the user register an account with the website. This is the ...
0
votes
0answers
9 views

transition_comment_status called when untrashing comments [duplicate]

The author gets two mail when I untrash a comment. I only want to send the "untrash_answer_notification"-mail when untrashing comments. Any ideas? // Send mail to user when their comment has been ...
1
vote
1answer
625 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
0answers
20 views

Email “child comment” author when attached post has been deleted!

This function works great when trashing a comment or deleting a child comment, manually. But when I trash a post or even delete it, the action "delete_comment" doesn't seem to run. function ...
1
vote
0answers
50 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
0answers
14 views

Attaching a media file to email link from webpage? How?

When someone clicks a link on my webpage I want it to come up as an email with a document from my media folder already attached to it. How do I do this? Thanks!
0
votes
1answer
312 views

Only single mail function is working from double mail functions one after another on wordpress

I am having a html form in my wordpress page and i have call action on my form. The file which is calling an action is saved in the root of wordpress directory. sending-mail.php I have two mail ...
0
votes
1answer
140 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
96 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
148 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
2answers
1k 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
57 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
99 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
0answers
63 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
22 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
83 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
25 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
93 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 ...
0
votes
2answers
726 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 ...
-1
votes
1answer
193 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
77 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
144 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
154 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
807 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
69 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 ...
0
votes
0answers
52 views

Adding an image and background colour to confirmation email

When a user registers for my site they get an email showing them their username and password but I would like to know how I can add a background color and image to these emails. I use the WP Register ...
0
votes
0answers
30 views

Multiple emails for same user - outdated?

I've looked at this and tried it: (the single site solution) How to use same email for multiple users I've tried it, but I could not get it working. I don't know if it's because the Wordpress don't ...
0
votes
0answers
102 views

approval of posts via email

Update: Ok, not sure how much all that makes sense, so will try and write a brief explaining the problem a bit better. I have my code working so via email using 'post status transitions' the user ...
0
votes
2answers
141 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
0answers
252 views

Using wp_cron with wp_mail to send bulk email

I am working on a custom plugin to send recurring invoices on the 1st of every month. So far, the plugin is working pretty well. It creates new invoices for each user based on their order and does ...
0
votes
2answers
134 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
145 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
3k 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
140 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
47 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 ...
5
votes
2answers
3k 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
222 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> ...
0
votes
0answers
244 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 ...
3
votes
3answers
613 views

wp_mail - Remove sitename from email subject

Can some one tell me how to remove site name from email subject. As of now my email subject looks like this [sitename] - Subject goes here I want it to look like this Subject goes here I ...
0
votes
1answer
124 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
75 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
333 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 ...
0
votes
1answer
73 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
85 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
154 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
2answers
60 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
117 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 ...