Skip to main content
Known Participant
December 2, 2022
Answered

how to hide an email address

  • December 2, 2022
  • 3 replies
  • 503 views

I've used DreamWeaver to create a promotional email. The bottom includes an email link for readers to "Contact Support". When this is viewed in Outlook 365 webmail, it insist on showing the full email address as follows:

    If you have any questions [superlongemailaddress@alsolongcompanyname.com]contact support.
it should only show
   If you have any questions contact support.

 

By inserting this long email address, it is breaking the formatting of the entire email causing material at the top to reflow. I would appreciate any advice on how I can set up this email in a way that Outlook will stop inserting the address. Thank you.

    This topic has been closed for replies.
    Correct answer Nancy OShea

    HTML code for a Mailto Link:

    <a href="mailto:your_email_address@example.com">Contact Support By Email</a>

     

    Example:

    Contact Support By Email

     

    Hope that helps.

     

     

    3 replies

    Nancy OShea
    Community Expert
    Community Expert
    December 5, 2022

    If this promotional email is going to an internal corporate Intranet, fine.  But if you're sending this to people outside a secure network, get ready for a ship load of spam mail.   Once your email address is out in the wild, there's no way to pull it back.

     

    Nancy O'Shea— Product User & Community Expert
    Community Expert
    December 5, 2022

    @--rick_D To complete the @Nancy OShea 's answer, I will add that you can also add parameters such as subject and body to open a pre-filled new message box...

    such as

    mailto:foo@xyz.org?subject=From the FAQ&body=From XYZ Webserver

    you can also use

    %0D%0A

    to create carriage returns and place the information at the bottom of the message

    mailto:foo@xyz.org?subject=From the FAQ&body=%0D%0A%0D%0A%0D%0A%0D%0AFrom XYZ Webserver

     

    but I would recommend you not to abuse mailto and to prefer a more secure way of sending mail as https://github.com/PHPMailer/PHPMailer 

     

    Nancy OShea
    Community Expert
    Nancy OSheaCommunity ExpertCorrect answer
    Community Expert
    December 2, 2022

    HTML code for a Mailto Link:

    <a href="mailto:your_email_address@example.com">Contact Support By Email</a>

     

    Example:

    Contact Support By Email

     

    Hope that helps.

     

     

    Nancy O'Shea— Product User & Community Expert
    --rick_DAuthor
    Known Participant
    December 2, 2022

    Thank you, that was it. I'm new to DreamWeaver so when I entered the email address into the properties pallet, I expected it to add mailto: automatically in the same way GoLive would do. When I saw you comment, I decided to use code view to inspect the link and sure enough, it was missing. I should have been able to figure this out on my own but was too frazzled to think straight. Thank you very much for the quick solution!!!