Click here to Skip to main content
15,881,812 members
Home / Discussions / Web Development
   

Web Development

 
QuestionHow to send Email From Multiple SMTP In One shot. Pin
Ramendra Kumar Sinha11-May-22 18:52
Ramendra Kumar Sinha11-May-22 18:52 
AnswerRe: How to send Email From Multiple SMTP In One shot. Pin
Richard Deeming11-May-22 21:41
mveRichard Deeming11-May-22 21:41 
QuestionFont colour and background colour combinations hard to read Pin
Ross_Petersen2-May-22 22:24
professionalRoss_Petersen2-May-22 22:24 
AnswerRe: Font colour and background colour combinations hard to read Pin
Member 150787164-Jul-22 16:00
Member 150787164-Jul-22 16:00 
Questionhow do I get total quantity from this code Pin
wixily jnr28-Apr-22 13:26
wixily jnr28-Apr-22 13:26 
AnswerRe: how do I get total quantity from this code Pin
Richard MacCutchan28-Apr-22 21:32
mveRichard MacCutchan28-Apr-22 21:32 
GeneralRe: how do I get total quantity from this code Pin
wixily jnr29-Apr-22 8:17
wixily jnr29-Apr-22 8:17 
Questionsending mail using asp classic Pin
Member 1557807313-Apr-22 12:41
Member 1557807313-Apr-22 12:41 
I am new to ASP, have been working on this for some time
your help will be greatly appreciated, since your responses say do not reply, please accept my thanks

I am getting the error below
error '80040211'
/AspClassic/mail.asp, line 40

the code I am using is as below

<%@LANGUAGE="VBSCRIPT"%>

<%
'Step 1: create an object of CDO.Message
dim objMail
Set objMail = Server.CreateObject("CDO.Message")

'Step 2: set the smtp server, user name and password for authentication
dim smtpServer, yourEmail, yourPassword
smtpServer = "smtp.gmail.com"
yourEmail = "teckchandanirp@gmail.com" 'replace with a valid gmail account
yourPassword = "32233223" 'replace with a valid password for the gmail account set in yourEmail

'Step 4: set the email address to which email will be sent
sendEmailTo = "teckchandanirp@gmail.com"


'Step 5: set the configuration properties of objMail object
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.gmail.com"
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = true
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "teckchandanirp@gmail.com"
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "32233223"
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60

'Step 6: update the configuration after setting all the required items
objMail.Configuration.Fields.Update


'Step 7: prepare your email like set subject, body, from, to etc.
objMail.From = "teckchandanirp@gmail.com"
objMail.To = "teckchandanirp@gmail.com"

objMail.Subject="Application Form Registration Details"
objMail.htmlBody = "This is test message"

'Step 8: send the email
objMail.Send

'Step 9: release the object
Rant[REPOST] sending mail using asp classic Pin
Richard Deeming18-Apr-22 22:03
mveRichard Deeming18-Apr-22 22:03 
QuestionChrome Browser Extension API - access to the profile being used Pin
Andreas Mertens12-Apr-22 12:18
professionalAndreas Mertens12-Apr-22 12:18 
QuestionSend Email using Classic ASP Pin
Ram Teckchandani11-Apr-22 16:01
Ram Teckchandani11-Apr-22 16:01 
AnswerRe: Send Email using Classic ASP Pin
Richard MacCutchan11-Apr-22 22:01
mveRichard MacCutchan11-Apr-22 22:01 
QuestionWeb API Problem Pin
Kevin Marois2-Apr-22 10:19
professionalKevin Marois2-Apr-22 10:19 
AnswerRe: Web API Problem Pin
Richard Deeming3-Apr-22 21:40
mveRichard Deeming3-Apr-22 21:40 
QuestionE-Commerce platform in 2022 Pin
deepok130-Mar-22 22:31
deepok130-Mar-22 22:31 
AnswerRe: E-Commerce platform in 2022 Pin
Richard MacCutchan30-Mar-22 22:35
mveRichard MacCutchan30-Mar-22 22:35 
AnswerRe: E-Commerce platform in 2022 Pin
Kevin Marois2-Apr-22 22:28
professionalKevin Marois2-Apr-22 22:28 
GeneralRe: E-Commerce platform in 2022 Pin
deepok12-Apr-22 23:37
deepok12-Apr-22 23:37 
GeneralRe: E-Commerce platform in 2022 Pin
OriginalGriff2-Apr-22 23:41
mveOriginalGriff2-Apr-22 23:41 
GeneralRe: E-Commerce platform in 2022 Pin
deepok13-Apr-22 0:17
deepok13-Apr-22 0:17 
GeneralRe: E-Commerce platform in 2022 Pin
OriginalGriff3-Apr-22 0:23
mveOriginalGriff3-Apr-22 0:23 
GeneralRe: E-Commerce platform in 2022 Pin
deepok13-Apr-22 1:46
deepok13-Apr-22 1:46 
AnswerRe: E-Commerce platform in 2022 Pin
satya bharti31-May-22 23:23
professionalsatya bharti31-May-22 23:23 
Questioncompulsorily pass through the login.html Pin
ago24867-Mar-22 22:30
ago24867-Mar-22 22:30 
AnswerRe: compulsorily pass through the login.html Pin
Afzaal Ahmad Zeeshan28-Mar-22 11:27
professionalAfzaal Ahmad Zeeshan28-Mar-22 11:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.