Questions tagged [smtp]

Simple Mail Transport Protocol-- one of several protocols used by mail servers and mail clients to send and receive email.

Filter by
Sorted by
Tagged with
0 votes
1 answer
98 views

SMTP email does not work even with the right firewall rules

I am using Mailer Send as my SMTP service and the Fluent SMTP plugin. But it does not matter the plugin with every SMTP plugin I get this error. When I try to send emails, I always get this error: { ...
AYNTK's user avatar
  • 5
0 votes
1 answer
48 views

Help with cPanel and sending email

I've been working a wordpress site that is now hosted on cPanel (not my choice) and I'm having a really difficult time getting cPanel to send out email to an email address. This isn't helped by the ...
Burns's user avatar
  • 3
0 votes
0 answers
280 views

Call to undefined function _deprecated_file() in class-smtp.php

I have moved two wordpress sites from a hosting provider to my own VPS with plesk. The status given by the wordpress toolkit plugin of plesk is "broken. When I look at the error details the ...
Niels's user avatar
  • 1
0 votes
0 answers
31 views

Choose from different emails for different purposes

I use multiple email addresses on my domain for different purposes... I run eshop on my site, and I'd like all order-based stuff to be sent from orders@domain.com (currently set in SMTP and working ...
Strejda603's user avatar
0 votes
1 answer
24 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 ...
grzybowski1911's user avatar
0 votes
0 answers
102 views

Using SMTP Function instead of Plugin (functions.php)

While this works just fine, I am concerned that it poses a security threat. Does it? add_action( 'phpmailer_init', 'send_email_using_smtp' ); function bsend_email_using_smtp( $phpmailer ) { $phpmailer-...
Marcus Wood's user avatar
0 votes
0 answers
24 views

Wordpress doesn't work properly with non standard domain names - PHPMailer fails when initialising

While debugging Wordpress password reset functionality in a test environment on a local macbook, Wordpress would get stuck when sending emails. Basically, before sending emails, a check is done in wp-...
Riccardo's user avatar
  • 931
0 votes
1 answer
96 views

Using WP_Mail on MacOS 12 (Monterey - M1) [closed]

On a brand new Macbook running Monterey (M1), as PHP was removed by Apple on OS 12, I have removed all "AMP" preinstalled by Apple and installed HomeBrew "AMP" (with PHP 7.4), ...
Riccardo's user avatar
  • 931
0 votes
0 answers
252 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. ...
Flagmans's user avatar
0 votes
1 answer
37 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 ...
Prageeth Liyanage's user avatar
0 votes
0 answers
121 views

Running SMTP Conditionally

I'm working on developing a support website and I'm using Gravity Forms to handle the support ticket form. I have the form notification configured so that the "From" shows my client's email ...
Brandon's user avatar
0 votes
0 answers
96 views

Send email using wordpress plugin on behalf of someone with their permission

I have seen a few sites that send an email on behalf of a user, however when the email comes through it appears only as if its come from the user. For example contact forms on websites. I am looking ...
User101's user avatar
  • 101
0 votes
2 answers
556 views

SMTP Error: Could not authenticate [closed]

In wordpress I am getting error SMTP Error: Could not authenticate. Here is the log file: Versions: WordPress: 5.6 WordPress MS: No PHP: 7.4.3 WP Mail SMTP: 2.5.1 Params: Mailer: smtp Constants: Yes ...
somutesting's user avatar
2 votes
0 answers
29 views

Storing Email Account Passwords for SMTP Mailing for a WordPress Plugin

I am currently converting a client booking system I created into a WordPress plugin. It uses the PHPMailer library to send emails. I am using SMTP security to send the emails and thus need the email ...
Lucas Johnson's user avatar
1 vote
2 answers
166 views

Setting up 2 SMTP accounts: 1 for wordpress and 1 for woocommerce

I wish to set up 2 smtp accounts on my wordpress site: 1 for woocommerce orders 1 for all other forms i have the following code, but i am having trouble filtering the woocommmerce order. I am ...
jamey's user avatar
  • 13
2 votes
1 answer
962 views

Send emails with wp_mail() using SMTP configured in plugin

I have the plugin Easy WP SMTP installed and there I have configured sending my WordPress mails with SMTP. I send emails with a cronjob to my users with the wp_mail() function. I was asking myself, ...
LovinQuaQua's user avatar
1 vote
1 answer
616 views

Wordpress 'on behalf of' email

Hi all the below contains example names so not to give my website away. I have a wordpress site called blah.com that has a woocommerce shopping cart which is blah.com/products When someone receives ...
TiNiB's user avatar
  • 13
1 vote
1 answer
2k views

Hook into and send mail using WP Mail SMTP type plugin from HTML static front page?

I am reusing an HTML Bootstrap page as a static front page on a WordPress site. The front page has a form in it which I want to use as a Contact Me form. I've installed the widely used WP Mail SMTP ...
ClintonGallagher's user avatar
1 vote
1 answer
403 views

How to configure two SMTP Server for wordpress

What I need is : I need to send transactional e-mails from two SMTP configurations. All WooCommerce side of e-mails should send from [email protected]. Example: order summary, delivery status. ...
Varuna's user avatar
  • 13
3 votes
2 answers
1k views

Safe to store SMTP password in wp-config.php?

I am using SMTP to send email through WordPress, however this requires using plain text password. What if this password is stored in wp-config.php? Very similar to this. Why this topic differs from ...
Riccardo's user avatar
  • 931
0 votes
1 answer
684 views

WP Mail plugin not sending the mail

the plugin WP Mail SMTP v1.4.2 logged this error during the last time it tried to send an email: Mailer: Default (none) PHPMailer was able to connect to SMTP server but failed while trying to send an ...
khan's user avatar
  • 11
0 votes
0 answers
37 views

can't submit mail from contact 7 form site using wp mail smtp

I have hosted a wordpress site in bigrock server.Then moved it to clients server(Godaddy). Then the contact 7 form stopped working.i have configured the smtp using zoho mail.It is working fine in ...
beginner's user avatar
3 votes
2 answers
1k views

How to set up gmail SMTP in Wordpress

I'm trying to set up an SMTP gmail server to send emails from my WordPress site. This is what I've got in my wp-config.php: define( 'SMTP_USER', 'mya[email protected]' ); // Username to use for ...
ellen's user avatar
  • 345
0 votes
1 answer
2k views

How can I configure an SMTP Server?

I'm trying to follow the instructions here: https://gist.github.com/butlerblog/7e4dbafcbc61b15505ee8ca90510f1e7 But I'm getting confused. I'm not sure what arguments to pass where. Here is what I ...
ellen's user avatar
  • 345
2 votes
2 answers
4k views

How to setup SMTP for only one specific wp_mail()

I just want to setup SMTP for a specific instance of wp_mail(). I have tested plugins like "Easy WP SMTP" and also checked how to set up SMTP manually but all these apply to the entire site and then ...
Unnikrishnan R's user avatar
0 votes
1 answer
9k views

Easy WP SMTP plugin test email failed

I'm new to the Wordpress world and just installed the Easy WP SMTP plugin on the website. At the time of sending the test email, I get an error message. The debug info says, Debug Info CLIENT -> ...
Arefe's user avatar
  • 103
0 votes
1 answer
6k views

Getting 400 Error: redirect_uri_mismatch when trying to grant permission to Gmail SMTP plugin

I am trying to add Google SMTP plugin to my wordpress website. I have installed plugin, then went to Google Developer Console created new project, added Gmail API, added Credentials. Now this step ...
Matas Vaitkevicius's user avatar
0 votes
1 answer
83 views

SMTP not working for Comments Email Notifications

The problem is that I'm not receiving wordpress emails except the ones generated by sucuri plugin. I want admin to receive email notification on every new comment and post updates. Previously, my ...
Maryam's user avatar
  • 11
1 vote
1 answer
1k views

Email Bounce Address

I'm having a little issue with my SMTP. I use a plugin WP MAIL to manage the email configurations as it makes it easy to run in/outgoing emails without leaving unsent or stuck mails. Everything is ...
user avatar
0 votes
1 answer
1k views

Is Postfix required for WordPress contact forms in general?

If I remember correctly, I could get data from ContactForm7, for example, into my personal Gmail account, without doing apt-get install postfix -y, though I might be wrong and I did install it. I don'...
Arcticooling's user avatar
0 votes
1 answer
442 views

wp mail smtp earlier version

Dose anyone have an earlier version of the plugin wp mail smtp? It doesn't work when I update the plugin. Send the earlier version to my email [email protected] will be appreciatted. Thanks in advance!
C. Ding's user avatar
  • 113
1 vote
1 answer
3k views

What is the way to hook all wordpress email

I have a wordpress site that have plugins: Contact form 7, WP Mail SMTP Plugin by Mail Bank, Spartpost...All of these plugins are able to send out email by anyway (wp_mail, smtp, http api)... I am ...
Rain's user avatar
  • 13
0 votes
0 answers
629 views

WP_mail() Issue. Duplicate emails if $_GET['A'] == email

I have been scratching my head since last few hours. But still not able to find the cause of the issue. I have created a wp_mail() function which is as follows: if( !empty( $_GET['A'] ) && !...
bakar's user avatar
  • 101
1 vote
1 answer
177 views

WordPress unable to send mail

I am unable to get email functioning in WP 4.8. I have WordPress running on a Bitnami LAMP stack. All modules/plugins/themes/languages are up to date. I have an SMTP host that is effectively an ...
Patrick's user avatar
  • 119
0 votes
1 answer
951 views

Different SMTP based on domain

I have a multi-domain wordpress site, set up so that https://example1.com and https://example2.com both work and show the same content (but with the address bar showing whichever domain was used). I ...
Stephen's user avatar
  • 933
0 votes
3 answers
2k views

SMTP connect() failed

We are trying to get our set up an SMTP function but keep hitting errors with the test email. We even tried both WP-Mail-SMTP and Easy WP SMTP. After talking with our host at WPEngine we couldn't find ...
IamDade89's user avatar
0 votes
2 answers
3k views

Create mail form using PHPmailer

I'm learning about coding plugin. I trying to create a form in plugin page and it can send mail. This is my code, but it doesn't work(I did not receive email and did not show any error). add_action(...
kyrie's user avatar
  • 37
0 votes
3 answers
2k views

WordPress doesn't send SMTP email even by phpmailer hook

I used this code in my child theme(child theme functions.php): add_action( 'phpmailer_init', 'wpse8170_phpmailer_init',0 ); function wpse8170_phpmailer_init( PHPMailer $phpmailer ) { $...
Hossein Hashemi's user avatar
1 vote
1 answer
901 views

SMTP Issues with Office 365

I'm having issues setting up SMTP for Office 365 using the Easy WP SMTP plugin. I keep getting the following vague error message. SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/...
bhood's user avatar
  • 257
0 votes
1 answer
313 views

WordPress stops executing code after the require() method

I'm trying to set up SMTP for my custom contact form. I have placed the latest PHPMailer folder in my theme folder. I created a page template for Contact Form and added the code for the contact ...
IAmMilinPatel's user avatar
2 votes
1 answer
8k views

How to use 'phpmailer_init' SMTP settings only on certain 'wp_mail' actions?

Is there a conditional check I can run for phpmailer_init or a wp_mail parameter that let's me apply my custom phpmailer_init SMTP settings only on specific wp_mail actions or does phpmailer_init ...
tomyam's user avatar
  • 307
0 votes
0 answers
3k views

Sending SMTP mail using a server with self-signed SSL

The problem I need to solve I have a web server in a network where the port 25 is blocked for outgoing traffic, and in order to send emails it is mandatory to obtain an account and use authentication....
That Brazilian Guy's user avatar
0 votes
0 answers
217 views

Email Piping using google apps within WP Engine

I am working on a feature where I need to catch all the incoming emails or email piping. My site is hosted in WPEngine but they don't host emails. They have suggested third party mailing service like ...
user3204038's user avatar
-1 votes
1 answer
1k views

How to Configure SMTP on wordpress Cant Send Email

I am Currently working on a project in which my only problem is SENDING an email from site to Gmaill yahoo etc. I want to configure the SMTP so I can make Independent Email Sending. My problem is ...
user2693428's user avatar
0 votes
2 answers
1k views

Why is wp-login trying to send an email?

My host sent me the following message: Below are the recently upload scripts that contain code to send email. You may wish to inspect them to ensure they are not sending out SPAM. /home/...
user57465's user avatar
0 votes
0 answers
254 views

Change wp_mail SMTP settings for each E-Mail

I want to send mails using wp_mail function. I have multiple SMTP accounts login details. I want to send some mail using Account A and some using Account B. How can I send mails with different ...
user avatar
3 votes
1 answer
23k 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 ...
Desi's user avatar
  • 1,199
2 votes
3 answers
5k views

Error when requesting password reset email - wp authentication

I get the following error whenever a user tries to request a password reset email: The e-mail could not be sent. Possible reason: your host may have disabled the mail() function. As per ...
timshutes's user avatar
  • 1,010
0 votes
1 answer
726 views

how wordpress smtp works? my emailing is not working

All of my wordpress emailing is not working. I have created a test file for smtp emailing. it works OK. I put on /test.php and works great! So I think that hosting or server don't cause this problem. ...
pulla's user avatar
  • 693
1 vote
0 answers
424 views

Google Apps SMTP for WP MultiSite?

How can you force WordPress MultiSite to send all emails via a Google Apps SMTP server? I have attempted to use Easy WP SMPTP, however that does not work exactly as I'd hoped, not to mention it fails ...
ylluminate's user avatar