SMTP-> ERROR: EHLO Not Accepted From Server

I tried to use PHP mailer but errors as follows.
SMTP-> ERROR: EHLO Not Accepted From Server

1 Answer

  1. Few Shared hosting will block you from using SSL with SMTP.

    Step 1: Try to change the port to 25 instead of 465.

    $mail = new PHPMailer();
    $mail->Port = 25;

    Step 2: You can use the default PHP mail() function.
    mail(“someone@example.com”,”subject”,”Test email”);

  2. Reply

Leave a Comment

izmir eskort - mersin eskort bayan - adana eskort - antalya eskort - eskort istanbul
Code Compiler Web Tools Contact