.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Why are my links to images in email alerts broken?

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :C#
We have a blog site running on WSS 3.0.

We post to this blog using Microsoft Word 2007's blog publishing feature, and our blog postings include images.

Additionally, many of our users subscribe to our blog postings using Sharepoint email alerts. The problem is that the emails generated contain broken/missing images from the postings. Upon inspecting the source code of the email, the URL's are not full, but relative to the site root, for example, our site is at "http://www.someserver.com/blog", and the src attribute in the img tags in the email are only "/blog/......". If I look at the source code directly on the blog itself, the URL is full.

Does anyone know a workaround or a fix for this? Or are we doing something wrong?

View Complete Post

More Related Resource Links

Links in email alerts



After configuring an approval workflow, links to approval tasks that are sent to users come with the primary URL of the web application where the site is created.

The problem is that the site has AAM configured and the links sent to users are only available on the server it self.

How can i change this behaviour?



How to send Viewers email alerts on approved items



I use the OOB Workflow approval to approve items in a document library. Once the items are approved I want to send out an email alert to a group of people with "read" access. The problem is that the email alerts don't fire. I even changed the alerts to fire on "All Changes", but still nothing coming through. I assume this is because of the workflow approval and perhaps that the event doesn't fire when an item gets published after approval?

But how can I get my readers to be notified of newly published (and approved) items? There must be a way of doing it?

Finding broken links in a web of Pages

I have a dozen sub-sites all with large Pages libraries of .aspx pages created and maintained under the Publishing features on  MOSS 2007.  Some links also go to Document libraries. How do I detect broken links within the web of .aspx pages? 

how to Customize Alerts email

In the alert email directly under the "To" field there is section that shows a sharepoint image, the site name, list name and list url.I know that in the alertstemplates.xml file this line in the beginning of file controls it: <Header> <HTML> <![CDATA[<html dir = $Resources:core,PageDirection;> <head> <base href="]]> </HTML> <GetVar Name="SiteUrl" URLEncodeAsURL="TRUE" /> <HTML> <![CDATA["> What I want to do is remove the url from that and leave the image, site and list name.anyone know how to accomplish this?

Cannot create email alerts for multiple users

Hello, I created an email alert for a document in a library. In the "Send Alerts To" box, I added multiple user names separated by semicolons and saved the alert. However, when I open the alert again, only my user name appears and the additional user names are gone. Why is this happening and how do I fix this problem?  Thank you in advance.

Custom Email Alert template creating links to DispForm.aspx

I have a requirement to customise the alert template for a standard blog post list. To do this I: 1. Created a copy of alertstemplate.xml 2. Copied the genericList alert template node and customised 3. Registered the new template file against the site collection, iisreset and finally assigned the new Alert template to the list, when alerts are created the custom template is emailed. The problem now arises that the 'View <Post Title>' in the toolbar section now creates a hyperlink to http..../Lists/Posts/Dispform.aspx?ID=xx rather than post.aspx. I have checked using sharepoint designer that the list supporting files has the correct display item form of Lists/Posts/Post.aspx. Additionally if I reset the alert template for the list back to use the Generic list template the same problem still occurs so this leads me to believe it is not the customisations that are the problem. Code used to assign the alert template to the Posts list: var ats = new SPAlertTemplateCollection((SPWebService) site.WebApplication.Parent); var newTemplate = ats[alertName]; if (newTemplate == null) { // We did not find the specified Template. throw new Exception("Failed to find template SPAlertTemplateType.NewsPost in the template collection."); } list.AlertTemplate = newTemplate; list.Update(); Any assistance will be most welcome, thanks in advance. Alan

Email alerts no longer working- please help.

Hello- I recently had a problem applying an SSL certificate to my MOSS 2007 site where I had to rebuild a lot things in order to get the site back up and running.  Now that it is, I can no longer get email alerts to the users.  The odd thing is that when I set up a calendar event, only me (the site administrator) receives an automated message from 'Administrator@xyz.com'???  This tells me that the smtp settings are correct.  I have found severl posts about this but they are all from developers who think that everyone knows how to program and so their answers are not step by step for me to at least try them out?  Can someone point me in the right direction? Thanks!

Blank SharePoint email Alerts

The message body of email alerts are completely blank.  Alerts have been working fine previously.  I tried the reset alert template command from this post with no joy

Also, our SQL Server has unlimited connections, so too many connections would not be an issue.

Any ideas I can try before rebooting and restarting services?  I can't do that stuff during the day as that will cause massive interuptions.

Broken Images for Users with Read access



we just have moved our existing sharepoint team site to an extranet site and ran into a strange issue with images. Two of the images on our extranet site does not show up for users with Read access .They see little red "x" instead.  It only happens for two images not for all.

All images were added in Publishingimages or images folder and the library does inherit permissions from the main site.

any thoughts

Isha kapoor My SharePoint Blog Follow me

Custom Email Alerts using Helpdesk Template in MOSS 2007

Hi All,

I recently installed the Helpdesk template on our SharePoint 2007 Server but I want to find out how to set up alerts so that when a job request has been assigned to person X an email will automatically be sent to that person. Currently you can custimise the Service Request list so that whenever changes are made to it an email can be sent to a designated person, however, what we require is an email being sent to the service request owner.

I presume this will require custom coding but is there third party plug-ins which provide this functionality? As i have never programmed for MOSS i was wondering how much of a task is it to provide this functionality?

Any help would be greatly appreciated,


Custom Alerts email


Is there a way to change the subject of an alert email based on the email address it is going to?
For example if the email address contains "@yahoo.com" the subject should read "Yahoo Alert" and if it contains "@live.com" the subject should read "Live Alert".


How to disable "All day event" of Calendar list in email alerts ?




I have hidded the All day event in display, edit, new forms using javascript code.

I want to hide the "All Day Event","Recurrence",Workspace of calendar list in email alerts



Srikanth Reddy


Profile Pictures showing as broken images


I noticed today that all of the people that have added profile pictures are now showing as the broken image "red X". I checked the User Photos library located in the root mysite site collection and all 60 people that have added their images show up as a broken image. I tried re-uploading my own image and it completed without issue, the entry in the library updated with today's date but again broken image.

My farm has been running great and the only thing that has change recently is I applied the ClaimAuth KB update that central admin was having a fit about. I'm going to dig thru the logs and see if there's any info but thus far I haven't found much.

Alerts sent to users have a broken link when a document name has a space in it

I have setup several alerts on several different lists and libraries in SharePoint 2010. When I receive the alerts by email several of the links are broken due to the name of the document or list item having a space in it. I have found an article on google that fixes this, but it is changing some code, which I'm not good comfortable doing. Does anyone know of an easy fix to this that doesn't involve renaming all the list items and documents? Also, is this a bug in SharePoint or by design? From my reading it seemed that maybe it was to accommodate all browsers, but wasn't real clear on that. Thanks

How to setup global email alerts for lists? (rather than individual My Alerts)

I would like to configure a calendar to send an email to the people who are attending the event. Is this possible through the SharePoint GUI just like you can configure a task to send an email to the person who was assigned the task? Additionally, are there options to send emails to everyone for generic lists? (rather than making people add it to their My Alerts) Thanks.

Sending Email alerts before expire date on document (using Sharepoint Designer)


I need to trigger an email alert 2 weeks before the expire date on document (document library).


The document library has a List/Site Column for an Expiry date.

I need to clarify the following:


I assume it is possible to create a CALCULATED field (Alert Date) of DATE (assigned to List/Site Column) that would

have a formula of: Expiry date - 14 days. 


Is it possible to trigger a workflow (created in Sharepoint Designer) AFTER the Alert + Expiry dates have been set

and ONLY if the Alert Date  = Todays Date? 


Is it possible to add a variable in the workflow of type DATE that MAPPED to the current item 'UPLOADED' to the

Document Library and was calculated against the number of days to be subtracted?


If this was possible could it be bound to the PAUSE UNTIL DATE action?


The Workflow would only then be triggered (p

Help with email alerts


Hello All,

I hope this is a easy one.  I'm trying to setup email alerts for a document library on a new site collection (that's using the Document Center Site Template).  The email alert is to just simply notify a user (or eventually users in a group) that a new item is there when items arrive.  I'm logged in as the site collection administrator as I'm doing all this.  When I initially setup the alert, I get the notification that there is an alert.  However, when I try and upload a document to the document library, I get no notification that the item has been added.  Any and all help would be great, thanks!

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend