Results 1 to 2 of 2

Thread: mail cammand from postfix is not parsing the html content on outlook

  1. #1
    Join Date
    Mar 2024
    Beans
    1

    Question mail cammand from postfix is not parsing the html content on outlook

    Hi,

    We have postfix installed on our linux server and we get html report showing table on our outlook inbox which is fine.
    But recently our client told us to change the relayhost to new ip under main.cf file under /etc/postfix.

    After the change the email we are getting not correctly parsing the html.

    I want to figure out why the mails are not getting parsed to html code to table.

    Cammand we are using in our reports which was working previously

    echo -e "$EMAIL_BODY" | mail -s "$(echo -e "$SUBJECT\nContent-Type: text/html")" "abc@xyz.com"

    Any help would be appreciated

    Regards

  2. #2
    Join Date
    Jul 2007
    Location
    Tāmaki Makau-rau, NZ
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: mail cammand from postfix is not parsing the html content on outlook

    Thread moved to Server Platforms for a better fit.
    BACKUPS are unsexy — until you discover you should have done one yesterday.
    Spare your nerves and do one before you upgrade or install.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •