Skip to content

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 t…

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 comm…

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…

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 th…