+ Reply to Thread
Results 1 to 8 of 8

Thread: Mail delivery failed: returning message to sender

  1. #1
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    403

    Mail delivery failed: returning message to sender

    If I send an html message it will come back with this error.
    If, on the other hand, I send it as a plain text message, the recipient will receive it.
    What could be the problem?

    This message was created automatically by mail delivery software.

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    ****wap@freemail.hu
    host fmx.freemail.hu [84.2.43.65]
    SMTP error from remote mail server after end of data:
    550 5.7.1 Message denied by policy

  2. #2
    Here is some information on the "550 5.7.1 Message denied by policy "error code:

    - Solved: Exchange SMTP Error 550 5.7.1 Unable To Relay
    https://www.stellarinfo.com/article/...e-to-relay.php

    - Fix email delivery issues for error code 550 5.7.1 in Exchange Online
    https://docs.microsoft.com/en-us/exc...xchange-online

    I wonder how are you sending your emails:
    • Are you sending them straight through your hosting account?
    • Are you using a special email service?
    Last edited by Joe Can; June 12, 2021 at 05:04 AM.

  3. #3
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    403
    Yes, I send it through the hosting account.
    I only have this error when I send an html message like an account registration confirmation email. If I send it as plain text it is good.

  4. #4
    I will send the same and test.
    All my email templates are Html

    Edit: I just tested my registration email and it worked fine.
    Last edited by Joe Can; June 12, 2021 at 08:07 AM.

  5. #5
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    403
    It works well for me too, but it doesn't work for two email providers in Hungary. I can’t talk to them because they don’t reply to a letter.

  6. #6
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    403
    Looks like something is wrong with the letter format. The letter format is incorrect. This is why the letter sent comes back. These providers use some sort of filter that monitors the mail format. But I don't know what can't be good about it.

  7. #7
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    403
    Solved.

    html_email_source.html file had to be fixed and so is now good.
    I wrote the following:

    <!DOCTYPE html>
    <html lang="hu">
    <title></title> instead <title>I gave him an address</title>

  8. #8
    Glad to see it was fixed.

+ Reply to Thread