I want to create an email cfc so I just pass the arguments that I require
through and it sends an email. Only issue I have is passing HTML code. How do
I set a variable to equal a block of code.
e.g.
cfset content = font face=Verdana, Arial, Helvetica, sans-serif size=2
Order number
Brian,
Try CFSaveContent
cfsavecontent variable=content
html code here
/cfsavecontent
http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-a29.htm
hope that helps
Ric.
On Thu, Aug 21, 2008 at 4:56 PM, KNOTT, Brian [EMAIL PROTECTED]wrote:
I want to create an email cfc so I just pass
You can use cfsavecontent
cfsavecontent variable=content
cfoutput
font face=Verdana, Arial, Helvetica, sans-serif size=2
Order number b#url.id#/b is in bFX4YOU system/b and needs to be
processed.brbr
Email sent #timeformat(now(),'h:m tt')#nbsp;#dateformat(now(),'d mmm
')#brbr
Thank
also. There are mailer.cfc components already built.
I use this one from Sebtools.
http://www.bryantwebconsulting.com/blog/index.cfm/2006/10/11/mailercfc_10
I hope that helps.
On Thu, Aug 21, 2008 at 3:12 AM, Kevin Pepperman [EMAIL PROTECTED]wrote:
You can use cfsavecontent
Thanks guys I knew it was easy but its late in the day and the brain is not
what it should be
Brian Knott
ext 61984
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Pepperman
Sent: Thursday, 21 August 2008 5:13 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie]
They would see the content of the snippet file, which would be part of
the page they are editing.
Basically, on the main page you would have something like
.
... surrounding html ...
cfinclude template=myeditablecontentfile.cfm
... surrounding html ...
.
And in the myeditablecontentfile file
Monday, 25th August at 6pm for 6:30 start
James Dumay of Atlassian (http://www.atlassian.com) will introduce us
to Maven, a build management tool that is a free open source Apache
project.
Whether you are a Flash, Flex or Coldfusion developer, you'll find
that Maven has been designed to take
In the last 2 years I have been wanting to make my blog somewhat more
pleasing than what it did look like, well the time has come to have done so.
The new code base is a new framework, and uses some known frameworks to help
achieve the results.
Anyway, as it used blogCFC in the past. I have
Hi all!
Have a system that people are supposed to log into every day and make
an entry. I've been asked to created a scheduled task that every
evening will look for all of the users who haven't made an entry today
and send them a reminder email, but I'm having trouble getting me head
around how
would it be more a simpler way to do a straight query?
select * from users where userID not in
(select userId from those that posted today)
On Fri, Aug 22, 2008 at 11:54 AM, Seona Bellamy [EMAIL PROTECTED] wrote:
Hi all!
Have a system that people are supposed to log into every day and
I'm not sure how efficient this might be but something like this should work...
cfset startDate = createDate(yy,mm,dd)
cfsert endDate = dateAdd('d',1,startDate)
cfquery ...
select u.emailaddress, u.firstname, u.surname
from user
where rec_id NOT in
(
select distinct bdi_usr_id
Do you have the ability to add to the database?
If so, create another table with a mapping (maybe) fieldname inside the user
table is just as good. Simply just flag that field as false, then when a
user makes an entry, fire an event to set to true.
The run your query against that flag, and
2008/8/22 Barry Beattie [EMAIL PROTECTED]:
would it be more a simpler way to do a straight query?
select * from users where userID not in
(select userId from those that posted today)
Oh yeah. *slaps forehead* I didn't even thing of doing it that way.
That works just fine. And so simple!
13 matches
Mail list logo