|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Create a Highly Available Database Solution. Advantage Database Server can provide the availability to keep your data safe and ready for your application and users. |
|
#1
|
|||
|
|||
|
Hello! ! !
I would like to know how can i nodify some users which are into my databese with an e-mail? How can i sent to them an "automate" e-mail using VB script thx |
|
#2
|
|||
|
|||
|
Sending E-mail From A Windows Server
If you're on a Windows server, this should work:
Function email_send (FromAddr, ToAddr, Subject, Message, MessageFormat, SiteURL) Set objNewMail = Server.CreateObject("CDONTS.NewMail") With objNewMail .To = ToAddr .From = FromAddr .Subject = Subject .Body = Message If LCase(MessageFormat) = "html" Then .BodyFormat = 0 ' HTML .MailFormat = 0 ' MIME format .ContentBase = SiteURL Else .BodyFormat = 1 ' text message .MailFormat = 1 ' text/plain format End If .Send End With Set objNewMail = nothing End Function You'll find details here: http://www.devasp.com/Samples/mail.asp http://msdn.microsoft.com/library/d...ts_library_.asp |
|
#3
|
|||
|
|||
|
Thx
Thx I will try it
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > e-mail send |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|