Skip to content
Advertisement

Tag: smtp

Change Message-ID PHPMailer

Hello I am making a php based mailing application that will connect with a external smtp server and send emails. Now I have managed to match everything but the Message-ID’s @domain-name and Sender domain name are not matching… This is the result I am getting : Wrong Message ID Header and this is the result I should be getting (this

Why does PHPMailer fail to connect to my SMTP server

PHPMailer version: 6.5.0 When I am trying to connect my PHPMailer script with my SMTP server I am getting this error: The first “SSL loaded” is my script checking if it has OpenSSL enabled. My mail server is: Note: “mail.solninjaa.com” is the IMAP and POP3 address as well. I ran a command that would test if the mail server is

How can I generate a correct CRAM-MD5 response in PHP?

I wish to generate a CRAM-MD5 response for an SMTP server. I can see the theoretical details of how to do so here: CRAM-MD5 Implementation, but I’m looking for the specific PHP code in order to implement it. How can I implement this in PHP? Answer The following PHP code will produce a valid response for CRAM-MD5: In a telnet

unable to use PHPMAILER to send email

I have just downloaded PHPMAILER from github to send emails to users . My problem is that when I try to run the php file with PHPMAILER from localhost I get the error where sendmail.php is the file with the phpmailer sample code to send an email . I believe that there’s a problem with the location of the phpmailer

SMTP ERROR: Failed to connect to server: Connection timed out (110) when using phpmailer

This works perfectly in my old server. 2020-07-18 16:37:45 SMTP ERROR: Failed to connect to server: Connection timed out (110) SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting I am now using CentOS 7 and php7.3.2 What I’ve tried. use port 587,465,25 use host smtp.gmail.com,108.177.122.108 This is my code: UPDATE I test telnet smtp.gmail.com for port 25 465 587,the result is also connection time

Getting this error while connecting to smtp;451 4.7.1 : Recipient address rejected: Greylisted for 5 minutes

I am trying to send email to an outlook email address using my test SMTP server and got this error. Using PHPMAILER module for making the SMTP connection. Answer You’re being greylisted, and it’s working for them! Greylisting is an anti-spam measure that attempts to identify badly-behaved mail clients. A large proportion of spambots generate messages and try to send

Advertisement