Question: Smtp Function Does Not Work With Yahoo Google

Smtp Function Does Not Work With Yahoo Google

Hi! The option to send email via SMTP is incomplete. In the case of Yahoo or Google, an authorization key is required. When will this key (field) be available in your code? Thanks.

G

Gabriel

Asked
Hi!
The option to send email via SMTP is incomplete.
In the case of Yahoo or Google, an authorization key is required.
When will this key (field) be available in your code?
Thanks.
  • MS

    Mian Saleem

    Answered
    Hello,

    All mail providers are very strict to avoid spamming.

    For google, you will need to enable less secure app and yahoo have app password.

    The SMTP can be tested with mailtrap.io

    Thank you
  • G

    Gabriel

    Answered
    Your app return following error no matter which server I use (yahoo, google, private)
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    No other messages. See attach.
  • MS

    Mian Saleem

    Answered
    Hello,

    This item don't support OAuth yet but normal username and password auth.

    For SMTP connection error, If you suspect item code then you should test with mailtrap.io

    Thank you
  • Login to Reply