Skip to main content

All Questions

Tagged with
0 votes
0 answers
27 views

Mailmsg.Body => NewLine with <a href='https://browse'>login</a> don't work

this work (text > NewLine(\n) > text): Mailmsg.Body = $"Please press button login to log in.\n your Team." this work (text > Link > text): Mailmsg.Body = $"Please press ...
Edlaos's user avatar
  • 13
0 votes
0 answers
42 views

In C# Email Sending - using CKEditor 5 for body of email, OnValidSubmit Email body shows field is empty after entered text ,why?

Created C# Email Sending in Blazor Server App, Before using CKEditor 5 for Email body-Under fluent validation (OnValidSubmit), its working fine but After Using CKEditor 5 for Email Body, body field ...
siva ranjani's user avatar
0 votes
1 answer
69 views

How to add images to email?

In my e-commerce application (Blazor Server, Blazor WASM, Asp.Net Core API), I am sending an order confirmation email from API to the customer. I am using a html template for this e-mail. I couldn't ...
raysefo's user avatar
  • 472
0 votes
1 answer
60 views

Daily program to send reminder emails isn't showing embedded image [duplicate]

I have a program to go off daily to send reminder emails to the people registered for an event. Everything works except the image keeps showing as broken. I'm using C# .NET Core. Below is the html. ...
Matthew Pourroy's user avatar
0 votes
1 answer
97 views

VSTO and html body in outlook mailitem

I am currently working on a VSTO project and modifying the HTML content of a mailItem (HTMLBody). After modification, the original HTML + mod is then converted to the infamous WORD HTML (with loads of ...
anahimself's user avatar
2 votes
1 answer
1k views

formatting of HTML page is lost in outlook email

I am trying to send an HTML email though C# code. Everything works fine. I can send the email with a logo and icons. The only issue, I am facing is that formatting of the Header is lost when I send ...
rimi's user avatar
  • 775
0 votes
2 answers
90 views

NetOffice.Outlook distinguish between the images in the body of the email and the attached ones?

How can I distinguish between an image in the body of an email and an image attached to an email using the NetOffice.Outlook C# library? UPD: Here's my semi-working example: var saveInlineImages = ...
Alldman's user avatar
  • 13
0 votes
0 answers
298 views

Chinese letters appear when i change the content of an email in the junk mail using c#

I am creating a plugin in the outlook desktop that if the user use it on suspicous emails, it will change the content of the email by adding random characters to the urls so it is not valid anymore , ...
salaheddine alshawwa's user avatar
-2 votes
1 answer
2k views

While Sending HTML SVG image code not showing/preview image in Gmail

enter image description hereAdding SVG image code in html code and add html in htmlbody after that sending email so image is not showing here is my code ---- code --- MimeMessage emailMessage = new ...
M Sanni's user avatar
1 vote
0 answers
1k views

Blazor MailKit Email Template

I have a Calculator and i use the following to send the results by email public void SendEmail() { emailbody = "<i>Dear,&nbsp;" + model.FullName; emailbody ...
Nikolas Kypri's user avatar
0 votes
1 answer
2k views

C# Embed an image in an outlook email

I am trying to send emails with the same logo on it every time but I cannot seem to get any image to appear, the code I have done is as follows: Outlook.Application oApp = new Outlook.Application(); ...
jacko10101's user avatar
0 votes
1 answer
915 views

How can I change Image in the URL and still make sure old emails that are sent is not affected?

Our application will send the emails for customers on different events. These emails has placeholder where we need to display a promotion banner. Marketing team asking us to make this as dynamic. That ...
Pathrudu Majji's user avatar
0 votes
1 answer
313 views

Html template for outlook app email not rendering as expected

I am sending html template to mail with C#. The email I sent has the following issues: Html tags and css works fine in browser and mobile outlook, But it coming in plain text in the Outlook desktop ...
Emre Serper's user avatar
1 vote
0 answers
1k views

Escaping angle brackets in HTML email body

My software sends html emails. The body contains angle brackets. To avoid recognizing them as html tags, I replace them with &lt; and &gt; If I use this approach in an html document, it works ...
David Shochet's user avatar
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

15 30 50 per page
1
2 3 4 5
10