• Jim

    (@jwmc)


    This is not a big deal since I think it only affects certain emails I receive (no one else). It only affects certain emails generated by Wordfence. Reading them in Apple Mail, they are very wide and only small left part of the text is visible. Scrolling right, the text is too wide to fit in a window.

    I think it might be related to the fact that Wordfence puts a very long URL in the email, and it doesn’t wrap. They looked into it and said no problem on their end.

    I have some screenshots and html source of such an email I could send, but don’t want to post publicly.

    My Email Templates template settings are
    Boxed
    Email body size 630
    Custom CSS #body{
    padding: 0 !important;
    }

    The test email and most other emails look great.
    Thanks

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

    (@gonzalesc)

    Hi,

    If the long link is the blame so you can use a short link or put a wide to this link.

    I think that Apple Mail is not obeying some CSS properties.

    Regards

    Thread Starter Jim

    (@jwmc)

    Thanks. I can’t control the url; Wordfence does that. Can you explain what you mean by “or put a wide to this link”?

    gonzalesc

    (@gonzalesc)

    Hi.

    I don’t know how it is your code in your Wordfence link but for example, if you link is <a class="link_wordfence"... so, you can do this:

    function timerys_custom_content( $content ) {
    	
    	$content = str_replace('<a class="link_wordfence"', '<a style="width:300px;" class="link_wordfence"', $content);
    
    	return $content;
    }
    
    add_filter('mailtpl/email_content', 'timerys_custom_content');

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Formatting problem with certain Wordfence emails’ is closed to new replies.