The tag has no wiki summary.

learn more… | top users | synonyms (1)

1
vote
1answer
610 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 = ...
0
votes
1answer
45 views

Is it possible to put the add-filter()-hook into a function?

for my plugin with a lot of different features, I want to realize a mail-function to send HTML-mails. For this I have to add a filter-Hook like this: function set_content_type($content_type){ ...
1
vote
1answer
229 views

email sends from wordpress@domain.com even though I have it set to something else

My wordpress settings email is contact@domain.com. When I search my entire database for the email of wordpress@domain.com, it does not exist. Yet my registration emails are still sent from ...
0
votes
1answer
295 views

send bulk emails without timeout

I am developing a plugin that sends emails out to users. I am having difficulty in finding the most performance enhanced way to send these emails out and prevent a server timeout. In other words, I ...
0
votes
0answers
13 views

send email on update in post [duplicate]

when i try update any post both the event are firing and getting two mails. 1 st one about update in post. 2 nd about new post creation with same name. actually, iguess at the time of update event i ...
0
votes
0answers
124 views

Emails not getting delivered to Hotmail addresses

Recently Hotmail users are unable to receive their password email when they register or use the "Forgot my password" link to get a reset link emailed to them. So far this is only a problem for ...
0
votes
2answers
1k 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 ...
2
votes
3answers
8k views

Wordpress refuses to send mail, “…your host may have disabled the mail() function”

I recently implemented a comment area on my website and tried to get the email notification functionality to work. It doesn't seem to want to send email notifications when new comments are made. Just ...
1
vote
1answer
583 views

Send mail to wordpress admin

I have a page on my wordpress site that has some fields to be filled by visitor. On the click event of 'submit' button, all the details filled by visitor should be mailed to the wordpress admin. I ...
0
votes
1answer
434 views

Create WP account from an external email form submission?

I have a single email field form on a static, 1 page html website which upon submitting, I would like it to pass the entered email to a WordPress install to use as an email for a new account. The html ...
0
votes
1answer
308 views

get_user_meta() doesn't include user email?

I simply wonder why <?php var_dump(get_user_meta(4)); ?> doesn't contain an email address of the user. Instead I have to use get_userdata(4)->user_email; to query the email of the user. ...
0
votes
2answers
195 views

One comment per user email per post

i have this code to limit the comments per user. <!-- #only one comment --> <?php global $current_user,$post; $args = array('user_id' => $current_user->ID,'post_id' => ...
-1
votes
1answer
851 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.
1
vote
2answers
2k views

Adding a second email address to a completed order in WooCommerce

Before I ask this question, I know there is a (legitimate) hesitation to answer questions here about Woo products since they have their own support and their users should be encouraged to use that. I ...
0
votes
1answer
148 views

How to add a button to check the emails of my domain?

I am looking for a button in the main menu that I can click it and then can send me to ask my email and password and after I put it I can see my emails from my domain. Why? Because I have workers ...
2
votes
2answers
193 views

How do I allow users to follow a post and then allow admins to email all users who have followed that post?

I'm looking to build out the following functionality, but I'm having trouble finding any help on it: user follows a post > user's email is pulled into an admin page and associated with said post > ...
0
votes
1answer
141 views

Adding attachment file name to email link

I'm doing up a photography site where each post is a photo project, and each post attachment will be displayed on its own attachment page (linked to from the main post page). On the attachment page, ...
1
vote
1answer
1k views

Turn off admin emails for new user registrations

How can I turn off email notifications for the user and admin when a new user is registered? I've seen a few suggestions and plugins but none appear to work. One was to take the function from one of ...
1
vote
2answers
157 views

How to set up a simple email subscription?

I am working on a new Wordpress site, and I want to have a placeholder "under construction" page while I'm setting it up that has a link to subscribe to an email service. The subscription service ...
0
votes
1answer
165 views

How can I restrict php mail() to only send me one email after a db error

I'm in the process of customizing dp-error.php. I'm using the mail() function to alert me when there's a database connection problem on my website. The trouble is, what if 1000 people visit my website ...
0
votes
1answer
261 views

Contact Form 7 Plugin emails not being received by some accounts

I am using contact form 7 to send an email form. I receive them, but my clients' email addresses - one at the host and one at gmail, never do. They claim that none of the messages end up in their ...
3
votes
1answer
282 views

Writing a plugin that notify my friends of new post that mentions(@) them

For example, I write a new post with content "Today I'm happy, because I finally met the girl that @David told me about bla blah..." Once the post is published, there should be an email notification ...
0
votes
1answer
166 views

How to check if an email was sent from or originated from a specific plugin?

How to check if an email was sent from or originated from a specific plugin. E.g. I have an SMTP plugin which sends all mail via SMTP however I would like to determine in the SMTP plugin. If an email ...
1
vote
1answer
413 views

Notify comment author upon reply

To improve communication between guest commenters and authors, I am fiddling with a script that sends an email to the author of a comment when it receives a reply. Here is how the code looks so far: ...
0
votes
1answer
208 views

how to run loop in function.php that sends email based on specific conditions?

So far this code works if I run it as a page in WordPress. I am trying to send my user email updates when I publish a post with with a specific tag. The users can choose if they want to receive the ...
0
votes
1answer
97 views

Not able to override pluggable function with a mu_plugin

I'm trying to modify the email that's sent to users when they are invited to join my multisite network. Understanding I can only use the pluggable function, how do I override the default email with a ...
0
votes
3answers
598 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
248 views

Add “Email Image” button with Hyperlink for individual images

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

Wordpress Won't Send Email When a User Register

When a user registers on my wordpress site, it does not send them an email containing the password. I do notice that an email was sent when a users email is @mydomain.com, but for others let say ...
0
votes
1answer
578 views

Email from my theme's contact form doesn't get the reply-to address right

I'm using a theme that has a built in contact form, which has some options (like where the form is sent) set through the OptionTree plugin. What's happening is, the email gets sent, but the reply-to ...
-1
votes
1answer
390 views

New User Registration email

I am receiving an email notification whenever a new user is added to my site. I need to change the default 'send-to' address. It is using a personal email, rather than my 'webmaster' email. Where is ...
0
votes
1answer
160 views

Subscribe to a post's comments without posting a comment yourself

I've seen a few plugins (subscribe2, subscribe to comments) that allow people that have commented to receive emails containing follow up comments. What I want to do is slightly different. I want to ...
0
votes
1answer
342 views

need a confirmation text to appear on email submission

With help of other relevant posts here, I have put together a code which allows the users to send me a list of selected posts via e-mail and it is working fine. Now, I would like a confirmation text ...
0
votes
1answer
80 views

Invalidate username if it contains @ symbol

I would like to let the user login either using username or email. The only way to find the email is by detecting @ symbol using strpos. However WordPress allow @ symbol in username too. Can ...
1
vote
1answer
76 views

PAGE Specific Email Notifications

Is there a plugin, or a way that I can set a PAGE that has comments enabled to send an email notification to my subscribers? I don't want to enable email notification for all my pages that allow ...
0
votes
1answer
42 views

Changing old email to new email, lost the password

Help! I have been accepted to write a blog for our local newspaper, The Rolla Daily News, in Rolla, MO. I cannot access my wordpress.com blog. We moved from a rental house in the country to a new ...
4
votes
2answers
4k views

What's the easiest way to setup SMTP settings programmatically?

Assume we have blank WP site and we want to setup SMTP settings programmatically in our plugin or theme. What's the easiest way to do it without changing core files?
0
votes
3answers
2k views

Wordpress Add New User - Send an Activation Email

I edited the Add New User Profile page to add some custom fields (I'm not using multisite). My question is if there is a way to send out an activation/confirmation email to new users once I manually ...
-3
votes
1answer
128 views

Not receiving mail using wordpress function

I'm not receiving emails when using the following function. Is there another method that works or that I can test? <?php $data = ob_get_clean(); ...
3
votes
1answer
349 views

Buddypress send email notification only if user is not logged in

When a member send a message to another member, the recipient receive a message in buddypress and also an email. I want to change that because if you receive many messages, you have too much mail in ...
1
vote
1answer
50 views

Same email for all comments

I have An administrator must always approve the comment checked, as well as Email me whenever Anyone posts a comment. This sends an email to the post author. I don't want that. I have one person in ...
2
votes
1answer
129 views

other shortcodes in Contact form 7 MAILS

How to use other shortcodes inside Contact form 7- forms? indeed explains how to use other shortcodes inside Contact Form 7 forms. But that doesn't make them usable in the mails that Contact Form 7 ...
0
votes
1answer
90 views

Using PHP mail; getting Header warning

I've created a contact form using PHP mail() directly inside a page. It successfully emails te contact information to the recipient. However, it won't advance to the confirmation page identified in ...
0
votes
1answer
296 views

Contact Form 7 - E-mail message template

In contact form 7 email settings, I put in all the necessary details like below: However, when the e-mail is sent, it still has the "Wordpress" title or person who sent it in gmail: What am I ...
0
votes
2answers
272 views

How to use filter on comment submission/insert

I am working on a small project for my family to share info, recipes etc. And I added a "@" mention feature. Now that the mention feature works I need to notify the user they were mentioned. I ...
0
votes
1answer
106 views

Avoid too long words in a post title, post content or comment but only if its not a url

I want to prevent users from posting things like "aaaadfgdfgsdfgdaaaadsfgsdfgaaasdfgdfaaadfgsdfgaaaaaaaajahkjhkahkkjkjhaa..." which would not only be annoying but would certainly break the content div ...
0
votes
3answers
2k views

Contact Form 7 not sending emails- no confirmation, no error

Live site. I've noticed that Contact Form 7 recently stopped working, despite my not having touched any of the settings. What's odd is that I receive neither a confirmation nor an error message; I ...
1
vote
0answers
633 views

Sending all emails using SMTP

I tried using both Configure SMTP and WP Mail SMTP to send all domain emails through my donotreply Google Apps email address, but neither plugin worked. Attempting to send test emails through either ...
0
votes
2answers
128 views

Auto 301 to full post permalink? (using : /archive/%post_id% to %post_name% )

I have updated my permalink structure to /archive/%post_id%, but if someone uses a URL like /archive/456857 instead of the full URL of /blog-test, WordPress shows the post without giving a 301 to the ...
1
vote
3answers
99 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 = " ...