Skip to main content

All Questions

Tagged with
0 votes
0 answers
1k views

Local URL for image is not working in Gmail

Here is my image tag : string target = "http://localhost:8699/setup/getcompanysignature?companyId="+CompanyId; string image = "<img src='"+target+"'alt='LogoImage'title='...
Ali Hamza's user avatar
0 votes
0 answers
263 views

Sending HTML email via Gmail API results in messages with markup in plain text

I'm trying to set up a server that, among other things, processes registrations. It's the standard process that everyone's familiar with: get username, password, and email address, then send a ...
Mason Wheeler's user avatar
3 votes
2 answers
137 views

How can I add "paragraph breaks" to my html email?

I'm trying to add paragraph breaks in the email messages I generate. I've tried both Environment.NewLine and adding multiple html paragraphs: // Take 1, using Environment.NewLine: htmlBody.Add(string....
B. Clay Shannon-B. Crow Raven's user avatar
2 votes
2 answers
2k views

Email message with static Google map not displaying correctly in Gmail

I am using C# code to generate an email message. In the body of the message, I want to add a static Google map. To create the static URL, I have the following code string addr = "111 Remote Drive ...
Abhi's user avatar
  • 107
1 vote
1 answer
1k views

Programatically forward Gmail messages & retain message formatting?

Is there any way to programatically forward email messages from Gmail to another email address, and retain all formatting - using C#? I've got an ASP.NET web application which needs to do this. ...
Mun's user avatar
  • 14.3k
2 votes
2 answers
2k views

HTML rendering in Outlook 2010 and Gmail

I am programmatically sending a full HTML message to 2 persons... 1 is a Gmail user and the other is a private host using Outlook... the message is the following: <html xmlns="http://www.w3.org/...
Leonardo's user avatar
  • 11.4k