C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




To Meetu Choudhary Plz Help


Posted Date: 07 Oct 2008      Total Responses: 1

Posted By: Nimmanagottu Srinivas       Member Level: Gold     Points: 1


This Application is running in my system but when i this application on server not working. and one more doubt is if istop SMTP Server in my System not working , it has to work even i stoped SMTP, Any way plz give ur solution plz Very Urgent , any any modification require in my code re adjust plz




private void SendMain()
{

string strto = "snimma@ajle.com";
string strSubject = txtFirstName.Text + " "+"Details";
string bodymsg = "FirstName :" + txtFirstName.Text + "" + "\n" +
"LastName :" +txtLastName.Text + "" + "\n" +
"Email :" + txtEmail.Text + "" + "\n" +
"Phone Number :" + txtPhone.Text + "" + "\n" +
"Location preference :" +dllLocation.SelectedItem.Text+ " " + "\n" +
"Funded By :" + dllFunded.SelectedItem.Text + "" + "\n" +
"Programs of Study :" + dllStudy.SelectedItem.Text+ "" + "\n" +
"How did you know about us?:" +dllKnowAboutUs.SelectedItem.Text+ ""+ "\n" +
"Course of your interest :" + txtCourses.Text + "" + "\n" +
"Comments:" + txtComments.Text + "";
SmtpMail.Send(txtEmail.Text, strto, strSubject, bodymsg);
SmtpMail.Send(strto, txtEmail.Text, "REG::reply", "thanks for your interesting");
Response.Redirect("thankyou.aspx");



}




Responses

Author: Meetu Choudhary    07 Oct 2008Member Level: GoldRating:     Points: 3
If it is not running on your server then i would suggest you to ask your server provider to check whether the SMTP is configured properly or not

as far as my knowledge i don't think it will work unless SMTP is configured..

Because the code i have provided to you is working on server and my system both

--
Thanks and Regards
Meetu Choudhary



Post Reply
You must Sign In to post a response.
Next : error arise
Previous : To Meetu Choudhary Plz Help
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

SPOC

Contact Us    Privacy Policy    Terms Of Use