Mail Sender & external IP


  • | 7324 points

    I'm having trouble to send emails using the new Mail Sender with Gmail.
    When I compare the Mail Sender test which works as expected and the email sent using Drupal, I could see in the debug log that my CMS doesn't send a valid host/IP.
    The test email is sent with my computer machine name linked to my external IP.

    Connecting to smtp.gmail.com:587
    16/04/07 09:44:59 ** Connected.
    16/04/07 09:44:59 << 220 smtp.gmail.com ESMTP i5sm6803425wja.23 - gsmtp<EOL>
    16/04/07 09:44:59 >> EHLO ??C<EOL>
    16/04/07 09:44:59 << 501 5.5.4 HELO/EHLO argument ??C invalid, closing connection. i5sm6803425wja.23 - gsmtp<EOL>
    16/04/07 09:44:59 >> HELO ??C<EOL>


  • | 7324 points

    I finally found a solution to fix this issue. For people having this issue just edit the file sendmail.ini provided with Laragon.
    And set the variable hostname to your computer name. It worked for me :-)


  • administrators
    | 66609 points

    Great! it's very helpful.


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.