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


ADVERTISEMENT

Redirect To 2 Locations

How can I redirect user to two different locations using single Response.Redirect

View Replies View Related

FileExists For Networked Locations

I have been messing with FSO.FileExists for a while and have been looking into its limitations. On our server, we operate our directory in:

d:inetpubwwwrootintranet

and inside that directory is a VIRTUAL DIRECTORY by the name of employeeImages which maps to

otherserverfolder

So saying

d:inetpubwwwrootintranetemployeeImagesfile.jpg

IS the same thing as saying

otherserverfolderfile.jpg

The problem is, that when I set that path to a variable, called strPath and perform the following:

blnExists = FSO.FileExists(strPath)

it KEEPS returning as FALSE. So I had it output strPath. Sure enough it was the URL shown above. I cut and paste that into a window's location bar and boom, I'm taken RIGHT to the image.

So I'm thinking "Ok, FSO is a FILE SYSTEM OBJECT. Maybe it's limitations mean that it can only look at the local filesystem? Maybe it cannot see across a networked device? Maybe it cannot work with virtual directories?" I've done some looking around and cannot find any pages on limitations of FSO.

View Replies View Related

XML Server.map Won't Take Remote Locations

Whenever i put in a remote location to server.map, it errors about an invalid character (the colon is what gets it. is there any way to do xml parsing remotely?

View Replies View Related

Reuse SQL Statement In Different Locations

If I have a complex SQL statement that I want to use on several pages, what's the best way of going about it? Do I put it in an include or should it go in a sub or function or something else?

View Replies View Related

Form Have Two POST Locations

Is it possible to POST a FORM to multiple URLS at the same time OR Is the only workaround for this scenario to use response.redirect in the called ASP page and do a multi processing?

View Replies View Related

Recipient Name In CDONTS

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

View Replies View Related

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

ASP Mail, Toggle To Send Form To Different Locations

I have a simple aspmail form on a site I'm getting ready to launch, and the client has several locations... I wanted the user to be able to choose the location from a pulldown that the form was e-mailed to. Do I have to have a backend processing page for each location and have the pulldown point to it?

View Replies View Related

Get All Records, But Display On Separate Locations On Page

I have a table with a number of 'advertisements', and each ad specifies a page display location (#1 - #9). I would like to query for all ads, but display them only where they have their location (see image above). I currently have 9 different SQL queries, one for each location:

"SELECT * FROM tb_ads WHERE f_adlocation = 1

I would like to have one query, and at location 1, simply say: "If f_adlocation = 1, then display here. If there is more than one, then repeat as necessary". Here is what my database looks like: I have attached sample data as a .txt file.

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







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