Click here to Skip to main content
15,887,135 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to remove marshaling errors for COM-interop or PInvoke Pin
Richard MacCutchan3-Mar-17 1:05
mveRichard MacCutchan3-Mar-17 1:05 
QuestionASP.net ajax image upload Pin
Member 130057291-Mar-17 6:15
Member 130057291-Mar-17 6:15 
AnswerRe: ASP.net ajax image upload Pin
F-ES Sitecore1-Mar-17 23:00
professionalF-ES Sitecore1-Mar-17 23:00 
QuestionHow to avoid kill or wait alert? Pin
Member 1028105628-Feb-17 18:24
Member 1028105628-Feb-17 18:24 
AnswerRe: How to avoid kill or wait alert? Pin
Nathan Minier1-Mar-17 1:11
professionalNathan Minier1-Mar-17 1:11 
AnswerRe: How to avoid kill or wait alert? Pin
F-ES Sitecore1-Mar-17 4:13
professionalF-ES Sitecore1-Mar-17 4:13 
AnswerRe: How to avoid kill or wait alert? Pin
ZurdoDev1-Mar-17 5:18
professionalZurdoDev1-Mar-17 5:18 
QuestionImage not showing in vb.net Pin
Member 876166725-Feb-17 10:51
Member 876166725-Feb-17 10:51 
Hello

I have partly followed this tutorial:

Sending email with an embedded image through ASP.NET[^]

and, though the user receives his email, when I test my SMTP locally, the plain background image (600px x 600px) does not appear. In Visual Studio (2013), I don't get any errors. The image, emailBG.jpg, is in my Images folder in Solution Explorer, and the code I am using to send plain and HTML emails, and for the background image, is as follows:

HTML
Dim PlainMessage As AlternateView = AlternateView.CreateAlternateViewFromString("Hello. To reset your password....Nothing, "text/plain")
Dim mimeType As ContentType = New ContentType("text/html")
Dim HtmlMessage As AlternateView = AlternateView.CreateAlternateViewFromString("<p style......Nothing, "text/html")
Dim Logo As New LinkedResource(Server.MapPath("~/Images/emailBG.jpg"), "image/jpeg") 'embedded image
Logo.ContentId = "emailBG"

myMessage.AlternateViews.Add(PlainMessage)
myMessage.AlternateViews.Add(HtmlMessage)</<pre lang="HTML">
pre>

Thanks for any advice.
SuggestionRe: Image not showing in vb.net Pin
Richard MacCutchan25-Feb-17 20:42
mveRichard MacCutchan25-Feb-17 20:42 
GeneralRe: Image not showing in vb.net Pin
Member 876166725-Feb-17 23:30
Member 876166725-Feb-17 23:30 
SuggestionRe: Image not showing in vb.net Pin
Richard Deeming26-Feb-17 5:40
mveRichard Deeming26-Feb-17 5:40 
GeneralRe: Image not showing in vb.net Pin
Member 876166726-Feb-17 6:05
Member 876166726-Feb-17 6:05 
GeneralRe: Image not showing in vb.net Pin
Richard Deeming26-Feb-17 6:10
mveRichard Deeming26-Feb-17 6:10 
GeneralRe: Image not showing in vb.net Pin
Member 876166726-Feb-17 6:16
Member 876166726-Feb-17 6:16 
QuestionUse Skype at Webapplication Project Pin
Member 1300872324-Feb-17 20:06
Member 1300872324-Feb-17 20:06 
AnswerRe: Use Skype Pin
Richard MacCutchan24-Feb-17 21:28
mveRichard MacCutchan24-Feb-17 21:28 
QuestionCan we convert wav file to mp3 format file using asp? Pin
Member 1028105623-Feb-17 23:32
Member 1028105623-Feb-17 23:32 
AnswerRe: Can we convert wav file to mp3 format file using asp? Pin
Richard Deeming24-Feb-17 0:18
mveRichard Deeming24-Feb-17 0:18 
GeneralRe: Can we convert wav file to mp3 format file using asp? Pin
Member 1028105624-Feb-17 19:23
Member 1028105624-Feb-17 19:23 
GeneralRe: Can we convert wav file to mp3 format file using asp? Pin
Richard Deeming26-Feb-17 5:35
mveRichard Deeming26-Feb-17 5:35 
QuestionTask Scheduler Issue Pin
Member 1057937522-Feb-17 5:30
Member 1057937522-Feb-17 5:30 
AnswerRe: Task Scheduler Issue Pin
Richard MacCutchan22-Feb-17 5:35
mveRichard MacCutchan22-Feb-17 5:35 
QuestionWhat is difference between web api post and put Pin
Tridip Bhattacharjee20-Feb-17 20:52
professionalTridip Bhattacharjee20-Feb-17 20:52 
AnswerRe: What is difference between web api post and put Pin
Richard MacCutchan20-Feb-17 21:49
mveRichard MacCutchan20-Feb-17 21:49 
QuestionResponse is not available in this context in asp.net Pin
Member 1301225420-Feb-17 2:35
Member 1301225420-Feb-17 2:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.