close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

STARTTLS in classic asp

Thread began 3/16/2021 12:54 pm by sharon39426 | Last modified 3/22/2021 1:58 pm by sharon39426 | 441 views | 5 replies

sharon39426

All I found was Mail.TLS = True but no idea where to put it

<!--#include file="WA_Universal_Email/AspEmail_VB.asp" -->

<%
function WA_Universal_Email_1_SendMail(RecipientEmail)


dim MailObject, MailAttachments, MailBCC, MailCC, MailTo, MailBodyFormat, MailBody, MailImportance, MailFrom, MailSubject
MailAttachments = ""
MailBCC = ""
MailCC = ""
MailTo = ""
MailBodyFormat = ""
MailBody = ""
MailImportance = ""
MailFrom = "TRAIN TRACK|WA|" & cStr((mailserver.Fields.Item("MailFrom").Value)) & ""
MailSubject = "Reset Password"

'Global Variables
gBodyFormat = ""

set WA_MailObject = WAUE_Definition("" & cStr((mailserver.Fields.Item("mailserver").Value)) & "","" & cStr((mailserver.Fields.Item("mailport").Value)) & "","" & cStr((mailserver.Fields.Item("mailuser").Value)) & "","" & cStr((mailserver.Fields.Item("mailpswd").Value)) & "")

if (RecipientEmail <> "") then
set WA_MailObject = WAUE_AddRecipient(WA_MailObject,RecipientEmail)
else
'To Entries
set WA_MailObject = WAUE_AddRecipient(WA_MailObject,"" & cStr((UserEmail.Fields.Item("Email").Value)) & "")
end if

'Attachment Entries

'BCC Entries

'CC Entries

'Character Set

'Body Format
set WA_MailObject = WAUE_BodyFormat(WA_MailObject,1)
MailBodyFormat = gBodyFormat

'Set Importance
set WA_MailObject = WAUE_SetImportance(WA_MailObject,"3")

'Start Mail Body
MailBody = MailBody & "Click the link to reset your password: http://"& cStr(Request.ServerVariables("HTTP_HOST")) & Left(cStr(Request.ServerVariables("URL")),(Len(cStr(Request.ServerVariables("URL")))-20)) & "UserNewPswd.asp?Hashpass=" & cstr((Recordset1.Fields.Item("HashPass")))& "&StaffID="&cstr((Recordset1.Fields.Item("staffid")))

'End Mail Body

set WA_MailObject = WAUE_SendMail(WA_MailObject,MailAttachments,MailBCC,MailCC,MailTo,MailImportance,MailFrom,MailSubject,MailBody)

set WA_MailObject = nothing
end function
%>

I would love to fix this one issue, but then going forward it sounds like I need to move to PHP. Do your extensions work in Dreamweaver with PHP and SQL Server? Thank you

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...