Re: Outlook2013 does not accept <img> in htmlBody Programming Software Development by VasquezPL … woth word inspector. But I cannot paste the content to htmlBody - can you help me? Outlook.Inspector inspector = newMail.GetInspector; Word…); document.Application.Selection.Copy(); how to paste the content to htmlBody? Problem with putting html code in "newMail.HTMLBody" Programming Software Development by VasquezPL …(to the html path); while ((line = text.ReadLine()) != null) { newMail.HTMLBody += line } When I open html file directly from its folder… Outlook2013 does not accept <img> in htmlBody Programming Software Development by VasquezPL …) what I use to put html to email body: newMail.HTMLBody += line; * LINE = line of html code taken from file * example… Re: Problem with putting html code in "newMail.HTMLBody" Programming Software Development by hericles For HTML emails the images always need to be used with an absolute path. src="image1.jpg" means nothing when the code is away from your development environment. You will need to host the images on a server and point to them with a full address. This link will help you: http://kb.mailchimp.com/article/top-html-email-coding-mistakes Re: Problem with putting html code in "newMail.HTMLBody" Programming Software Development by VasquezPL So full path is the only way? :) ok..its not a big deal :) Re: Outlook2013 does not accept <img> in htmlBody Programming Software Development by Mike Askew My corporate emails still use <img> tags and they show fine in my Outlook 2013. Re: Outlook2013 does not accept <img> in htmlBody Programming Software Development by Ketsuekiame You can use `img` tags fine in Outlook but remember a couple of things: 1. You can't direct it to something on your local drive/network. Outlook doesn't make a copy of your picture, the `img` tag is simply a reference to where it is. If the target machine can't find the location, it won't display. 2. Some clients disable the downloading of images … Re: Outlook2013 does not accept <img> in htmlBody Programming Software Development by VasquezPL Yep but It was working fine on office 2003/2007/2010. All computer using that program have all mapped shared drive as it is. I have tried to change the paths to something different. the same problem. BTW...My program does not send email aoutmaticaly. It just opens the template in outlook ...THen user has to click send. Outlook 2010 was always … Re: Outlook2013 does not accept <img> in htmlBody Programming Software Development by Ketsuekiame Did you ensure that you set `IsBodyHtml` to true? Re: Outlook2013 does not accept <img> in htmlBody Programming Software Development by VasquezPL Will check that - thanks for the clue :) Re: Outlook2013 does not accept <img> in htmlBody Programming Software Development by VasquezPL I have no "ISbodyHTML" at all...But it works as html...styles/rest the code works like a charm. code begins with: Outlook.Application oApp = new Outlook.Application(); Outlook.MailItem newMail = (Outlook.MailItem)oApp.CreateItem(Outlook.OlItemType.olMailItem); newMail.… Re: Outlook2013 does not accept <img> in htmlBody Programming Software Development by Ketsuekiame Ah you're using an outlook mailitem. You're probably going to have to embed the image as a resource in the email. Unfortunately I have no knowledge of office interop so I can't help you any further than this. Re: Outlook2013 does not accept <img> in htmlBody Programming Software Development by VasquezPL I cannot do that :( biggest adventage of my program is that its universal...SO I have to use html templates with all html possibilites. But I heared something about word.inspector which is used by outlook can anybody give me some hints how to paste my html into outlook with word.inspector? Re: Outlook2013 does not accept <img> in htmlBody Programming Software Development by Ketsuekiame Maybe you're approaching this from the wrong angle. Is there any particular reason that you have to use the Outlook client? Would it be possible to just connect to the Exchange/SMTP server and send the mail directly from your software? This would be, by far, the easiest approach in my opinion. Using the Office interop for this just seems like … Re: Outlook2013 does not accept <img> in htmlBody Programming Software Development by VasquezPL Yes but I want user to be able to preview the generated email - until he clicks on send button :/. THe worst thing is that it was workin in all previous outlook versions.... Re: Outlook2013 does not accept <img> in htmlBody Programming Software Development by Ketsuekiame As the e-mail is written in HTML, you could use the built in browser control to offer a preview in your form before they send the mail. Although this does make it more complicated I admit... Re: Outlook2013 does not accept <img> in htmlBody Programming Software Development by VasquezPL Ok I have managed to use word.inspector to paste html into outlook. It works OK, but the main issue now is that it does not recognize styles in this html....So everything is not formatted correctly. Outlook.Inspector inspector = newMail.GetInspector; Word.Document document = (Word.Document)inspector.WordEditor;… Re: Outlook2013 does not accept <img> in htmlBody Programming Software Development by VasquezPL Anyone wants to share the knowledge with me? :) thx ASP Email "Reply To" Issue Programming Web Development by spacepoet …;Address") & "<br>" objMail.HTMLBody = objMail.HTMLBody & "<b>City:</b> …;City") & "<br>" objMail.HTMLBody = objMail.HTMLBody & "<b>State:</b> … Code") & "<br>" objMail.HTMLBody = objMail.HTMLBody & "<b>Phone:</b> … Passing Form Values Problem Programming Web Development by spacepoet …UserName") & "<br>" objMail.HTMLBody = objMail.HTMLBody & "<b>Company:</b>…") & "<br>" objMail.HTMLBody = objMail.HTMLBody & "<b>Brief Description of Sign…") & "<br>" objMail.HTMLBody = objMail.HTMLBody & "<b>Best time to call… sending email and mail headers Programming Web Development by pelegk2 …String htmlBody = ""; htmlBody = htmlBody + "<div dir=rtl align=right>"; htmlBody = htmlBody +txt; htmlBody = htmlBody +…quot;")){ username = request.getUser().getName(); } htmlBody = htmlBody + "<br/>Sent by "+… Re: to merge 2 outlook templates including pictures.. c# Programming Software Development by cgeier ….CreateItem(Outlook.OlItemType.olMailItem); //merge HTMLBody from newMail1 and newMail2 mergedMailItem.HTMLBody = newMail1.HTMLBody + System.Environment.NewLine + newMail2.HTMLBody; if (newMail1.Attachments.Count >… VBA: Office Outlook Attachment Move & Delete Programming Software Development by TylerTCF … I know has text comes up with no body or HTMLBody in Outlook VBA? Thanks in advance. Public Sub SaveAttachments() Dim… file(s) were saved to " & strDeletedFiles ' Else ' objMsg.HTMLBody = objMsg.HTMLBody & "" & _ ' "The file(s… Re: how to display an attached image file in email Programming Web Development by msaqib … can attach the image to an email using the HTMLBody property. [left][code].HTMLBody = .HTMLBody & "<img src=""domaine… Re: to merge 2 outlook templates including pictures.. c# Programming Software Development by cgeier … Outlook.MailItem tempMailItem = oApp.CreateItemFromTemplate(templatePath); //merge HTMLBody from newMail1 and newMail2 mergedMailItem.HTMLBody += tempMailItem.HTMLBody + System.Environment.NewLine; if (tempMailItem.Attachments.Count… how to display an attached image file in email Programming Web Development by spidey … it only display a box with an 'x'. :rolleyes: [code].HTMLBody = .HTMLBody & "<img src=""cid:" &… creating a reply for a .msg file saved on desktop using a C#.net code Programming Software Development by MGIndia … = omail.SenderEmailAddress; oMailItem.Subject = "RE:" + omail.Subject; oMailItem.HTMLBody = "<br/><hr width=100%> "…; + omail.HTMLBody; oMailItem.Display(false); } [/code] this is the method i have… fetch emails via IMAP using c# Programming Software Development by rams.prsk …<imapx.mailaddress>(); string textBody = m.TextBody.TextData; string htmlBody = m.HtmlBody.TextData; string strfromaddress = string.Empty; string strfromname = string.Empty… Send multiple embedded images from outlook using c# Programming Software Development by MARKAND911 …string imageCid = "image001.jpg@123"; oMsg.HTMLBody = String.Format("<body><img src=\&…String sDisplayName = "MyAttachment"; int iPosition = (int)oMsg.HTMLBody.Length + 1; int iAttachType = (int)Outlook.OlAttachmentType.olByValue; //now… to merge 2 outlook templates including pictures.. c# Programming Software Development by VasquezPL … email. I tried to copy one HTMLBody to string and to add it to other HTMLBody It works - but pictures dissapear :( IS…