?
Solved

bcc, cc is not working

Posted on 2009-04-21
8
Medium Priority
?
603 Views
Last Modified: 2013-12-24
i use cfmail to send out mail, i also have cc and bcc but it is not working at all. from and to is fine but for some reason, either cc or bcc is receiving email. is there configuration somwhere or i must have done something wrong, please give some advice
<cfmail from="#form.from" to="#form.to" bcc="#form.from" ...
0
Comment
Question by:lakers2009
  • 4
  • 3
8 Comments
 
LVL 16

Expert Comment

by:duncancumming
ID: 24198228
it might help to see your real syntax.  the example you give above isn't syntactically correct
<cfmail from="#form.from" to="#form.to" bcc="#form.from" ...
should be
<cfmail from="#form.from#" to="#form.to#" bcc="#form.from#" ...

is it a problem with the actual email addresses themselves?  What happens if you put the same address as the to address into cc and bcc?  
0
 
LVL 19

Expert Comment

by:erikTsomik
ID: 24198234
i do not know why but it works for me
<cfmail from="#form.from" to="#form.to" bcc="#form.from" subject="test">

test email
</cfmail>
0
 
LVL 19

Expert Comment

by:erikTsomik
ID: 24198239
typo sorry

<cfmail from="#form.from" to="#form.to" bcc="#form.from#" subject="test">

test email
</cfmail>
0
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

 

Accepted Solution

by:
lakers2009 earned 0 total points
ID: 24198247
i know this is exactly what i have for both cc="#form.cc" and bcc="#form.bcc", it just doesn't work for me at all.
0
 

Author Comment

by:lakers2009
ID: 24198252
sorry i mean i should have # at both end, quick typing
0
 

Author Comment

by:lakers2009
ID: 24198320
i restarted the services and reset email connection on the mail server and it worked now so there you go.
0
 
LVL 19

Expert Comment

by:erikTsomik
ID: 24198323
it works like a charm form me. Make sure that you have smtp setup in you ColdFusion Administrator
0
 
LVL 19

Expert Comment

by:erikTsomik
ID: 24198331
SO the problem is your CF Server
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Loops Section Overview
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question