Ask a Question related to Macromedia ColdFusion, Design and Development.
-
benkayuk #1
Email to different addresses
Hi, I am designing a site for a company with dealers in different countries.
For each product I have a 'request info' form with name, address, email address
and country fields. At present the form simly sends the email out to my
address, but I need it to send to the relevant country dealer. This should be
automatically chosen by the option the user selects in the 'country' drop-down
list. How do I go about doing this? Thanks, Ben Kay
benkayuk Guest
-
Using CFTHROW to catch invalid email addresses
I'm working on a helpdesk system that sends notification emails to users and support consultants whenever they updated certain fields in the forms.... -
collecting email addresses
hi. I have a preview site up for my flash site that I am still building, but im wondering how to set up the preview so that people can enter their... -
What is the best way to send an email to ALL addresses in a dbase?
I have an access 2002 dbase that contains a contact table. It is about 200 records and grows everyday. How could I send an email to ALL contacts at... -
hiding email addresses
Could you tell me how to avoid having automated programs pick up the email addresses on your website so we avoid receiving so much junkmail? ... -
vkunirs #2
Re: Email to different addresses
Hi
for sending the mail from where you are getting the maild id's.
i think for this you are using some query like "select * from table".
then if you want to send to the countries which is selected by the user then
give where condition like this
where country='#form.country#'
:cool;
vkunirs Guest
-
benkayuk #3
Re: Email to different addresses
Not sure I fully follow......is this even something that has to be done with Coldfusion? Or can it be done without server input?
Ben
benkayuk Guest
-
Tom CF #4
Re: Email to different addresses
This will be done using Coldfusion.
U will do something like this:
fetch the email id using query
select * from tblName where country = #form.txtCountry#
Now this queryname.emailaddress in the "to" of cfmail like
<cfmail to="qryname.Email" from="admin@yourcompany.com" subject="jksdf">
body of the email
</cfmail>
Tom CF Guest



Reply With Quote

