Click here to Skip to main content
15,886,519 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: not able to Deserialize json signature lines Pin
ven7535-Feb-14 7:18
ven7535-Feb-14 7:18 
GeneralRe: not able to Deserialize json signature lines Pin
Richard Deeming5-Feb-14 8:01
mveRichard Deeming5-Feb-14 8:01 
GeneralRe: not able to Deserialize json signature lines Pin
ven7535-Feb-14 16:09
ven7535-Feb-14 16:09 
GeneralRe: not able to Deserialize json signature lines Pin
Richard Deeming6-Feb-14 1:37
mveRichard Deeming6-Feb-14 1:37 
GeneralRe: not able to Deserialize json signature lines Pin
ven7536-Feb-14 6:54
ven7536-Feb-14 6:54 
GeneralRe: not able to Deserialize json signature lines Pin
Richard Deeming6-Feb-14 8:56
mveRichard Deeming6-Feb-14 8:56 
GeneralRe: not able to Deserialize json signature lines Pin
ven7536-Feb-14 16:18
ven7536-Feb-14 16:18 
GeneralRe: not able to Deserialize json signature lines Pin
ven7536-Feb-14 21:34
ven7536-Feb-14 21:34 
Hi now i am trying to pass that image url from default page to html page as follows
public string path = "images/s1.jpg";

and in html


while loading only image has to display
but i am not getting, blank image i am getting.

even if i add source directly in html like below

if i see in design view image will show and if i send that html file mail as shown below

System.Net.Mail.MailMessage mail = new System.Net.Mail.MailMessage();
mail.From = new MailAddress("emailid");
mail.To.Add("emailid");
mail.IsBodyHtml = true;
mail.Subject = "Policy Acceptance";
string FilePath = Server.MapPath("~/sendmail.htm");
FileStream f1 = new FileStream(FilePath, FileMode.Open);
StreamReader sr = new StreamReader(f1);
string str = sr.ReadToEnd();
str = str.Replace("[[[user]]]", "name");

f1.Close();
mail.Body = str;
SmtpClient smtp = new SmtpClient("server ip", portnumber);
smtp.Send(mail);

after sending mail, mail will recieve but image will like blank.

I need to pass the image url from default page to html page, whlile html file loading only it has to show image and after sending that html mail image has to display in that mail.
how to achieve this. reply me, thanks in advance.

modified 7-Feb-14 5:17am.

GeneralRe: not able to Deserialize json signature lines Pin
ven7537-Feb-14 7:03
ven7537-Feb-14 7:03 
GeneralRe: not able to Deserialize json signature lines Pin
Richard Deeming10-Feb-14 1:27
mveRichard Deeming10-Feb-14 1:27 
Question3 layers architecture & MVC Pin
kryptong4-Feb-14 3:20
kryptong4-Feb-14 3:20 
AnswerRe: 3 layers architecture & MVC Pin
Eddy Vluggen4-Feb-14 7:55
professionalEddy Vluggen4-Feb-14 7:55 
GeneralRe: 3 layers architecture & MVC Pin
kryptong4-Feb-14 8:08
kryptong4-Feb-14 8:08 
GeneralRe: 3 layers architecture & MVC Pin
Eddy Vluggen5-Feb-14 0:30
professionalEddy Vluggen5-Feb-14 0:30 
AnswerRe: 3 layers architecture & MVC Pin
Pete O'Hanlon4-Feb-14 8:28
mvePete O'Hanlon4-Feb-14 8:28 
AnswerRe: 3 layers architecture & MVC Pin
CoderPanda5-Feb-14 6:56
professionalCoderPanda5-Feb-14 6:56 
QuestionGood GC configuration for Web services Pin
Pingala31-Jan-14 11:36
Pingala31-Jan-14 11:36 
AnswerRe: Good GC configuration for Web services Pin
Dave Kreskowiak31-Jan-14 11:58
mveDave Kreskowiak31-Jan-14 11:58 
AnswerRe: Good GC configuration for Web services Pin
CoderPanda5-Feb-14 7:23
professionalCoderPanda5-Feb-14 7:23 
QuestionSending e-mail error-VB.NET Pin
tgkkishore31-Jan-14 5:07
tgkkishore31-Jan-14 5:07 
AnswerRe: Sending e-mail error-VB.NET Pin
Eddy Vluggen31-Jan-14 6:25
professionalEddy Vluggen31-Jan-14 6:25 
GeneralRe: Sending e-mail error-VB.NET Pin
tgkkishore1-Feb-14 4:34
tgkkishore1-Feb-14 4:34 
GeneralRe: Sending e-mail error-VB.NET Pin
Eddy Vluggen1-Feb-14 7:09
professionalEddy Vluggen1-Feb-14 7:09 
GeneralRe: Sending e-mail error-VB.NET Pin
tgkkishore2-Feb-14 1:03
tgkkishore2-Feb-14 1:03 
GeneralRe: Sending e-mail error-VB.NET Pin
Richard MacCutchan2-Feb-14 1:31
mveRichard MacCutchan2-Feb-14 1:31 

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.