Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I open the users e-mail using ColdFusion? 1

Status
Not open for further replies.

arilvade

IS-IT--Management
Mar 17, 2005
32
US
I would like to open the users mail with a predefined message and have them send the e-mail manually.

Also I would like to use variables from a database to be put inside the e-mail.

The e-mail is to request additional information from our database.

Yes I'm new to CF and thanks for you help.
 
CF does everything on the server, so it can't open a clients email.

What i would do instead is use a text area in a web page with the information you want with a submit button that sends email with <cfmail>

Code:
<cfoutput>
<textarea>Web admin guy,
I am #yourQuery.firstname# and would like to know more about #anotherQuery.productName#.

Thank you
</textarea>
</cfoutput>
<input type = "submit" name = "SendRequest">

See here for more info on cfmail
 
I have no access to an e-mail server; does this mean I can't use ColdFusion and have to use HTML (mailto:)?
 
Your web server isn't running an smtp service?

if you can't add an smtp server to your cf administrator....
wow...

mailto: will open the users default email program once they click it. You might ask the JS forum how to do it automatically.... however, if they don't use a mail client(outlook, firebird, whatever) you're SOL. Some people don't; they only use web mail like gmail, y!, aol, etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top