SendMail Installed but PHPMailer not sending mails and not giving error
i’ve already installed sendmail and i edited my /etc/hosts file and then restarted apache
the content of the hosts file looks like this:
127.0.0.1 localhost localhost.localdomain myhostname
however, when i try to send a simple email using PHPMailer it doesn’t send the mail.
have i misconfigurared something? any help please!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.