Click here to Skip to main content
15,904,416 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: MVC Role users error instance Pin
Herman<T>.Instance13-Jul-15 0:18
Herman<T>.Instance13-Jul-15 0:18 
QuestionConnection to vpn using .bat file Pin
vineet13047-Jul-15 7:58
vineet13047-Jul-15 7:58 
AnswerRe: Connection to vpn using .bat file Pin
ZurdoDev7-Jul-15 8:02
professionalZurdoDev7-Jul-15 8:02 
QuestionUsing Entity Framework on a Web Forms Website Pin
jkirkerx6-Jul-15 6:23
professionaljkirkerx6-Jul-15 6:23 
QuestionSingle Page Application based on .NET Pin
Ishwor Khanal3-Jul-15 17:05
Ishwor Khanal3-Jul-15 17:05 
AnswerRe: Single Page Application based on .NET Pin
Abhinav S7-Jul-15 16:46
Abhinav S7-Jul-15 16:46 
QuestionXmlTextWriter.Create(MemoryStream, xmlSettings) Pin
jkirkerx3-Jul-15 9:32
professionaljkirkerx3-Jul-15 9:32 
QuestionThe message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available Pin
Kushal Gupta2-Jul-15 22:12
Kushal Gupta2-Jul-15 22:12 
Please help me I am using this script..
FIND THE FULL CODE HERE

http://pastebin.com/qY1cN1ry[^]
C#
public void sendemail(int MemberId, DataTable Member, int rowNo)
        {
            MailMessage msgMail = new MailMessage();

            msgMail.To = Member.Rows[rowNo]["EmailID"].ToString();
            msgMail.From = "admin@auditionbollywood.com"; 
            msgMail.Subject = "Auditions BollyWood Account Expire";
            msgMail.BodyFormat = MailFormat.Text;
            StringBuilder sb = new StringBuilder();
            sb.AppendFormat("Hi !\n\n");
            sb.AppendFormat("Your Audition Bollywood Account has been expired.Please pay the payment for activation.\n");
            sb.AppendFormat("Click the below link to pay to activate your account\n");
            string link = string.Format("http://www.auditionbollywood.com/paymentrenewal.aspx?MemberId={0}", MemberId.ToString());
            sb.Append(link);
            sb.AppendFormat("\n\nThank You");
            msgMail.Body = sb.ToString();
            msgMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserver", "mail.auditionbollywood.com");
            msgMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", 587);
            msgMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusing", 2);
            msgMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
            msgMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "admin@auditionbollywood.com");
            msgMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "**********");
            SmtpMail.SmtpServer = "mail.auditionbollywood.com";
            SmtpMail.Send(msgMail);
        }

AnswerRe: The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available Pin
Abhinav S2-Jul-15 22:54
Abhinav S2-Jul-15 22:54 
Questiondisplay day name of selected date Pin
Praveen Kandari2-Jul-15 21:36
Praveen Kandari2-Jul-15 21:36 
AnswerRe: display day name of selected date Pin
Abhinav S2-Jul-15 22:52
Abhinav S2-Jul-15 22:52 
GeneralRe: display day name of selected date Pin
Praveen Kandari2-Jul-15 23:39
Praveen Kandari2-Jul-15 23:39 
QuestionASP.NET MVC4 / WebAPI OAuth - DotNetOpenAuth Pin
Jammer30-Jun-15 4:11
Jammer30-Jun-15 4:11 
QuestionCan any one help me to post content on linked in asp.net? Pin
Raghavendra.Kodimala29-Jun-15 21:19
professionalRaghavendra.Kodimala29-Jun-15 21:19 
AnswerRe: Can any one help me to post content on linked in asp.net? Pin
deepankarbhatnagar6-Jul-15 1:10
professionaldeepankarbhatnagar6-Jul-15 1:10 
QuestionCode or a network stack control to change the network gateway inside my app Pin
Michael Clinton29-Jun-15 12:14
Michael Clinton29-Jun-15 12:14 
QuestionFormat Excel Row Height Pin
Hellfire123128-Jun-15 17:54
Hellfire123128-Jun-15 17:54 
AnswerRe: Format Excel Row Height Pin
Herman<T>.Instance13-Jul-15 0:23
Herman<T>.Instance13-Jul-15 0:23 
Question.Net Pin
PRAKAS PANDEY28-Jun-15 1:14
PRAKAS PANDEY28-Jun-15 1:14 
AnswerRe: .Net Pin
Sascha Lefèvre28-Jun-15 1:22
professionalSascha Lefèvre28-Jun-15 1:22 
AnswerRe: .Net Pin
Seema Saraswat29-Jun-15 23:32
professionalSeema Saraswat29-Jun-15 23:32 
AnswerRe: .Net Pin
User 418025410-Jul-15 11:02
User 418025410-Jul-15 11:02 
QuestionApp development ASP.NET with SQL Server Pin
Member 1178537426-Jun-15 23:14
Member 1178537426-Jun-15 23:14 
AnswerRe: App development ASP.NET with SQL Server Pin
Seema Saraswat29-Jun-15 23:34
professionalSeema Saraswat29-Jun-15 23:34 
SuggestionRe: App development ASP.NET with SQL Server Pin
The Tigerman20-Jul-15 10:44
The Tigerman20-Jul-15 10:44 

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.