Changing URL to link in emails

    • 46 posts
    July 3, 2023 6:42 AM EDT

    Hello everybody,

    I have an issue with converting a URL to link. I hope someone can guide me through this. 

    SocialEngine doesn't automatically convert URLs to links in email messages ( 

    According to the above article that Donna kindly sent, we have to add the link HTML manually to the email templates. 

    We did this like the following: 


    but instead of converting the URL to a link, it sends the whole text (including the HTML script). 

    Would you please tell me what I am missing in this?

    Best Regards,

    • 46 posts
    July 3, 2023 6:43 AM EDT

     Sorry, what we tried was this:

    (http://[host][object_link])  (without parentheses of course!)

    • 46 posts
    July 3, 2023 6:46 AM EDT

    This editor converts what I type to a link: 

    we write before the link, and  after that. I hope this comes correctly. 

    • 46 posts
    July 3, 2023 6:48 AM EDT

    Sorry guys, this editor does not allow me to send HTML tags and converts them. In summary, we did as it is said in article (  but the URL is not converted to link. 

    Sorry for bothering you all. The forum does not allow me to delete or edit my posts. 

    • Moderator
    • 6923 posts
    July 3, 2023 7:38 AM EDT

    Use the code post button which is to the right of the smiley button when posting code as we mention in our forum posting rules. 

    As for html, some email programs will not allow html to come in emails so it can also depend on what you use for your email program such as thunderbird, etc.

    • Moderator
    • 6923 posts
    July 3, 2023 7:39 AM EDT

    Is your issue the same as this bug, . Note that we don't recommend using PHP mail though. SMTP is best.

    • 46 posts
    July 3, 2023 4:07 PM EDT

    Thanks Donna for the response. No our problem is not the same as the above mentioned bug. We don't use php mail() (we use SMTP)

    My problem is that the URL in the email body is not shown as link. It's something that is normally set in SE, but SE document says that to convert a URL to link we should add an href code before it. I have done it as the instruction states, but instead of changing the URL to a link, the href code itself is shown. something like this (I hope it comes correctly ): 

    <a href="http://[host][object_link]">http://[host][object_link]</a>
    • Moderator
    • 6923 posts
    July 5, 2023 4:54 AM EDT

    Perfect for the code posting.

    What email program do you use though? some do not allow html unless you change settings in them. I recall that thunderbird has settings to allow html.

    • 46 posts
    July 5, 2023 10:36 PM EDT

    I found out that the links work fine when the recipient is Gmail, but not in Yahoo. So, it should be a setting in the receiving mail server, not our side. I'll try to find out how we can make Yahoo to show the links. If I find something useful, I'll share it here. 

    • Moderator
    • 6923 posts
    July 6, 2023 8:04 AM EDT

    Thank you, I had suspected the email program as I mentioned above. There are settings to allow html but email programs disable it as it can also cause your computer to get viruses in emails such as spam mails and unsafe emails.

    • 46 posts
    July 6, 2023 9:18 AM EDT

    Thanks Donna for you follow up and kind and helpful responses. 

    • Moderator
    • 6923 posts
    July 6, 2023 9:50 AM EDT

    See if doing this helps, . Adding the nofollow in your email template might work for yahoo. There are so many different answers in google search though.

    • 46 posts
    July 7, 2023 8:28 AM EDT

    Thanks Donna for your constant care and responsiveness. I will go through this and inform you if it works.