All Questions
4 questions
0
votes
0
answers
141
views
Embed c# image into html email
I have a class that returns an Image:
public static Image GenerateVoucher(decimal voucherAmount, string voucherCode,
DateTime expiryDate)
{
...
Image img = Image.FromFile(path);
...
0
votes
1
answer
1k
views
Getting exception, "The specified content type is invalid", when sending 2 inline images via Mail?
I am trying to add 2 images in my mail that I am sending, but currently
I am getting
exception The specified content type is invalid.
dynamic htmlView = AlternateView.CreateAlternateViewFromString(...
2
votes
1
answer
14k
views
C# add image to email body
This code sends an email with the attachment "Logo.JPG" but does not attach it to the body of the email. I just get the image place holder.
How can i add the image to the text of the message?
string ...
0
votes
1
answer
667
views
How to send email with embedded image using Mail function in C#?
All what I want is sending an email with embedded image. I am struggling with it and I don't know why I could not get it. The system sends that email but without showing the image and here's a ...