Recipient Name In CDONTS

When sending an email, is it possible to include the recipients name with the email address?

View Replies


ADVERTISEMENT

Email Recipient

how do I get the response from the user to an email recipient?

View Replies View Related

Multiple Email Recipient

the script works but i wanna have this email to be sent to more than one recipient (see below code in red). I did add another ObjMail1.To tag for another email recipient but doesnt work.

<%Response.Buffer=True%>
<html>
<head>
<title>Thanks</title><%
Dim salutationname,salutation,t1name,t1,t2name,t2,t3na me,t3,t4name,t4,highqualificationname,highqualific ation,checkname,check,MyNewRandomNum
Randomize
MyNewRandomNum = Round(Rnd * 100000000000)+1
salutationname = "Salutation"
salutation = Request.Form("salutation")
t1name = "Name"
t1 = Request.Form("t1")
t2name = "Telephone number"
t2 = Request.Form("t2")
t3name = "Email"
t3 = Request.Form("t3")
t4name = "Age"
t4 = Request.Form("t4")
highqualificationname = "Qualifications"
highqualification = Request.Form("highqualification")
checkname = "Options"
check = Request.Form("check")
Dim stname,st
stname = "Comments"
st = Request.Form("s1")
Dim ObjMail1,ObjMail2
Set ObjMail1 = Server.CreateObject("CDONTS.NewMail")
'CHANGE THE EMAIL ADDRESS IN QUOTES BELOW TO THE ADDRESS YOU WANT THIS MAIL SENT
ObjMail1.To = "info@abc.com "

ObjMail1.From = t3
ObjMail1.Subject = "Enquiry"& "" & "QUEUE NO: " &Trim(MyNewRandomNum)& ""
ObjMail1.Body = t1name & vbcrlf&_
t1 & vbcrlf&_
t2name & vbcrlf&_
t2 & vbcrlf&_
t3name & vbcrlf&_
t3 & vbcrlf&_
t4name & vbcrlf&_
t4 & vbcrlf&_
highqualificationname & vbcrlf&_
highqualification & vbcrlf&_
checkname & vbcrlf&_
check
ObjMail1.Send
Set ObjMail1 = Nothing

Set ObjMail2 = Server.CreateObject("CDONTS.NewMail")
ObjMail2.To = t3
ObjMail2.From = "info@abc.com"
ObjMail2.Subject = "Thanks for your enquiry."& "" & "Your QUEUE NO: " &Trim(MyNewRandomNum)& ""
ObjMail2.Body = " Hello " &"" & t1 & ".You have submitted your enquiry to us. You will hear from us shortly. " & "" & ":" & st &""
ObjMail2.Send
Set ObjMail2 = Nothing
Response.Write"<center />Thank You.You will hear from us soon. "
%>

</head>

</html>

View Replies View Related

Different Email Recipient Issue

The form I have created is intended to send a email to an address based on what subject the user selects. Right now the form processes fine, but I receive no emails.

Dim name, email, phone, subject, message, customer, advertisement, truck, objNewMail
name = Request.Form("name")
email = Request.Form("email")
phone = Request.Form("phone")
subject = Request.Form("subject")
message = Request.Form("message")
customer = Request.Form("customer")
advertisement = Request.Form("advertisement")
message = Request.Form("truck")

Set objNewMail = Server.CreateObject("CDONTS.NewMail")
objNewMail.From = Request.Form("email")

if ("subject") = "1" then
objNewMail.To = "mrowan@hackworthrepro.com"
'hri@hackworthrepro.com

elseif ("subject") = "2" then
objNewMail.To = "foundsheep@yahoo.com"
'dcs@hackworthrepro.com

elseif ("subject") = "3" then
objNewMail.To = "foundsheep@gmail.com"
'production@hackworthrepro.com

'else if ("subject") = "4" then
'NewMailObj.To = "bmaury@hackworthrepro.com"

'else if ("subject") = "5" then
'NewMailObj.To = "slinton@hackworthrepro.com"

'else if ("subject") = "6" then
'NewMailObj.To = "mmartin@hackworthrepro.com"

'else if ("subject") = "7" then
'NewMailObj.To = "jvivio@hackworthrepro.com"

'else if ("subject") = "8" then
'NewMailObj.To = "hri@hackworthrepro.com"

end if

objNewMail.Subject = "Message from HRI Website"
objNewMail.Body = "Name: " & name & _
"<br>Email: " & email & _
"<br>Phone: " & phone & _
"<br>Subject: " & subject & _
"<br>Message: " & message & _
"<br>Heard About HRI from: " & customer & _
"<br>" & advertisement & _
"<br>" & truck

objNewMail.BodyFormat = 0
objNewMail.MailFormat = 0
objNewMail.Send

Set objNewMail = nothing
Response.write "<p>Thank you for contacting Hackworth Reprographics, Inc. Your message has been successfully sent. You should expect a response from us within one business day. Have a great day.</p> <p>Return to <a href='default.asp'>Home Page</a></p>"

View Replies View Related

Different Recipient For Different Geographic Locations

I've been using aspmailer by Tom Germain but I don't understand how to get it to do this (or find another mailer script that will) - assign different recipient email addresses for different geographic locations, then process accordingly, depending on the geographic location selected from list on form.

View Replies View Related

Configuring SMTP To Send Email To The Recipient

It seem that I did not configure the SMTP service on a Windows 2000 server correctly because all the email is been sent to InetpubmailrootQueue directory. Do I need to install Outlook for the email to send the mail to the recipient?

View Replies View Related

Authenticating/identifying Recipient Of Mail (with Link)

I'm looking to distribute links to a site by mail, and then identify the users following those links. (ie. embedding user id in the url, and retrieving that data)

I think Dev sheds activate account feature does what I need, as does similar features of other sites, so I would think this is pretty standardized. Unfortunately, I can't figure out what I need to feed the search engines in order to elicit a tutorial....

View Replies View Related

Jmail.SMTPMail Error '8000ffff', 503 Must Have Sender And Recipient First

Can anyone please help me with this. I have same code to send the emails. But once in a while i am getting this error messages. Could you please tell me what might be the possible reasons that makes this occur.

jmail.SMTPMail error '8000ffff'

503 must have sender and recipient first

Here are the program details: ....

View Replies View Related

Email Send Failed: The Server Rejected One Or More Recipient Addresses

I am using ASP formmail from www.brainjar.com. I keep getting this error message:
Form could not be processed due to the following errors:

Email send failed: The server rejected one or more recipient addresses. The server response was: 550 endlessenergysystems.com.

The email address in the form is correct and does work. I have changed the settings to different email address and SMTP servers to try to figure out the issue. However I still get the same error. Here are the basic settings:

referers = Array("www.endlessenergysystems.com", "endlessenergysystems.com")
mailComp = "CDOSYS"
smtpServer = "smtp.readyhosting.com"
fromAddr = "info@endlessenergysystems.com"

View Replies View Related

Cdonts

I am not having any trouble getting cdonts to work, but damn is it slow. I have the importance set to 2, but sometimes it can take a whole day or more to get the email. Anyone, know how I can make this faster, or another freeware program to send mail faster.

View Replies View Related

CDONTS

I am trying to use CDONTS to send an email and have the code below.

Set Mailer = Server.CreateObject("CDONTS.NewMail")
Mailer.From = "scottfrancisfrancis@hotmail.com"
Mailer.To = "scott.francis@eleco.com"
Mailer.Subject = "Segment Order Confirmation"
Mailer.BodyFormat = 2
BT = "Add order details here"
Mailer.Body = BT
Mailer.Send
set Mailer=nothing

I have declared the Mailer variable earlier in the code, the page runs through without any problems and redirects as it should but no mail gets sent. Can anyone see what I am doing wrong?

View Replies View Related

CDONTs To CDO

We jsut transfured our webhosts to another company, and the new servers are Win 2k3, well our others were Win 2k. I did not know that 2k3 did not support CDONTs.
I use the CDONTs for all the mail forms on our site. Is there any good turorial that have that are about CDOs? ALl i can find are CDONTs and CDOs with CDONT objects so that has been no help.

View Replies View Related

CDONTS

want to use CDONTS to sent my email. and i read this exellent thread:
How to use CDONTS
I have all kinds of forms with different names and values on different pages. How can i include all the fields of a submited form if they change name from form to form (or better yet, from page to page)?
I think that i would have to count the items and then include them in the form. but i don't know if that would work and how to do it.

View Replies View Related

CDONTS

Does anyone know of a FREE ASP hosting website that has CDONTS enabled?I want the page to be able to send e-mails.

View Replies View Related

CDONTS

According to the ASP 3.0 Programmer's Reference published by Wrox Press (copyright 2000), CDONTs has several limitations. One is that it offers no built-in user authentication and security features.
Is there any easy way to use CDONTS and have security at the same time? If you have an e-commerce web site and send an email to the vendor with a customer's credit card number and expiration date, could that information be intercepted? Is it possible to prevent that using whatever a web host has available

View Replies View Related

CDO Not CDONTS

I have a script that I've used elsewhere and it always
works fine. It uses CDO not CDONTS. IIS settings seem to
be the same as on other servers that have websites
running the same script.
When the form is submitted it runs until it gets to the
send line. Error says access denied. The script's access
is set the same as the rest of the site.
Getting very frustrating as I am out of my depth here.
Where do I start to correct this?

View Replies View Related

CDONTS

I would like to know if any one here know any sample examples or scripts that I can modify to work with a group mailing program. I would like to implement a form that uses CDONTS to grab the input and automatically emails to the given email.

i'm unable to extract user's full name as the 'From' section needs to be in the following format - "full name <email@dot.com>"

i was gonna use string concatenation but it dont like the symbol "<"
any help?

View Replies View Related

CDONTS

I have an urgent problem with ASP CDONTS right now.

This is my code:

Set Mail=Server.CreateObject("CDONTS.NewMail")
Mail.To="someone@somewhere.com"
Mail.Bcc="someoneelse@somewhere.com"
Mail.From="abc@abc.com"
Mail.Subject=Request.Form("subject")
Mail.Body=Request.Form("body")
Mail.Send
Set Mail=nothing

The mail is sent to someone@somewhere.com, but not the bcc address which is someoneelse@somewhere.com. Is my code wrong?

View Replies View Related

CDONTS

I have numerous forms processed using ASP and once they are added or amended I need to e-mail various locations to advise them that the form has been changed depending on the location in the form. This is not the problem a case statement does the biz and the SQL and databases are running like clockwork
The issue is that we have an exchange server but most of the e-mail adresses are internal only, so they have display names and aliases but as I can see no domain!!!! As I can see CDONTS only works with a domain. I have had a good search on the forum but I cant see a solution.
Is there another object that would work.If not is something out there that would the job, be it a VB Script or something else

View Replies View Related

CDONTS

I need to set up an online form that uses CDONTS to send information to different email addresses based on the user's selection in a drop-down box.There are five choices and each one needs to go to a different email address.I realize I there has to be an indexed array of emails, but I don't know where to start.

View Replies View Related

CDONTS

used the following script but it won't send the email.

<%
Dim TBdy
Dim MyCDO
Set MyCDO = Server.CreateObject("CDONTS.NewMail")
MyCDO.From = "person@something.org"
MyCDO.To = "allstar@aol.com"
MyCDO.Subject = "collegebound info"
TBdy = Request.Form("cb_name")
MyCDO.Body = TBdy
MyCDO.Send
Set MyCDO = nothing

%>

I received an error 0x800A0046 Permission Denided

I am using Win2000 Sever with exchange2000 and ISA2000.

View Replies View Related

CDONTS

I am using CDONTS for users to send mail from a form. The first question is, when a user recieves the mail, [QUAR] is at the beginning of the subject line. Any ideas what that is? Second question, if one does not put a valid value for the FROM property, the e-mail won't send.

But I do not want users to be able to reply to this type of e-mail. What can I do? When I do a search for [QUAR] nothing comes up and I can't seem to find anything for the FROM property either.

View Replies View Related

Cdonts

I am using cdonts to send emails from my form to my email address, it works great. My question is, is that In my fields area, when someone does not fill them out, it brings them to a page, which says to fill out these fields and go back to the form, which is what I want, but when the form is correctly filled out, it brings them to a blank page, but I want it to bring them to a custom made thank you page, without it interfering with the fields error page, how do I accomplish this

View Replies View Related

CDO Vs CDONTS

I've proven both systems on my asp server but I can't recognise the difference between them. I'd like to know which is the difference between them and which is better to send a big quantity of mails (I'm making a mailing list).

View Replies View Related

CDONTS

if it possible using CDONTS?On my site,when a product is purchased from a supplier, an email is automatically sent to him, notifying him of the sale.

Would it be possible to have him return the email to confirm the order, and have that somehow go into my database (that the order was confirmed), and then sent another email to the customer to let them know that the order was confirmed?

If this isn't possible using CDONTS,how would it be possible?

View Replies View Related

CDONTS Bcc

Is there a limit on bcc field in CDONTS ?I'm trying to send mailing list using CDONTS and bcc field, so I would like to know what is the limit

View Replies View Related

CDONTS

How can I email a response to the person that signed up with a specific message - and - also mail another (different) message to the admin person?

View Replies View Related

CDO Or CDONTS

My Web Hosting company runs Sun ONE Active Server Pages,without the SpicePack. So that means I do not have use of CDO or CDONTS.

Since they run Apache I do have access to linux sendmail feature.They have several examples how to send mail via perl or cgi but I was wondering is there a manner to wrap sendmail inside an ASP page?Also they don't support ActivePerl,so I can't even use pseudo ASP code and perl.

View Replies View Related

CDONTS

I want to write a small asp page which will send an email....I am planning to use CDONTS....Is CDONTS behaves same for Windows 2000, XP and Windows 2003. Can my page work without any other settings on all these 3 OS. or DO I need to setup something on each OS. ....what could be the best solution to send an email.

View Replies View Related

CDONTS

We use CDONTS from ASP quite a bit to send out e-mails. Everything works well "most" of the time. Sometimes, we find that the same e-mail gets sent out 2-3 times. Does CDONTS have any known problems we should know about. is this method a good one for sending out bulk e-mail, like 5-10,000 at a time?

View Replies View Related

Cdonts

I have just started work on a system using CDONTS to mail out. Whilst this is fine on the server, my local development machine is using XP Pro with IIS5.1 installed. Is there a way I can get the functionality of cdonts so that I can test/develop on my local machine, preferably without actually sending any mail to the persons involved.

View Replies View Related

CDO/CDONTS

I have a mailserver that requires windows authentication for sending email. could you guys show me an example of how to specify user and password in CDO/CDONTS?

View Replies View Related

Cdonts

I heard of a package for emailing thru ASP called CDONTS Is this free? Do I have to install it on my webserver?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved