[TriLUG] Mail configuration in RHEL ( 8th )

John Franklin via TriLUG trilug at trilug.org
Mon Apr 11 08:24:35 EDT 2022


IIRC, PHPs mail() function simply drops the mail to the system mail daemon, while PHPMailer is a full SMTP implementation, minus retries. 

Can you send mail from the command line?

jf
________________________________
From: Brian McCullough via TriLUG <trilug at trilug.org>
Sent: Friday, April 8, 2022 17:56
To: Triangle Linux Users Group discussion list
Subject: [TriLUG] Mail configuration in RHEL ( 8th )


Folks,
I am having a problem sending e-mail from PHP in a machine running RHEL
8.5.
I have two different code bases, one running PHPMailer, and one running
basic PHP mail().
The PHPMailer code successfully delivers e-mail sent from itself.
The mail() code does not.
Incidentally, just to throw a monkey-wrench into things, this machine is
a test machine with both sets of code installed.  The "real" machines
with only one of the blocks of code each, are both successful.
I am working on the premise that there is a configuration setting,
somewhere, that is causing the "mail()" code to fail.  I didn't build
these machines and am only respponsible for the PHP code.
Any suggestions?
Thanks,
Brian
-- 
This message was sent to: franklin at elfie.org <franklin at elfie.org>
To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
TriLUG mailing list : https://www.trilug.org/mailman/listinfo/trilug
Unsubscribe or edit options on the web : https://www.trilug.org/mailman/options/trilug/franklin%40elfie.org
Welcome to TriLUG: https://trilug.org/welcome


More information about the TriLUG mailing list