Skip to:
Content
Pages
Categories
Search
Top
Bottom

Email templates don't play well with Outlook


  • ntrabue
    Participant

    @ntrabue

    Hello, our company is on a google apps domain. While I prefer gmail, most of my co-workers prefer outlook.

    I hadn’t noticed this while putting the site together, however, it appears that email notifications don’t seem to appear as links by default in outlook 2010 or 2013 the URLs just appear as plain text. I figured it was something I could probably fix so I started looking around. I stumbled on this in includes/common/functions.php

    	// Strip tags from text and setup mail data
    	$topic_title   = strip_tags( bbp_get_topic_title( $topic_id ) );
    	$reply_content = strip_tags( bbp_get_reply_content( $reply_id ) );
    	$reply_url     = bbp_get_reply_url( $reply_id );
    	$blog_name     = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
    	$do_not_reply  = '<noreply@' . ltrim( get_home_url(), '^(http|https)://' ) . '>';
    
    	// For plugins to filter messages per reply/topic/user
    	$message = sprintf( __( '%1$s wrote:
    
    %2$s
    
    Post Link: %3$s
    
    -----------
    
    You are receiving this email because you subscribed to a forum topic.
    
    Login and visit the topic to unsubscribe from these emails.', 'bbpress' ),
    
    		$reply_author_name,
    		$reply_content,
    		$reply_url
    	);

    if I’m reading this correctly, it does indeed simply output the string of the URL. What would be the best way to go about making sure this is recognized in outlook as a link?

    Thank you in advance for your help.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar