Click here to Skip to main content
15,907,497 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Need CSS Help Pin
#realJSOP2-Feb-09 1:03
professional#realJSOP2-Feb-09 1:03 
GeneralRe: Need CSS Help Pin
Guffa2-Feb-09 1:21
Guffa2-Feb-09 1:21 
Questionset a datasource for gridview Pin
joindotnet31-Jan-09 4:04
joindotnet31-Jan-09 4:04 
AnswerRe: set a datasource for gridview Pin
Christian Graus31-Jan-09 8:52
protectorChristian Graus31-Jan-09 8:52 
AnswerRe: set a datasource for gridview Pin
Kashif Sabir31-Jan-09 20:48
Kashif Sabir31-Jan-09 20:48 
GeneralRe: set a datasource for gridview Pin
joindotnet1-Feb-09 18:02
joindotnet1-Feb-09 18:02 
AnswerRe: set a datasource for gridview Pin
Xmen Real 1-Feb-09 5:09
professional Xmen Real 1-Feb-09 5:09 
QuestionI want send mail by shcedule Pin
Member 472018431-Jan-09 3:07
Member 472018431-Jan-09 3:07 
Hi Folks,
Here i created a Globle Application class file .There i write the code for mail send ing. Its executing but i am not getting the mail.
this is the code where i place in the asax page
Its urgent. plz help me
Thanks in advance.

]]>



Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs on application startup
sendmail()


End Sub

Sub Application_End(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs on application shutdown
End Sub

Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when an unhandled error occurs
End Sub

Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when a new session is started
End Sub

Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when a session ends.
' Note: The Session_End event is raised only when the sessionstate mode
' is set to InProc in the Web.config file. If session mode is set to StateServer
' or SQLServer, the event is not raised.
End Sub

Sub sendmail()
Dim s As Net.Mail.SmtpClient
Dim m As Net.Mail.MailMessage
s = New Net.Mail.SmtpClient()
m = New Net.Mail.MailMessage()

m.From = New System.Net.Mail.MailAddress("hora@horaanimationstudio.com")

m.To.Add(New System.Net.Mail.MailAddress("srinivas@horsoft.in"))

m.Subject = "autogeranted mail"
m.Body = "Test mail"
m.IsBodyHtml = False
s.Host = "mail.horaanimationstudio.com"
s.Port = 25

s.Credentials = New System.Net.NetworkCredential("hora@horaanimationstudio.com", "info1")

'//s.Send("kanteti.srinivas@gmail.com", "srinivas@horsoft.in", "autogeranted mail", "Test mail")
Try
s.Send(m)
Catch

End Try

End Sub


AnswerRe: I want send mail by shcedule Pin
Not Active31-Jan-09 3:27
mentorNot Active31-Jan-09 3:27 
Question[newbie] access key Pin
jon-8031-Jan-09 2:01
professionaljon-8031-Jan-09 2:01 
AnswerRe: [newbie] access key Pin
Christian Graus31-Jan-09 8:50
protectorChristian Graus31-Jan-09 8:50 
GeneralRe: [newbie] access key Pin
jon-801-Feb-09 6:45
professionaljon-801-Feb-09 6:45 
QuestionConfirm Message Box Pin
mehrdadc4831-Jan-09 1:35
mehrdadc4831-Jan-09 1:35 
AnswerRe: Confirm Message Box Pin
Christian Graus31-Jan-09 8:48
protectorChristian Graus31-Jan-09 8:48 
GeneralRe: Confirm Message Box Pin
mehrdadc4831-Jan-09 18:00
mehrdadc4831-Jan-09 18:00 
QuestionMessageBox in ASP using C# Pin
Tarun.Suneja31-Jan-09 0:23
Tarun.Suneja31-Jan-09 0:23 
AnswerRe: MessageBox in ASP using C# Pin
Adham_imp31-Jan-09 1:10
Adham_imp31-Jan-09 1:10 
AnswerRe: MessageBox in ASP using C# Pin
Eslam Afifi31-Jan-09 1:28
Eslam Afifi31-Jan-09 1:28 
AnswerRe: MessageBox in ASP using C# Pin
Christian Graus31-Jan-09 8:49
protectorChristian Graus31-Jan-09 8:49 
Question[Message Deleted] Pin
siva45530-Jan-09 23:18
siva45530-Jan-09 23:18 
AnswerRe: ASPNET permission Pin
Christian Graus30-Jan-09 23:26
protectorChristian Graus30-Jan-09 23:26 
GeneralRe: ASPNET permission [modified] Pin
siva45530-Jan-09 23:29
siva45530-Jan-09 23:29 
GeneralRe: ASPNET permission Pin
Christian Graus31-Jan-09 8:51
protectorChristian Graus31-Jan-09 8:51 
QuestionURL renaming Pin
Masood Kochi,SSF30-Jan-09 23:02
Masood Kochi,SSF30-Jan-09 23:02 
AnswerRe: URL renaming Pin
Christian Graus30-Jan-09 23:09
protectorChristian Graus30-Jan-09 23:09 

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.