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

ASP.NET

 
QuestionMessage Removed Pin
4-Aug-10 6:03
arkiboys4-Aug-10 6:03 
AnswerRe: ajax dropdown Pin
Sandeep Mewara4-Aug-10 6:10
mveSandeep Mewara4-Aug-10 6:10 
QuestionNeed Solution to replace text with image in word 2007 and save the file in .pdf format [modified] Pin
raghvendrapanda4-Aug-10 2:55
raghvendrapanda4-Aug-10 2:55 
QuestionMessage Removed Pin
4-Aug-10 2:05
Haider M Rizvi4-Aug-10 2:05 
Answer[Cross-Post] create hirarchial page link Pin
Sandeep Mewara4-Aug-10 7:49
mveSandeep Mewara4-Aug-10 7:49 
AnswerRe: create hirarchial page link Pin
Ennis Ray Lynch, Jr.4-Aug-10 7:50
Ennis Ray Lynch, Jr.4-Aug-10 7:50 
Questionsending a mail with attachments Pin
benams4-Aug-10 1:21
benams4-Aug-10 1:21 
AnswerRe: sending a mail with attachments Pin
raju melveetilpurayil4-Aug-10 3:55
professionalraju melveetilpurayil4-Aug-10 3:55 
//namespace used

       //using System;
       //using System.Net.Mail;
       //using System.IO;
       MailMessage mm = new MailMessage("from_address", "to_address");


       byte[] atatchmentFile = FileUpload1.FileBytes;
       MemoryStream memStream = new MemoryStream(atatchmentFile);
       //attachment file form stream
       Attachment attachment = new Attachment(memStream, FileUpload1.FileName);
       mm.Attachments.Add(attachment);

       //smtp Host
       string smtpHost = "smtp.gmail.com";
       //smtp usename, add your username I userd gmail SMTP to send mail
       string userName = "your_username@gmail.com";
       //smtp passwords add your password
       string password = "your_password";

       //configuring smtp
       System.Net.Mail.SmtpClient mClient = new System.Net.Mail.SmtpClient();
       mClient.Port = 587;
       mClient.EnableSsl = true;
       mClient.UseDefaultCredentials = false;
       mClient.Credentials = new System.Net.NetworkCredential(userName, password);
       mClient.Host = smtpHost;
       mClient.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network;

       //sending mail
       mClient.Send(mm);

GeneralRe: sending a mail with attachments Pin
benams4-Aug-10 6:55
benams4-Aug-10 6:55 
GeneralRe: sending a mail with attachments Pin
raju melveetilpurayil4-Aug-10 8:23
professionalraju melveetilpurayil4-Aug-10 8:23 
GeneralRe: sending a mail with attachments Pin
benams4-Aug-10 12:56
benams4-Aug-10 12:56 
GeneralRe: sending a mail with attachments Pin
Mugdha_Aditya4-Aug-10 19:22
Mugdha_Aditya4-Aug-10 19:22 
AnswerRe: sending a mail with attachments Pin
Prosanta Kundu online4-Aug-10 20:17
Prosanta Kundu online4-Aug-10 20:17 
QuestionAjax timer error [modified] Pin
Amit Patel19853-Aug-10 20:45
Amit Patel19853-Aug-10 20:45 
AnswerRe: Ajax timer error Pin
raju melveetilpurayil3-Aug-10 21:32
professionalraju melveetilpurayil3-Aug-10 21:32 
Questionhow to Log DAL exception and showing alert to user when exception occurs? Pin
Paramhans Dubey3-Aug-10 18:58
professionalParamhans Dubey3-Aug-10 18:58 
QuestionHow to replace text with image in word 2007 and save the file in .pdf format Pin
raghvendrapanda3-Aug-10 9:00
raghvendrapanda3-Aug-10 9:00 
AnswerRe: How to replace text with image in word 2007 and save the file in .pdf format Pin
Yusuf3-Aug-10 17:11
Yusuf3-Aug-10 17:11 
GeneralRe: How to replace text with image in word 2007 and save the file in .pdf format Pin
raghvendrapanda3-Aug-10 22:43
raghvendrapanda3-Aug-10 22:43 
GeneralRe: How to replace text with image in word 2007 and save the file in .pdf format Pin
Yusuf4-Aug-10 7:13
Yusuf4-Aug-10 7:13 
GeneralRe: How to replace text with image in word 2007 and save the file in .pdf format Pin
raghvendrapanda4-Aug-10 9:00
raghvendrapanda4-Aug-10 9:00 
Questionpage break in pdf file [modified] Pin
Dhyanga3-Aug-10 8:33
Dhyanga3-Aug-10 8:33 
AnswerRe: page break in pdf file Pin
raju melveetilpurayil3-Aug-10 9:36
professionalraju melveetilpurayil3-Aug-10 9:36 
GeneralRe: page break in pdf file Pin
Dhyanga3-Aug-10 10:02
Dhyanga3-Aug-10 10:02 
GeneralRe: page break in pdf file Pin
Yusuf3-Aug-10 17:15
Yusuf3-Aug-10 17:15 

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.