• Resolved farfallina

    (@monikagroh)


    Hello!
    Does anybody know how i can delete the Email-Header? I don’t have anything to put in an when i leave it empty there is a big spacing in the emails above the body text.
    I want the emails to start with the bodytext without the header.
    Thanks for help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Julian

    (@juliangk)

    Hello farfallina,

    you can not delete the header, but you can add this code snippet to your functions.php, which will reduce the blank space:

    add_filter('haet_mail_header', function( $header ){
          return '';
    });

    Best regards

    Thread Starter farfallina

    (@monikagroh)

    Hey thankts juliangk,
    unfortunately this code made an intense error on the website so that the whole website was offline.
    Do you have another solution maybe?

    Plugin Support Julian

    (@juliangk)

    Hello farfallina,

    can you please post the error message here?
    Are you using a child-theme or a custom page builder theme? If yes, which theme are you using?

    Did you paste the code into the right file? The functions.php of your child-theme / theme?

    Best regards
    Julian

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How to delete Email-Header’ is closed to new replies.