Skip to content

Instantly share code, notes, and snippets.

View NiclasLindqvist's full-sized avatar

Niclas Lindqvist NiclasLindqvist

View GitHub Profile
@NiclasLindqvist
NiclasLindqvist / Mail Script
Last active December 10, 2015 20:58
ASP Classic script for mailing using CDO
<%
Const cdoSendUsingPickup = 1 'Send message using the local SMTP service pickup directory.
Const cdoSendUsingPort = 2 'Send the message using the network (SMTP over the network).
Const cdoAnonymous = 0 'Do not authenticate
Const cdoBasic = 1 'basic (clear-text) authentication
Const cdoNTLM = 2 'NTLM
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Example CDO Message"