Skip to main content

Send mail using CDONTS in ASP (VB Script)

Dim objMail
'Create CDONTS.NewMail object
Set objMail = Server.CreateObject("CDONTS.NewMail")

objMail.From = ""
objMail.Subject = ""

'you need TO add these lines FOR the mail to be sent in HTML format

objMail.BodyFormat = 0
objMail.MailFormat = 0

objMail.To = ""
'objMail.Bcc = bcc

objMail.Body = ""
objMail.Send

set objMail = nothing

Comments

Popular posts from this blog

Android ref links

  Library reference resources: MVVM Architecture :  https://developer.android.com/jetpack/guide Hilt:  https://developer.android.com/training/dependency-injection/hilt-android Coroutines:  https://developer.android.com/kotlin/coroutines Retrofit:  https://square.github.io/retrofit/ Moshi:  https://github.com/square/moshi Coil:  https://coil-kt.github.io/coil/ Leak Canary:  https://square.github.io/leakcanary/ Concept reference resources: Repository Codelab:  https://developer.android.com/codelabs/kotlin-android-training-repository Room and Coroutines Codelab:  https://developer.android.com/codelabs/kotlin-android-training-room-database Room and Flow Codelab:  https://developer.android.com/codelabs/basic-android-kotlin-training-intro-room-flow Hilt Codelab:  https://developer.android.com/codelabs/android-hilt Navigation Codelab:  https://developer.android.com/codelabs/jetpack-compose-navigation Theming Codelab:  https:...