Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [smtp]

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

0
votes
0answers
19 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 ...
2
votes
2answers
45 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', 'myaddress@gmail.com' ); // Username to use for ...
0
votes
1answer
47 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 ...
0
votes
0answers
20 views

How to get wordpress default smtp settings?

I need to access default email delivery settings of wordpress website. I am developing an email plugin and it would overwrite default settings, but i am not sure how to reset the default settings. ...
2
votes
1answer
54 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 ...
0
votes
1answer
1k 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 -> ...
0
votes
1answer
2k 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 ...
0
votes
1answer
46 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 ...
-1
votes
0answers
317 views

Dynamic SMTP profile in WordPress

I want to configure my WordPress site with multiple SMTP account for sending emails. Setting up single SMPT configuration seems easy to me using the following script add_action('phpmailer_init', '...
1
vote
1answer
210 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 ...
0
votes
1answer
393 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'...
0
votes
1answer
26 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 admin@cding.xyz will be appreciatted. Thanks in advance!
0
votes
1answer
43 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 ...
0
votes
0answers
206 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'] ) && !...
1
vote
1answer
74 views

Wordpress unable to send mail

I am unable to get email functioning in WP 4.8. I have wordpress running on a straight forward LAMP stack. It is actually the Bitnami appliance as I'm lazy and needed something up quickly. All ...
0
votes
1answer
400 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 ...
0
votes
1answer
825 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 ...
0
votes
1answer
679 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(...
0
votes
2answers
842 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 ) { $...
0
votes
0answers
306 views

SMTP Issues with Outlook 365

I'm having issues setting up SMTP for Outlook 365 using the Easy WP SMTP plugin. I keep getting the following vague error message. SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/...
0
votes
1answer
181 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 ...
1
vote
1answer
3k 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 ...
0
votes
0answers
2k 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....
0
votes
0answers
189 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 ...
-1
votes
1answer
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 ...
0
votes
2answers
942 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/...
0
votes
0answers
222 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 ...
3
votes
1answer
22k 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 ...
2
votes
3answers
3k 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 ...
0
votes
1answer
615 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. ...
1
vote
0answers
394 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 ...
0
votes
1answer
196 views

Wordpress SMTP EMail

I have this plugin on wordpress an already configure class-phpmailer.php to send emails by SMTP. My hosting only accept SMTP emails. When I register in wordpress I receive an email, when I contact ...
17
votes
3answers
39k 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?