skip to Main Content

Symfony 4 swiftmailer configuration issues – Plesk

I have tried setting up SMTP in the dotenv file: MAILER_URL=smtp://mydomain.nl:25?encryption=tls&username=noreply%mydomain.nl&password=***` And I've sent an email using php bin/console swiftmailer:email:send. This gave me an error: [app] Exception occurred while flushing email queue: Connection could not be established with host webmail.mydomain.nl…

VIEW QUESTION

SMTP email not working in PHP – CPanel

code: <?php include 'library.php'; include "classes/class.phpmailer.php"; if(isset($_POST['submit'])) { $email = $_POST['email']; $sql = "select email from login where email='".$email."'"; $results = mysqli_query($con,$sql); $fetch = mysqli_num_rows($results); if($fetch > 0) { echo "<p id='red'>Email already exist. Please register with different email id.</p>";…

VIEW QUESTION
Back To Top
Search