I am uploading an image in a Rich text field and want to send that image via mail.

I have email template where I am using body tag to get Image URL.

The Image URL is relative and appended with some div and style at the beginning and end.

How can Convert the relative URL to absolute URL so that I can embed that in the body tag to send image as mail.

  • Can you describe how you're generating the email? The basic answer is to add the server URL to the relative URL to get an absolute URL -- but how you can do so depends entirely on how you're creating the email.
    – John-M
    Nov 3, 2015 at 13:21
  • Do you have the option to make the field enhanced rich text so you can alter the html? Obviously if general users who don't know html need to be able to add images this wouldn't help.
    – Erin L
    Mar 25, 2016 at 14:34

1 Answer 1


I ran into the same issue. I was using HTML to generate my email via workflow, and the images I used to embed in the body of the email were switching to the relative URL and breaking in the emails.

My fix was to run my URL through tinyURL or go.USA.gov. That shortened URL was not recognized by SharePoint and my images showed up in my email.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.