The example I am working from uses the following code which does not work:
RDS.Connect = "Provider='sqloledb';Integrated Security='SSPI';Initial
So I tried the following, but still no go. Any help would be greatly appreciated!
Thanks in advance,
Stephen
dim conn
dim strconn
strconn =...
Cassidy,
I finally got the code working perfectly, thanks to your ever persisting help. I hope others will find the post of value as I did.
In the end I made the two following changes:
Changed
.Item(cdoSendUsingMethod) = cdoSendUsing
To
.Item(cdoSendUsingMethod) = 1
And
Changed...
Called my shared host & confirmed:
•SMTP Server is correct
•SMTP Server Port = 25
•SMTP server requires authentication
•User Name = User Name of pop account
•Password = Password of pop account
Gets error message below for the code at bottom, I guess figuring out how to debug SMTP server...
Connection failed using telnet as you prescribed. I am using a web host. Even my email account is web based. My MS Outlook is by-passed and remains dormant. I am trying to email the password back to a subscriber upon request via asp. Code looks fine; web host agrees all is fine on their end. I...
Called my shared host & confirmed:
• SMTP Server is correct
• SMTP Server Port = 25
• SMTP server requires authentication
• User Name = User Name of pop account
• Password = Password of pop account
Gets error message below, I guest figuring out how to debug...
Now getting error '8004020f' at .Send line, any idea what's going wrong - email not being sent & error message?
With m_objCDO
'Replace with email you wish the message to be sent to
.To = sEmail
'Replace with email you wish the message to be from
.From =...
No error now with the minor corrections below:
'Replace with your database connection information
with cn
.Provider = "Microsoft.Jet.OLEDB.4.0"
.ConnectionString =Server.MapPath("\myfolder\mydatabase.mdb")
.Open
end with
I need the database connection to DSN-less, can I replace
'AAA with 'BBB and have it work correctly or is 'BBB incorrect coding - I am not familiar with this layout for referencing a database.
'AAA
'Replace with your database connection information
with cn
.Provider =...
<%@ LANGUAGE="VBSCRIPT" %>
<% Option Explicit %>
<%
Dim DATA_PATH, objDC, objRS, email, password, sendmail
'Maps to database. Change to your database path.
DATA_PATH=Server.Mappath("users.mdb")
' Create and establish data connection
Set objDC = Server.CreateObject("ADODB.Connection")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.