2022 Developer Survey is open! Take survey.

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
0 votes
0 answers
21 views

User with same Mail but a different additional info(like domain)

I know this is not the way u should go, but my customers want it so im looking for ways. Requirement: WP with one DB (3 Domains sale the same stuff) 3 Domains which use this DB (can be more later), ...
user avatar
0 votes
1 answer
10 views

Mailing issues with wordpress?

I'm working on a client's website and they are not getting messages from the site anymore. I've found that no mail will go to an email address ending in @gmail.com, I can send mail just fine to anyone ...
user avatar
1 vote
1 answer
27 views

Send email button in custom post type backend

I've added a button in the backend of my custom post type editor. I want to send an email using wp_mail() when admin user click a button. I've added this custom form and button to a meta box. See ...
user avatar
0 votes
0 answers
9 views

I want to setup a button/popup/whatever that will prompt users on the site to input their email address

Newish to programming. I am decent at python and have some experience with building API's.But I have very little experience with PHP/HTML. However after looking at it it seems very simple to learn. A ...
user avatar
0 votes
0 answers
10 views

How to check if woocommerce_order_item_name is use in email?

I am using woocommerce_order_item_name to add meta info to item names in order detail page. I am adding a shortcode. Unfortunately the same shortcode is added to transactional emails and not parsed ...
user avatar
  • 1
0 votes
1 answer
74 views

wp_new_user_notifications to notify user and admin about new user registration

I am using wp_insert_user to insert new users and before inserting the user it checks whether the user exists or not and only the new user are registered. Now I want to notify both users and admins ...
user avatar
0 votes
0 answers
61 views

Using wp_mail to send email?

I have certain instances where I want to send emails to both user and admin accordingly using wp_mail. The first instance is when a new user is created. The following code is used to create users: //...
user avatar
1 vote
0 answers
19 views

How do you ensure that a user is recognised and available for use only when it is verified through a row in the database called 'accountVerified'?

<?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); global $wpdb; if($_POST){ $username = $wpdb->escape($_POST[...
user avatar
0 votes
1 answer
23 views

Email address used by website but I do not know where

I build a website for a client. This client then filled the website with content. I created 20 contact forms, using the contactform 7 and WP Mail SMTP Pro plugin. The website has now more than 100 ...
user avatar
  • 1
0 votes
0 answers
34 views

Sending a password reset link

I'm trying to send a password reset link to a newly created user within WordPress. However when i do this, the password reset link says it's invalid. I have the following code: public function ...
user avatar
  • 1
0 votes
0 answers
21 views

Wordpress - send digital product with custom email

I have a question regarding my new online store. I am providing digital design services to my clients on my new website within Wordpress. I have connected packages trough WooCommerce. I saw that ...
user avatar
0 votes
0 answers
19 views

Email form getting hacked

I had a bit of a disturbing call from a potential client today. Apparently she filled in the form on the contact page, then a day or so later some other designers contacted her for the job, claiming ...
user avatar
0 votes
0 answers
115 views

How to show comments from different Plugins to same post type?

I have two different comments, but both are related to the same post type. The first comments in this way: <?php if (isset($_POST['submit_tickets'])){ $tickets_reply = $_POST['...
user avatar
0 votes
1 answer
68 views

How to get custom post_author?

I have a post type that inserts email as a post. I also created users according to those emails. This is how I added my post type. $post_array = array( 'post_content' => $mail['...
user avatar
0 votes
1 answer
38 views

How to check if `comment_meta` exists before inserting the comment?

I am inserting comments via wp_insert_comment and while doing so I am adding email replies only. Now, I want to check if the comment is already present or not before inserting and if does exist do not ...
user avatar
0 votes
2 answers
52 views

How to get the `comment_post_ID`?

I have extracted the reply emails. The original emails are saved as CPT and work as Tickets in my plugin. I want the reply email to go as a comment to the original email. for($j = 1; $j <= $total; ...
user avatar
0 votes
1 answer
14 views

How to insert data into meta box from another plugin?

I have two different plugins. My custom-post-type is on the first plugin and it has some meta boxes. Now in the second plugin, I extracted the email using IMAP and stored it in the post type of the ...
user avatar
0 votes
0 answers
26 views

About Custom Email Template Design Responsive

I created a custom email function using wp_mail() function. I did everything which is required for mail template. This function is working well. But I need it to be responsive. I found that I can use ...
user avatar
  • 1
0 votes
0 answers
16 views

Wordpress woocommerce new order email not working

I am using woocommerce thank you page hook to trigger functionality for a custom task and in that function I have used 2 wp_mail() methods to send custom mails. This is all working good, However when ...
user avatar
0 votes
1 answer
62 views

See if the email exists or not

I have extracted a bunch of emails using PHP IMAP connection and assigned those emails to a custom post type. Here's the code how I assigned those emails to custom post type. $total = $emails->...
user avatar
0 votes
1 answer
24 views

Does the WordPress core software handle bounces on system email?

The WordPress core sends a number of system emails, such as for password changes and for form plugins that use the WordPress core. If any of those emails bounce, does the WordPress core receive and ...
user avatar
0 votes
1 answer
23 views

How to prevent sending auto emails for specific actions in wordpress

How to prevent sending auto emails for specific actions in wordpress, i have a function that generate password for users, only after the admin accept the user application create_user_password($...
user avatar
0 votes
1 answer
104 views

How to display emails as a post?

I am creating a Plugin that displays e-mails as posts. I used the following PHP to access those emails: <?php class Email_reader { // imap server connection public $conn; // inbox ...
user avatar
0 votes
0 answers
65 views

How to setup the Email piping in WordPress plugin?

I am trying to Create a Ticket plugin that supports Email Piping but I am unable to set up the mail server through the plugin. If anyone knows how to set up the email server please help.
user avatar
0 votes
0 answers
38 views

Is it secure to use SMTP password in .php file in WordPress website?

Currently I am making feedback contact form without a plugin. Trying not to use plugins if possible. In action .php file there must be written server settings such as SMTP server, SMTP username etc. ...
user avatar
0 votes
0 answers
13 views

Send an e-mail on address with the link with disliked post

I have an issue with sending an e-mail on address with the link with disliked post. So, when a guest click on "Dislike" button, link of the post must be submitted to a given e-mail address. ...
user avatar
0 votes
0 answers
24 views

Receive no any emails from contact from 7 wordpress

I set my email in to field but I m not getting any email from this anyone help me out
user avatar
0 votes
0 answers
12 views

How to create a form where you can select multiple recipients, based on a list of website users?

First of all, I'm not a professional developer but I do have basic programming knowledge and experience. I apologize in case someone pulls their hairs at my low knowledge about wordpress development. ...
user avatar
  • 1
1 vote
1 answer
81 views

How can I check if a user's email exists in the database

When making a registration and saving information in the database I want to check if the user's email has already been registrated. function user_id_exists($user){ global $wpdb; $count = $...
user avatar
0 votes
0 answers
15 views

Need to suspend RSS feed while repairing missing old post

Some old posts were accidentally removed from my self hosted site. I started replacing them from back-ups, but the people who subscribe to my WordPress Feed (and email notification) complained they ...
user avatar
0 votes
1 answer
36 views

How do I update user email from frontend input field?

I'm using the below function which is working for my phone and address fields. I can't seem to change the email though... any idea what I'm doing wrong? function um_modifications_callback() { // ...
user avatar
0 votes
1 answer
71 views

WordPress new user email formatting issues

I have a WordPress site where i have Issue with the email, that user receives after creating an account. Email that a user receives, looks like this: https://tinyurl.com/y45bgy5z There is no ...
user avatar
0 votes
0 answers
21 views

How to recover one of WP email addresses?

I am the WP admin of my own website. I recently noticed that I can't connect to one of my email addresses contact@[website.org]. It shows this error: Your sign-in settings don’t meet your organization’...
user avatar
0 votes
1 answer
35 views

Woocommerce Wcvendors - duplicate emails when Vendor approved

I am building a marketplace using WC Vendors on top of Woocommerce. The vendors apply by completing a form, which creates a user with the role 'pending vendor'. As admin, I then click 'approve' or '...
user avatar
1 vote
0 answers
34 views

Wp_new_user_notification doesn't work

I have tried unsuccessfully to replace the email template for user & password. I will explain what I have done based on the documentation and what I have seen here in this forum: I have created my ...
user avatar
0 votes
1 answer
32 views

SMTP emails not picking up the correct From name and From email

I am using an SMTP plugin to manage my emails in WordPress. Previously I used a plugin called EasyWP SMTP. since it did not meet my needs I unstalled it and installed Post SMTP Mailer. now everything ...
user avatar
0 votes
0 answers
18 views

email saying that was not possible to send the email

twice a week a receive an email saying that was not possible to send an email to something@server_for_a_while_connected_email.com this means that that email something@...
user avatar
0 votes
0 answers
125 views

wp_mail email sends twice

I created a button on a User's page. It sends an alert email to the admin. It was sending the same email to me 5 times... but I have made some changes. Now it is sending the same email twice. I have ...
user avatar
0 votes
1 answer
73 views

Custom Email via Hook only for completed order

I wanted to customize completed order with some extra information. To do so, I added this in functions.php add_action( 'woocommerce_email_before_order_table', 'mm_email_before_order_table', 10, 4 ); ...
user avatar
  • 3
0 votes
0 answers
40 views

Access custom meta_data in processing order email

During a woocommerce order, I store a custom meta data inside the order. I would like to display that created custom meta data into the "processing order" email. The following code is ...
user avatar
  • 3
1 vote
0 answers
47 views

Translate emails into the language of the user

The following scenario: An admin activates a function or similar for a user (in the WordPress frontend). Now the user should be informed about this by email. Therefore an AJAX call is sent to the ...
user avatar
  • 11
0 votes
0 answers
32 views

Wordpress emails are not delivered if the recipient email address has a non-traditional domain extension

For some reason, my wordpress site (www.rain.works) appears to fail at sending any emails to email addresses that end in a non-traditional domain extension. I discovered this while trying to send a ...
user avatar
0 votes
1 answer
102 views

How to fetch Email addres of an author via ID?

I want to make an HTML form which will have an input field to fill in the ID of the user. Then I want to pass the value into a php code such that the email address associated with that user ID is ...
user avatar
  • 103
0 votes
0 answers
15 views

How to drip out preloaded WordPress blog posts via email

I'm in the process of loading up a WordPress site with content. When a user subscribes to the site, instead of getting only new blog posts, I'd like that user to be "dripped" all blog posts ...
user avatar
0 votes
0 answers
17 views

Life after Feedburner and their email subscription

I've been using Feedburner for years. Their email subscription feature allowed me to let my subscribers receive an email letting then know when a new post was published. That feature was shut off on ...
user avatar
  • 495
1 vote
1 answer
51 views

Is there no way to send email using SMTP without plugin or custom coding?

This question is part of my effort to solve a problem where after installing some theme, new sign-ups won't get activation emails. I have read an articles about how wordpress sends emails. It mentions ...
user avatar
  • 117
0 votes
1 answer
28 views

reply via email link under each post

I came across this post https://destroytoday.com/blog/reply-link-in-rss-feed-posts where author added reply via email link under each post. I understand this is done by modifying the loop. After ...
user avatar
  • 41
0 votes
0 answers
62 views

Custom Password Reset

I am building a function that should send the user an email with a password-reset-link in it (I am just using it after registration because I don't want my user to set his password while registrating)....
user avatar
0 votes
0 answers
126 views

How to set up MS Exchange Autodiscover alongside Wordpress

My client's IT person has thrown up a flag regarding their need to use MS Exchange Autodiscover service, and that potential issues may possibly arise (ie as a result of sharing the domain with the ...
user avatar
  • 169
1 vote
1 answer
211 views

PHP 8, AJAX mail form to function.php doesn't work

I have code that send message to email, it works at PHP 7.2, but after we changed version to PHP 8 it didn't works. Maybe someone have ideas whats wrong? Function.php function true_add_ajaxform(){ $...
user avatar

1
2 3 4 5
15