Classic ASP Framework
org.classicasp.util.EmailUtilEx

Email utilities.

Send

Public Function Send(
ByRef oConfig,
ByRef oMessage)
Uploads a local file to the FTP server, creates necessary directory structure.

(Config: smtpserver, smtpserverport, sendusing, smtpconnectiontimeout, smtpauthenticate, sendusername, sendpassword)

(Message: subject, body, from, to, cc, bcc, replyto, priority, mode, attachments)

Config - sendusing:

  • 1 - cdoSendUsingPickup
  • 2 - cdoSendUsingPort (default)
  • 3 - cdoSendUsingExchange
Config - smtpauthenticate:

  • 0 - cdoAnonymous (default)
  • 1 - cdoBasic
  • 2 - cdoNTLM
Message - priority:

  • 0 - Low
  • 1 - Normal (default)
  • 2 - High
Message - mode:

  • 0 - Text (default)
  • 1 - Html
  • 2 - Mhtml

Returns

ObjectEx - {success:BooleanEx, message:StringEx, error:ObjectEx}

'***ClassicASP.org
'Copyright 2010 ClassicASP.org

'This file is part of ClassicASP Framework.

'ClassicASP-Framework is free software: you can redistribute it and/or modify
'it under the terms of the GNU General Public License as published by
'the Free Software Foundation, version 3 of the License.

'ClassicASP-Framework is distributed in the hope that it will be useful,
'but WITHOUT ANY WARRANTY; without even the implied warranty of
'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
'GNU General Public License for more details.

'You should have received a copy of the GNU General Public License
'along with ClassicASP-Framework. If not, see .

'For additional information please visit .

Created with TwinText