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

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

Formatting an incoming email for printing

Posted By:      Posted Date: October 06, 2010    Points: 0   Category :SharePoint

I have a list web part that gets it's contents from a Lotus Notes database. I created an email address via the Sharepoint option for the list and had the Notes Administrator add that email address to his email distribution. The email executes from the Notes database and loads in to the list as a clickable selection just fine. No problem with that.

When the data is initially entered in to the Notes database, as part of the process, we print a VERY basic report via a button in the database, "print report", that I'm assuming has been preformatted and everyone is used to.

When the data gets shipped to the Sharepoint list, and click on the hyperlink to read the resulting list item, that formatting is gone. It is a readable document but not in the standard Notes format.

In the Notes printing of the report, Notes is stripping out some text that is only needed when accessing the document online, such as "click on the link to edit your comments" and things like that. It also Bolds the title and stuff like that. 

Once it is loaded in to the Sharepoint list much of that formatting is lost. 

Is there some way I can format the document via the content editor web part or in some other fashion to more closely resemble the current document?


View Complete Post

More Related Resource Links

Incoming Email Issue


I just installed Windows 7.  Often I get a notice indicating an incoming Email cannot be opened on my system.  I know some are safe since they include Microsoft, windows, friends, etc.  I must download each and add to my safe list.   Does anyone have a solution? 






sharepoint 2007 incoming email

Hi all… Configuration incoming email: 1-      Central administration àoperations -àincoming email-à fill all fields 2-      Document setting  à incoming email appeared àconfigure the incoming email And identify the email. It‘s supposed to be like that:  When any one sends email with document attachment to the pervious email this attachment is added to document library. But, it doesn’t work.  are there any other steps ? Thanks

Printing a page with all the formatting

Hi, I'm looking for an option to print a web page along with all the formatting of the page, like background color, images etc.. The regular javascript window.print() does print only the text in the page and the formatting is missing. Kindly suggest me a solution for this problem - either in javascript or C#. Any pointers regarding this would be very useful. Thanks in advance!!! --Vijay

windows server with sharepoint incoming email

Hi all... I need to configure incoming email in sharepoint but I didn't configure the smtp email in server2003 how can i confiure email without active directory , I need to use email to recieve email in sharepoint but sharepoint didn't connect to active directory , it connect to form authentication (users in sql DB) so please, what's steps? Thanks

Configure Incoming Email in SharePoint 2010 with a remote (public) SMTP Server

I have a standalone SharePoint 2010 Installation on my local network. Have configured the SMTP Services and a SMTP domain called "internalcompany.com". Created a hosts file entry also for that - now outlook is able to send emails to this domain; it reaches the drop folder and from there SharePoint picks it up and pushes to the document libraries. So far so good. But obviously this is not what I want to do: my www.company.com is my public domain and mail server is mail.company.com - how do I get the local SMTP point to this address - so that if someone sends an email to shareddocs@company.com (just like any other normal id), it comes to my local server and then SharePoint. How do I do this? Remember, my server is standalone and my network is not domain based and does not have exchange.Karthick

MOSS 2007 outgoing and incoming email configuration

Hello, I have set up MOSS 2007, but do not have smtp service and pop3 service installed. Now I want to configurate the incoming and outgoing email of sharepoint, if I install the SMTP and Pop3 service now, will it change or affect the current sharepoint sites(I'm worried this may make the sites collapse)? After the SMTP and Pop3 service intallation compelet, do I need to run the configuration wizard before configurating the incoming and outgoing email in centra admin? Appreciate any handful info.  Thanks

incoming email - multiple email addresses

is it possible to have more than 1 email address specified as the incoming email address for a library?

How do you extract data from the xml attachment of an incoming email and set it as metadata in a doc

Hi, I currently have a document library that contains InfoPath forms. As a form is loaded into the document library I need the data to be extracted from the infopath file and then set as properties/metadata of the file. The infopath forms will be sent to the SharePoint site as an email attachment. So basically, an email is sent to the SharePoint server with an InfoPath form as an email attachment. The InfoPath form needs to be extracted from the email and uploaded to the document library and at the same time updating the document library metadata with the infopath form data. This has been done using Visual Studio but can this be done using SharePoint Designer 2010 now that we have upgraded our site to SharePoint 2010? Any guidance will be greatly appreciated! Thanks Michael

Incoming email to SharePoint - what am I missing?

I am able to send email from the internet to my Exchange box yet unable to send to SharePoint libraries and lists.  I want users to send to the addresses of mylibrary@work.net, yet my Exchange domain and box name is domainex.domain.com and my SharePoint box is named domainsp.domain.com.   Here are my settings: SharePoint Box Name:   domainsp.domain.com Central Admin incoming mail settings:  server field is set to domainsp.domain.com, friendly email address is set to mylist@mywork.net Incoming mail settings on library: set to receive mail at libraryname@mywork.net Exchange Box Name:  domainex.domain.com Attended domain:   mywork.net Send connector address space: domainsp.domain.com (sharepoint box) Send connector smart host: domainsp.domain.com (sharepoint box) Mail contact: SMTP external address of libraryname@mywork.net   DNS MX record of mywork.net pointing to Exchange box   I'm sure something is wrong, but I'm not sure what! My bounceback email tells me that the mailbox of mylibrary@work.net is unavailable or not local.  Giving up on <ip address for exchange box>.   Please help!  I don't know what to do next!  

incoming email on WSS 3.0 in a standalone server environment


Hello Everyone, I have a windows SBS 2008 with exchange 2007 and WSS 3.0 2007 all on one server.

My problem is as follows, I have been trying to set up incoming email inside of wss 3.0, but every guide, blog, and wiki says I need to have SMTP installed, I however cannot have this installed with my configuration. I have created a exchange send connector, created a drop folder, and when I try to email a document to a document library, I get a failure in exchange as follows:

Diagnostic information for administrators:


Generating server: SCS01.scs.com

SharePoint 2010 Incoming Email cannot process email file attachment in email with less than sign < a


When sending an email which contains an email attachment such as "Hello <World>.msg" from Outlook to SharePoint 2010 email enabled list such as an "Announcements" list, no item is created in the list and the attached email and the orginal email are not saved.

The log file contains

09/23/2010 13:51:17.54  OWSTIMER.EXE (0x18FC)                    0x0B2C SharePoint Foundation          E-Mail                         6873 Warning  An error occurred while processing the incoming e-mail file C:\inetpub\mailroot\Drop\f17ce37101cb5b600000002a.eml. The error was: Illegal characters in path.. 9f265722-74c9-4bd8-9504-ac265f2351d7

Incoming email, when trying to view a eml file it only display the save and cancel buttons


I have a list which accepts incoming emails.  The original email is saved to this list as a eml file.  Why is it when I click on this file it asks me to save the file to my computer without the option to open?  I would like outlook express to open this email instead of downloading it.  I can download it and then double click the eml file which outlook express then opens.


SharePoint 2010 Incoming Email cannot process file attachment with zero size.


When sending email with attachments to SharePoint list, if one of the file attached to the email is of size 0, then none of the files will be saved and NO new item will be created in the list.

The SPEmailHandler's ProcessAttachment method should check the length of the "contentStream". If the length is 0, it should return immediately.

As you can see in the ProcessAttachment method none of the arguments are validated before they are used. This an example of poor quality code.

It should do at least

if (contentStream == null || contentStream.Length == 0) return;

if (string.IsNullOrEmpty(fileName) || item == null) return;


private static void ProcessAttachment(Stream contentStream, 

With incoming email enabled, how can I open an email associated to a library



I have deployed the feature in a advanced scenario.

All work fine, I am able to recieve emails in a library and I can see it in the list with the rest of the documents of the library.

My "problem" is that I can not open it. I can download it in my desktop and then I can open it, but now I can not open it in the browser, like e.g. .doc or .xls

I have noticed that there are some features in library tools/documents like check out (enable) and check in (disable), and I don't know if I have to configure this options.

Some idea¿?


Thanks in advance.

MOSS 2007 - Incoming Email



Is it possible to convert an email into a task i.e. If creating a helpdesk page - people can email in their requests in a set format and this is translated into an unassigned task within a list?

Thanks for your help

SharePoint 2010 Incoming Email Unique Files are Not Created.


SharePoint 2010 Incoming Email Unique Files are Not Created. 

Description: In SharePoint 2010, when the document library is configured to receive incoming emails, the email attachments sent to document library should be saved as files. When files with same names received, the files should be saved with unique names.

Bug: The files with same names are dropped by SharePoint timer services. If the file with the name already exists in the document library, the newer file will not be saved.

Reason: In the SharePoint log, there is an error about "AddUniqueFile failed to create a file or folder. Filename: Dell Order 001.pdf Errorcode: -2130575305"

Checking the errorcode -2130575305, it is about "saveconflict", ErrorCode=-2130575305.

how to configure the incoming email for external email address?



I would like to configure the incoming email for external email address. I have configured the incomig email for the address: library1@sp.myorg.loc Do you know how to set the email for library1@sp.mydomain.com ?

thanks in advance


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