Hyperlink in email can't display normally in outlook 2003 - outlook

I am developing a project to send email. The email is stored in html format as a template. I use that template and replace necessary fields in html, then send it by a component.
The hyperlink in the email displays as plain text in Outlook 2003, but it is a hyperlink in Outlook 2007.

"I have solved this case. Outlook2007 will generate hyperlink for string which contains "http://" or "#hotmail.com" etc. automatically. However,Outlook2003 will not. So, my source code is incorrect at the very start. I should given it a "" container beforehand. – Domi.N.Zhang Mar 26 '11 at 1:01"

Related

Hyperlink detection in Outlook

I am developing an Outlook web addins that involves extracting all hyperlinks from the mail message. I am currently doing it by getting all a tag elements.
var htmlParser = new DOMParser().parseFromString(asyncResult.value, "text/html");
var urls = htmlParser.getElementsByTagName("a");
However, I found out that Outlook for PC displays text as a hyperlink as long as it contains www., even though the text is not meant to be a hyperlink. For example, I tried sending myself an email with www.example.com as the content and I ensured that it is not a hyperlink when I sent it out.
In Outlook on the web, the text is indeed not a hyperlink.
But then in Outlook for PC, the text was displayed as a hyperlink automatically. Since I did not send it out as a hyperlink, it does not have an a tag and hence my addin could not extract this "hyperlink". Is there a way to also extract these "hyperlinks" in a mail message?
You could use the getEntitiesByType API to get any URL entities identified in the mail body. A sample API call is:
Office.context.mailbox.item.getEntitiesByType(Office.MailboxEnums.EntityType.Url)
You can use this Outlook add-in - Mail add-in for a read scenario which finds and parses all links in the body of an email. Here's the documentation/sample # https://github.com/OfficeDev/Outlook-Add-in-LinkRevealer

Outlook automatically print attachment pdf

I would need to automatically print a pdf attachment that comes from a specific recipient in outlook 2016. Only the attachments. I have managed by rule to print the body of the message but NOT THE ATTACHED PDF. Thanks in advance.
I found this page for you. There you can find plugin you can buy or you can customise Outlook yourself
How to Automatically print mails and attachment
Let scroll to Method 2: Using Outlook to Automatically Print Email Attachments
Then, you will only deal with the attachment name (detecting .pdf at the end) or its content type from the VBA code or the mail headers ...

How to prevent base 64 format signature images being dropped in Outlook Web App when updating the email body with Office.js?

I’m working on an add-in for Microsoft Outlook to add content to a draft email in compose view.
Our add-in fetches the existing content of the draft with the Office.js method Office.context.mailbox.item.body.getAsync() using a coercion type of HTML, adding our new content to the HTML that is returned, and then replacing the draft email’s body with our updated HTML using the method Office.context.mailbox.item.body.setAsync() with a coercion type of HTML again.
It looks like when we do this from inside the Outlook Web App, any base 64 format images in the signature are dropped when we set the email’s body using the setAsync() method. Looking at the email body html, I see that the element still exists in the email, but it has no src attribute anymore.
Is there anything we can do to prevent these images from being lost?
I’ve noticed in the Office.js documentation there is a prependAsync() method to prepend content to the email body without changing the rest of it. Is there a way to reliably append content to the end of the email body too? If so, we could use that as a workaround in our case.
Inserting base 64 encoded images is currently not supported in the Outlook Add-in platform. However, we track Outlook add-in feature requests on our user-voice page. Please add your request there. Feature requests on user-voice are considered when we go through our planning process.

Is there a way to embed an image directly in an Email template in Dynamics CRM 2015?

In CRM 2015 (on premise), I know you can insert images in emails/email templates by creating an HTML page with images that are hosted on the web and copy/pasting the HTML in the email/email template. The problem I have with that is customers who use Outlook that receive the email see big X's at first and Outlook prompts them to download images.
Is there a way to embed the images directly in the email? Or a third party tool that would allow that?
I tried converting the images to base64 and entering the code directly into the Body field in the TemplateBase table of the CRM database, but the application just converts it to the tag <img> with nothing else in the sent emails.

Support for HTML in Description field in MS Dynamics 2011 custom activity

When I have created a custom activity, how do i configure the descriptionfield to support html?
Like the descriptionfield that is used in an email activity.
The description field of all activities, except the email activity, is plain text. This field gets rendered as text field.
You could try to convert the content of the filed dynamically into html, but keep in mind that this is not covered by the public api.

Resources