Click here to Skip to main content
15,923,015 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: The best way to manage user session ? Pin
Thesisus17-Mar-03 10:33
Thesisus17-Mar-03 10:33 
GeneralRe: The best way to manage user session ? Pin
TPN17-Mar-03 16:24
TPN17-Mar-03 16:24 
GeneralRe: The best way to manage user session ? Pin
Florin Ochiana27-Mar-03 13:07
Florin Ochiana27-Mar-03 13:07 
Questionhow browser remember's a link Pin
uzwa14-Mar-03 10:40
uzwa14-Mar-03 10:40 
AnswerRe: how browser remember's a link Pin
Torsten Mauz14-Mar-03 15:01
Torsten Mauz14-Mar-03 15:01 
GeneralEntertainment News Service Pin
perlmunger14-Mar-03 9:22
perlmunger14-Mar-03 9:22 
GeneralRichTextBox doubt Pin
Smitha Nishant14-Mar-03 5:09
protectorSmitha Nishant14-Mar-03 5:09 
GeneralSend mail in a free asp hosting. Pin
one_puppy13-Mar-03 15:37
one_puppy13-Mar-03 15:37 
You need to send mail in a free hosting that does not support mail object (like free account of brinkster)this is a solution:

Try my demo:

http://www25.brinkster.com/vokha/mail.asp

This is my code(This code using CDOSYS to send mail):


<%
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'Source code send mail in anyhost that support ASP and run below Windows 2000
'This source code send mail using a remote SMTP server that support open relay
'If you can't send mail in any server by this code. Please contact me. Because I using another
'server to send mail. So if someone change my password. It doesn't work. To make it work you
'should go to http://online.ie/registration/index.adp (Or any SMTP Server that support open relay). Register an account
'and place your username and password in the following code
'
' objConfig.Fields(cdoSMTPServer) = "Your server"
' objConfig.fields(cdoSendUserName) = "Your account"
' objConfig.fields(cdoSendPassword) = "Your password"
'
'Written by: VO KHA
'Email: one_puppy@yahoo.com
'Website: http://www.qitt.com, http://www.qitt.com/forum/
'Referce: msdn.microsoft.com, file cdosys.idl
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
if(trim(Request.Form("btnSend")) <> "") then
Dim strFrom, strTo, strSubject, strBody
strFrom = trim(Request.Form("txtFrom"))
strTo = trim(Request.Form("txtTo"))
strSubject = trim(Request.Form("txtSubject"))
strBody = trim(Request.Form("txtContent"))
call CDOSYSSendMail(strFrom, strTo, strSubject, strBody)
end if
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
function CDOSYSSendMail(strFrom, strTo, strSubject, strBody)
Const cdoSendUsingPort = 2
Const cdoSendUsingMethod = "http://schemas.microsoft.com/cdo/configuration/sendusing"
Const cdoSMTPServer = "http://schemas.microsoft.com/cdo/configuration/smtpserver"
Const cdoSMTPServerPort = "http://schemas.microsoft.com/cdo/configuration/smtpserverport"
Const cdoSMTPAuthenticate = "http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"
Const cdoBasic = 1
Const cdoSendUserName = "http://schemas.microsoft.com/cdo/configuration/sendusername"
Const cdoSendPassword = "http://schemas.microsoft.com/cdo/configuration/sendpassword"
Dim objMessage, objConfig
Set objMessage = CreateObject("CDO.Message")
Set objConfig = CreateObject("CDO.Configuration")
objConfig.Fields(cdoSendUsingMethod) = cdoSendUsingPort
objConfig.Fields(cdoSMTPServer) = "mail.online.ie"
objConfig.Fields(cdoSMTPServerPort) = 25
objConfig.Fields(cdoSMTPAuthenticate) = cdoBasic
objConfig.fields(cdoSendUserName) = "one_puppy"
objConfig.fields(cdoSendPassword) = "testme"
objConfig.Fields.Update
Set objMessage.Configuration = objConfig
objMessage.To = strTo
objMessage.From = strFrom
objMessage.Subject = strSubject
objMessage.TextBody = strBody
On Error Resume Next
objMessage.Send
If Err.Number = 0 Then
Response.Write("Send successful!")
Else
Response.Write("Cannot send your email: Error " + err.Description )
Err.Number = 0
End If
On Error Goto 0
end function
%>












From:
To
Subject
Content: <%=strBody%>
   
 
 












Welcome to my website:

www.qitt.com

You can win if you want
GeneralRe: Send mail in a free asp hosting. Pin
Vasudevan Deepak Kumar14-Mar-03 3:26
Vasudevan Deepak Kumar14-Mar-03 3:26 
GeneralFont sizes Pin
Brakanjan13-Mar-03 4:09
Brakanjan13-Mar-03 4:09 
GeneralRe: Font sizes Pin
Jonathan32113-Mar-03 16:59
Jonathan32113-Mar-03 16:59 
GeneralRe: Font sizes Pin
Brakanjan16-Mar-03 22:11
Brakanjan16-Mar-03 22:11 
GeneralRe: Font sizes Pin
Ansch17-Mar-03 13:31
Ansch17-Mar-03 13:31 
Questionvalign equivalent in CSS? Pin
Jörgen Sigvardsson13-Mar-03 3:23
Jörgen Sigvardsson13-Mar-03 3:23 
AnswerRe: valign equivalent in CSS? Pin
Richard Deeming13-Mar-03 6:07
mveRichard Deeming13-Mar-03 6:07 
GeneralRe: valign equivalent in CSS? Pin
Jörgen Sigvardsson13-Mar-03 11:11
Jörgen Sigvardsson13-Mar-03 11:11 
GeneralRe: valign equivalent in CSS? Pin
Paul Watson16-Mar-03 22:43
sitebuilderPaul Watson16-Mar-03 22:43 
GeneralRe: valign equivalent in CSS? Pin
Jörgen Sigvardsson16-Mar-03 22:59
Jörgen Sigvardsson16-Mar-03 22:59 
GeneralRe: valign equivalent in CSS? Pin
Paul Watson16-Mar-03 23:09
sitebuilderPaul Watson16-Mar-03 23:09 
GeneralRe: valign equivalent in CSS? Pin
Jörgen Sigvardsson17-Mar-03 0:04
Jörgen Sigvardsson17-Mar-03 0:04 
GeneralDynamic List Boxes w/Access/ASP/Javascript Pin
John Lysfjord12-Mar-03 20:11
sussJohn Lysfjord12-Mar-03 20:11 
Generalopening 2 instances of web browser with different dialup settings Pin
doddakiran12-Mar-03 2:55
doddakiran12-Mar-03 2:55 
GeneralAutomatic updates Pin
Brakanjan12-Mar-03 1:30
Brakanjan12-Mar-03 1:30 
GeneralRe: Automatic updates Pin
Jonathan32112-Mar-03 17:34
Jonathan32112-Mar-03 17:34 
GeneralRe: Automatic updates Pin
Brakanjan12-Mar-03 20:20
Brakanjan12-Mar-03 20:20 

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.