Click here to Skip to main content
15,902,938 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionTto use combobox from Javascript function Pin
indian14326-Dec-06 22:21
indian14326-Dec-06 22:21 
AnswerRe: Tto use combobox from Javascript function Pin
asithangae26-Dec-06 22:49
asithangae26-Dec-06 22:49 
QuestionClient Side DataSet Operations Pin
peter rankel26-Dec-06 22:12
peter rankel26-Dec-06 22:12 
AnswerRe: Client Side DataSet Operations Pin
Paddy Boyd26-Dec-06 23:25
Paddy Boyd26-Dec-06 23:25 
QuestionSMTP Mail Sending Problem.....? Pin
fmlove26-Dec-06 19:33
fmlove26-Dec-06 19:33 
AnswerRe: SMTP Mail Sending Problem.....? Pin
zahra yousefi26-Dec-06 20:19
zahra yousefi26-Dec-06 20:19 
AnswerRe: SMTP Mail Sending Problem.....? Pin
Venkatesh Mookkan27-Dec-06 15:53
Venkatesh Mookkan27-Dec-06 15:53 
GeneralRe: SMTP Mail Sending Problem.....? Pin
fmlove27-Dec-06 18:42
fmlove27-Dec-06 18:42 
dear Venkatesh Mookkan thanks for help. But dear actually i don't know what is SMTP_ServerName and SMTP_Uername please help me...

My Code is .....

Private mMailServer As String
Private mTo As String
Private mFrom As String
Private mMsg As String
Private mSubject As String
Private mCC As String
Private mPort As Integer

Dim strMsg As String
strMsg = "Thank you for Feedback"

mTo = Trim(ferozeahmed1@hotmail.com)
mFrom = Trim("fm_love82@hotmail.com")
mSubject = Trim("Thanks")
mMsg = Trim(strMsg)
mMailServer = "controll-dev-1" ' My Computer Name
mPort = 25
mCC = Trim("letus52@yahoo.com")

Try

Dim message As New MailMessage(mFrom, mTo, mSubject, mMsg)


If mCC <> "" Or mCC <> String.Empty Then
Dim strCC() As String = Split(mCC, ";")
Dim strThisCC As String
For Each strThisCC In strCC
message.CC.Add(Trim(strThisCC))
Next
End If


Dim mySmtpClient As New SmtpClient(mMailServer, mPort)

mySmtpClient.UseDefaultCredentials = True

mySmtpClient.Send(message)

MessageBox("The mail message has been sent to " & message.To.ToString())

'Response.Redirect("Default_retail.aspx")

Catch ex As FormatException

MessageBox("Format Exception: " & ex.Message)

Catch ex As SmtpException

MessageBox("SMTP Exception: " & ex.Message)

Catch ex As Exception

MessageBox("General Exception: " & ex.Message)

End Try

Dear when i click on send button "Failure Sending Mail" error occur. please tell me whats wrong with this code and tell me what can i write mailserver...
GeneralRe: SMTP Mail Sending Problem.....? Pin
Venkatesh Mookkan28-Dec-06 19:41
Venkatesh Mookkan28-Dec-06 19:41 
QuestionSessions Pin
sowmya_044426-Dec-06 19:22
sowmya_044426-Dec-06 19:22 
AnswerRe: Sessions Pin
Venkatesh Mookkan27-Dec-06 15:58
Venkatesh Mookkan27-Dec-06 15:58 
Questiontrusted Web Hosting Pin
TheEagle26-Dec-06 18:56
TheEagle26-Dec-06 18:56 
QuestionDownLoad Using JavaScript Pin
nannapanenikamalnath26-Dec-06 18:08
nannapanenikamalnath26-Dec-06 18:08 
AnswerRe: DownLoad Using JavaScript Pin
m.rastgar26-Dec-06 19:29
m.rastgar26-Dec-06 19:29 
GeneralRe: DownLoad Using JavaScript Pin
nannapanenikamalnath26-Dec-06 23:17
nannapanenikamalnath26-Dec-06 23:17 
GeneralRe: DownLoad Using JavaScript Pin
nannapanenikamalnath26-Dec-06 23:19
nannapanenikamalnath26-Dec-06 23:19 
GeneralRe: DownLoad Using JavaScript Pin
Paddy Boyd26-Dec-06 23:27
Paddy Boyd26-Dec-06 23:27 
GeneralRe: DownLoad Using JavaScript Pin
nannapanenikamalnath27-Dec-06 19:53
nannapanenikamalnath27-Dec-06 19:53 
QuestionCan anybody help me to use combobox from Javascript function [modified] Pin
indian14326-Dec-06 17:58
indian14326-Dec-06 17:58 
AnswerRe: Can anybody help me to use combobox from Javascript function Pin
Venkatesh Mookkan26-Dec-06 19:32
Venkatesh Mookkan26-Dec-06 19:32 
AnswerRe: Can anybody help me to use combobox from Javascript function Pin
m.rastgar26-Dec-06 19:43
m.rastgar26-Dec-06 19:43 
GeneralRe: Can anybody help me to use combobox from Javascript function Pin
indian14326-Dec-06 22:19
indian14326-Dec-06 22:19 
Generalhelp me to use combobox from Javascript function Pin
indian14326-Dec-06 22:20
indian14326-Dec-06 22:20 
GeneralRe: help me to use combobox from Javascript function Pin
Mircea Grelus26-Dec-06 22:56
Mircea Grelus26-Dec-06 22:56 
Question[Message Deleted] Pin
PREMSONBABY26-Dec-06 17:53
PREMSONBABY26-Dec-06 17:53 

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.