Re: [cfaussie] email attachments

2010-04-12 Thread m...@ampersand.net.au




You might like to look at
http://code.google.com/p/wkhtmltopdf/ - it makes nicer PDF files from
HTML - it uses a webkit widget so the HTML looks pretty much like
chrome/safari, and better than most other similar tools (including the
one in CF Server in my opinion).

I just do this in my code:


HTML for the PDF


[path]myfile.html"
output="#pdfhtml#">


If you have ever had problems with your PDF files looking not quite
right give this a try - it also copes with standards compliant code so
you're not stuck trying to do HTML 4 where you've half forgotten how to
make things work (or at least that's what happens to me).


On 13/04/2010 10:44 AM, KNOTT, Brian wrote:

  
  

  
  
  Thanks
Guys.  Looks like its PDF then attachment  to an email.
   
  Brian
   
  
  From: cfaussie@googlegroups.com
[mailto:cfaussie@googlegroups.com] On Behalf Of AJ Dyka
  Sent: Tuesday, 13 April 2010 10:21 AM
  To: cfaussie@googlegroups.com
  Subject: Re: [cfaussie] email attachments
  
   
  Ben Nadle has an example.
  
   
  
  
  http://www.bennadel.com/blog/1700-Ask-Ben-Creating-A-PDF-And-Attaching-It-To-An-Email-Using-ColdFusion.htm
  
  
   
  
  
  Google is a wonderful thing! ;)
  
  
   
  
  
  A.J.
  
  On 13 April 2010 10:14, KNOTT, Brian <brian.kn...@suncorp.com.au>
wrote:
  
  
  Presently there is
no file.  I want
to do it on the fly with out creating a file.
   
  Brian
   
  
  From: cfaussie@googlegroups.com
[mailto:cfaussie@googlegroups.com]
  On Behalf Of Kevin Pepperman
  Sent: Tuesday, 13 April 2010 10:13 AM
  To: cfaussie@googlegroups.com
  Subject: Re: [cfaussie] email attachments
  
  
  
   
  
  Yes,
just add cfmailparam between your cfmail tags with a path to the file.
It will
attach it to the email.
  
  
   
  
  
  
  
  
   
  
  
   
  
   
  
  On
Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian <brian.kn...@suncorp.com.au>
wrote:
  attachment
  
  
  
  
  
-- 
/Kevin Pepperman
  
"They who can give up essential liberty to obtain a little temporary
safety, deserve neither liberty nor safety." - Benjamin Franklin
  --
  
You received this message because you are subscribed to the Google
Groups
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
  
  
  
   
  
  
  
  This
e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or
one of its related entities "Suncorp".
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or
on 13 11
55 or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author
and does
not necessarily reflect the view of Suncorp. The content, including
attachments, is a confidential communication between Suncorp and the
intended
recipient. If you are not the intended recipient, any use, interference
with,
disclosure or copying of this e-mail, including attachments, is
unauthorised
and expressly prohibited. If you have received this e-mail in error
please
contact the sender immediately and delete the e-mail and any
attachments from
your system.
If this e-mail constitutes a commercial message of a type that you no
longer
wish to receive please reply to this e-mail by typing Unsubscribe in
the
subject line.
  
  
  -- 
  
  
  You received this message because you are
subscribed to the
Google Groups "cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
  
  
  
   
  
  -- 
You received this message because you are subscribed to the Google
Groups
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.
  
-- 
You received this message because you are subscribed to the Google
Groups "cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.






-- 
You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.




Re: [cfaussie] email attachments

2010-04-12 Thread Kevin Pepperman
It is still a file, even if it is only in memory, ColdFusion just added a
new attribute to cfmailparam that uses the cfdocument content that
is probably actually writing a binary file that attaches to the email.

I'll have to test it myself, but I'll bet that behind the scene CF/Java is
writing that file somewhere, CF emails go to a mail spool first so is it
writing to the spool with the file embedded?.

I could be wrong, ACF has new tricks all the time-- But I wouldn't think
that it would write a new file into memory each time you did this and then
keep it in memory until it was sent, it just sounds too fragile
and unreliable.

If this is critical data, I would do some testing first to make sure you are
not creating files somewhere you don't want them, and also test a failure
somehow to see what happens in worst case situations..

A file is still a file in memory, it is still a file no matter where it
resides.


addn: Ben Nadels' website never ceases to amaze and amuse me.. his coding
style really is what CFML is all about-- simple solutions to everyday
problems that everyone can use understand. Ben rocks!.

-- 
/Kevin Pepperman

"They who can give up essential liberty to obtain a little temporary safety,
deserve neither liberty nor safety." - Benjamin Franklin

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] email attachments

2010-04-12 Thread KNOTT, Brian
Thanks Guys.  Looks like its PDF then attachment  to an email.

Brian

From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of 
AJ Dyka
Sent: Tuesday, 13 April 2010 10:21 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] email attachments

Ben Nadle has an example.

http://www.bennadel.com/blog/1700-Ask-Ben-Creating-A-PDF-And-Attaching-It-To-An-Email-Using-ColdFusion.htm

Google is a wonderful thing! ;)

A.J.
On 13 April 2010 10:14, KNOTT, Brian 
mailto:brian.kn...@suncorp.com.au>> wrote:
Presently there is no file.  I want to do it on the fly with out creating a 
file.

Brian

From: cfaussie@googlegroups.com<mailto:cfaussie@googlegroups.com> 
[mailto:cfaussie@googlegroups.com<mailto:cfaussie@googlegroups.com>] On Behalf 
Of Kevin Pepperman
Sent: Tuesday, 13 April 2010 10:13 AM
To: cfaussie@googlegroups.com<mailto:cfaussie@googlegroups.com>
Subject: Re: [cfaussie] email attachments

Yes, just add cfmailparam between your cfmail tags with a path to the file. It 
will attach it to the email.





On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian 
mailto:brian.kn...@suncorp.com.au>> wrote:
attachment



--
/Kevin Pepperman

"They who can give up essential liberty to obtain a little temporary safety, 
deserve neither liberty nor safety." - Benjamin Franklin
--
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to 
cfaussie@googlegroups.com<mailto:cfaussie@googlegroups.com>.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com<mailto:cfaussie%2bunsubscr...@googlegroups.com>.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.


This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its 
related entities "Suncorp".
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 
55 or at suncorp.com.au<http://suncorp.com.au>.
The content of this e-mail is the view of the sender or stated author and does 
not necessarily reflect the view of Suncorp. The content, including 
attachments, is a confidential communication between Suncorp and the intended 
recipient. If you are not the intended recipient, any use, interference with, 
disclosure or copying of this e-mail, including attachments, is unauthorised 
and expressly prohibited. If you have received this e-mail in error please 
contact the sender immediately and delete the e-mail and any attachments from 
your system.
If this e-mail constitutes a commercial message of a type that you no longer 
wish to receive please reply to this e-mail by typing Unsubscribe in the 
subject line.
--
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to 
cfaussie@googlegroups.com<mailto:cfaussie@googlegroups.com>.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com<mailto:cfaussie%2bunsubscr...@googlegroups.com>.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

--
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] email attachments

2010-04-12 Thread AJ Dyka
Ben Nadle has an example.

http://www.bennadel.com/blog/1700-Ask-Ben-Creating-A-PDF-And-Attaching-It-To-An-Email-Using-ColdFusion.htm

Google is a wonderful thing! ;)

A.J.

On 13 April 2010 10:14, KNOTT, Brian  wrote:

>  Presently there is no file.  I want to do it on the fly with out creating
> a file.
>
>
>
> Brian
>
>
>
> *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On
> Behalf Of *Kevin Pepperman
> *Sent:* Tuesday, 13 April 2010 10:13 AM
> *To:* cfaussie@googlegroups.com
> *Subject:* Re: [cfaussie] email attachments
>
>
>
> Yes, just add cfmailparam between your cfmail tags with a path to the file.
> It will attach it to the email.
>
>
>
> 
>
>
>
>
>
>
>
> On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian 
> wrote:
>
> attachment
>
>
>
>
> --
> /Kevin Pepperman
>
> "They who can give up essential liberty to obtain a little temporary
> safety, deserve neither liberty nor safety." - Benjamin Franklin
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
> --
> This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of
> its related entities "Suncorp".
> Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13
> 11 55 or at suncorp.com.au.
> The content of this e-mail is the view of the sender or stated author and
> does not necessarily reflect the view of Suncorp. The content, including
> attachments, is a confidential communication between Suncorp and the
> intended recipient. If you are not the intended recipient, any use,
> interference with, disclosure or copying of this e-mail, including
> attachments, is unauthorised and expressly prohibited. If you have received
> this e-mail in error please contact the sender immediately and delete the
> e-mail and any attachments from your system.
> If this e-mail constitutes a commercial message of a type that you no
> longer wish to receive please reply to this e-mail by typing Unsubscribe in
> the subject line.
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] email attachments

2010-04-12 Thread Seona Bellamy
Hey, cool, I didn't know about this option. Thanks! :)

~Seona

On 13 April 2010 10:24, Blair McKenzie  wrote:

> To simplify this, you can set remove="true" on cfmailparam to indicate that
> the file should be deleted after the email is sent.
>
> Blair
>
>
> On Tue, Apr 13, 2010 at 10:21 AM, Seona Bellamy  wrote:
>
>> When I've had to do this sort of thing in the past, I've always found that
>> the easiest way was to create the file, attach it, then delete it from the
>> server if I had no need to keep it.
>>
>> From a conceptual point of view, I'm not sure that attaching a file that
>> hasn't been created actually makes sense. The attachment is a file,
>> therefore I can't think of any way to get around actually creating a file to
>> attach. Does that thought still make sense now that it's outside my head?
>> Having an odd morning so I'm not sure...
>>
>> Cheers,
>>
>> Seona.
>>
>>
>> On 13 April 2010 10:14, KNOTT, Brian  wrote:
>>
>>>  Presently there is no file.  I want to do it on the fly with out
>>> creating a file.
>>>
>>>
>>>
>>> Brian
>>>
>>>
>>>
>>> *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On
>>> Behalf Of *Kevin Pepperman
>>> *Sent:* Tuesday, 13 April 2010 10:13 AM
>>> *To:* cfaussie@googlegroups.com
>>> *Subject:* Re: [cfaussie] email attachments
>>>
>>>
>>>
>>> Yes, just add cfmailparam between your cfmail tags with a path to the
>>> file. It will attach it to the email.
>>>
>>>
>>>
>>> 
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian <
>>> brian.kn...@suncorp.com.au> wrote:
>>>
>>> attachment
>>>
>>>
>>>
>>>
>>> --
>>> /Kevin Pepperman
>>>
>>> "They who can give up essential liberty to obtain a little temporary
>>> safety, deserve neither liberty nor safety." - Benjamin Franklin
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "cfaussie" group.
>>> To post to this group, send email to cfaus...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> cfaussie+unsubscr...@googlegroups.com
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/cfaussie?hl=en.
>>>
>>> --
>>> This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one
>>> of its related entities "Suncorp".
>>> Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on
>>> 13 11 55 or at suncorp.com.au.
>>> The content of this e-mail is the view of the sender or stated author and
>>> does not necessarily reflect the view of Suncorp. The content, including
>>> attachments, is a confidential communication between Suncorp and the
>>> intended recipient. If you are not the intended recipient, any use,
>>> interference with, disclosure or copying of this e-mail, including
>>> attachments, is unauthorised and expressly prohibited. If you have received
>>> this e-mail in error please contact the sender immediately and delete the
>>> e-mail and any attachments from your system.
>>> If this e-mail constitutes a commercial message of a type that you no
>>> longer wish to receive please reply to this e-mail by typing Unsubscribe in
>>> the subject line.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "cfaussie" group.
>>> To post to this group, send email to cfaus...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> cfaussie+unsubscr...@googlegroups.com
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/cfaussie?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "cfaussie" group.
>> To post to this group, send email to cfaus...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> cfaussie+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/cfaussie?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] email attachments

2010-04-12 Thread Blair McKenzie
To simplify this, you can set remove="true" on cfmailparam to indicate that
the file should be deleted after the email is sent.

Blair

On Tue, Apr 13, 2010 at 10:21 AM, Seona Bellamy  wrote:

> When I've had to do this sort of thing in the past, I've always found that
> the easiest way was to create the file, attach it, then delete it from the
> server if I had no need to keep it.
>
> From a conceptual point of view, I'm not sure that attaching a file that
> hasn't been created actually makes sense. The attachment is a file,
> therefore I can't think of any way to get around actually creating a file to
> attach. Does that thought still make sense now that it's outside my head?
> Having an odd morning so I'm not sure...
>
> Cheers,
>
> Seona.
>
>
> On 13 April 2010 10:14, KNOTT, Brian  wrote:
>
>>  Presently there is no file.  I want to do it on the fly with out
>> creating a file.
>>
>>
>>
>> Brian
>>
>>
>>
>> *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On
>> Behalf Of *Kevin Pepperman
>> *Sent:* Tuesday, 13 April 2010 10:13 AM
>> *To:* cfaussie@googlegroups.com
>> *Subject:* Re: [cfaussie] email attachments
>>
>>
>>
>> Yes, just add cfmailparam between your cfmail tags with a path to the
>> file. It will attach it to the email.
>>
>>
>>
>> 
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian 
>> wrote:
>>
>> attachment
>>
>>
>>
>>
>> --
>> /Kevin Pepperman
>>
>> "They who can give up essential liberty to obtain a little temporary
>> safety, deserve neither liberty nor safety." - Benjamin Franklin
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "cfaussie" group.
>> To post to this group, send email to cfaus...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> cfaussie+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/cfaussie?hl=en.
>>
>> --
>> This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of
>> its related entities "Suncorp".
>> Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on
>> 13 11 55 or at suncorp.com.au.
>> The content of this e-mail is the view of the sender or stated author and
>> does not necessarily reflect the view of Suncorp. The content, including
>> attachments, is a confidential communication between Suncorp and the
>> intended recipient. If you are not the intended recipient, any use,
>> interference with, disclosure or copying of this e-mail, including
>> attachments, is unauthorised and expressly prohibited. If you have received
>> this e-mail in error please contact the sender immediately and delete the
>> e-mail and any attachments from your system.
>> If this e-mail constitutes a commercial message of a type that you no
>> longer wish to receive please reply to this e-mail by typing Unsubscribe in
>> the subject line.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "cfaussie" group.
>> To post to this group, send email to cfaus...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> cfaussie+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/cfaussie?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] email attachments

2010-04-12 Thread Seona Bellamy
When I've had to do this sort of thing in the past, I've always found that
the easiest way was to create the file, attach it, then delete it from the
server if I had no need to keep it.

>From a conceptual point of view, I'm not sure that attaching a file that
hasn't been created actually makes sense. The attachment is a file,
therefore I can't think of any way to get around actually creating a file to
attach. Does that thought still make sense now that it's outside my head?
Having an odd morning so I'm not sure...

Cheers,

Seona.

On 13 April 2010 10:14, KNOTT, Brian  wrote:

>  Presently there is no file.  I want to do it on the fly with out creating
> a file.
>
>
>
> Brian
>
>
>
> *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On
> Behalf Of *Kevin Pepperman
> *Sent:* Tuesday, 13 April 2010 10:13 AM
> *To:* cfaussie@googlegroups.com
> *Subject:* Re: [cfaussie] email attachments
>
>
>
> Yes, just add cfmailparam between your cfmail tags with a path to the file.
> It will attach it to the email.
>
>
>
> 
>
>
>
>
>
>
>
> On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian 
> wrote:
>
> attachment
>
>
>
>
> --
> /Kevin Pepperman
>
> "They who can give up essential liberty to obtain a little temporary
> safety, deserve neither liberty nor safety." - Benjamin Franklin
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
> --
> This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of
> its related entities "Suncorp".
> Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13
> 11 55 or at suncorp.com.au.
> The content of this e-mail is the view of the sender or stated author and
> does not necessarily reflect the view of Suncorp. The content, including
> attachments, is a confidential communication between Suncorp and the
> intended recipient. If you are not the intended recipient, any use,
> interference with, disclosure or copying of this e-mail, including
> attachments, is unauthorised and expressly prohibited. If you have received
> this e-mail in error please contact the sender immediately and delete the
> e-mail and any attachments from your system.
> If this e-mail constitutes a commercial message of a type that you no
> longer wish to receive please reply to this e-mail by typing Unsubscribe in
> the subject line.
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] email attachments

2010-04-12 Thread Kevin Pepperman
An attachment is a file.

If I recall correctly you cannot attach non files as files to emails :)

Maybe someone else knows how to do it, but I think you need a actual file.

Also, cfmail does not send emails immediately, it spools them, so the path
to the file needs to exist for a bit after you run the cfmail.

Is there some reason you cannot write it to the drive than use the path?


-- 
/Kevin Pepperman

"They who can give up essential liberty to obtain a little temporary safety,
deserve neither liberty nor safety." - Benjamin Franklin

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] email attachments

2010-04-12 Thread KNOTT, Brian
Presently there is no file.  I want to do it on the fly with out creating a 
file.

Brian

From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of 
Kevin Pepperman
Sent: Tuesday, 13 April 2010 10:13 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] email attachments

Yes, just add cfmailparam between your cfmail tags with a path to the file. It 
will attach it to the email.





On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian 
mailto:brian.kn...@suncorp.com.au>> wrote:
attachment



--
/Kevin Pepperman

"They who can give up essential liberty to obtain a little temporary safety, 
deserve neither liberty nor safety." - Benjamin Franklin
--
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.


This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its 
related entities "Suncorp".
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 
55 or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author and does 
not necessarily reflect the view of Suncorp. The content, including 
attachments, is a confidential communication between Suncorp and the intended 
recipient. If you are not the intended recipient, any use, interference with, 
disclosure or copying of this e-mail, including attachments, is unauthorised 
and expressly prohibited. If you have received this e-mail in error please 
contact the sender immediately and delete the e-mail and any attachments from 
your system.
If this e-mail constitutes a commercial message of a type that you no longer 
wish to receive please reply to this e-mail by typing Unsubscribe in the 
subject line.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] email attachments

2010-04-12 Thread Kevin Pepperman
Yes, just add cfmailparam between your cfmail tags with a path to the file.
It will attach it to the email.





On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian wrote:

> attachment




-- 
/Kevin Pepperman

"They who can give up essential liberty to obtain a little temporary safety,
deserve neither liberty nor safety." - Benjamin Franklin

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] email attachments

2010-04-12 Thread KNOTT, Brian
Is it possible to create an email attachment on the fly.  Got a customer that 
wants me be emailed an order confirmation but by attachment not in the email 
body.

Brian Knott


This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its 
related entities "Suncorp".
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 
55 or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author and does 
not necessarily reflect the view of Suncorp. The content, including 
attachments, is a confidential communication between Suncorp and the intended 
recipient. If you are not the intended recipient, any use, interference with, 
disclosure or copying of this e-mail, including attachments, is unauthorised 
and expressly prohibited. If you have received this e-mail in error please 
contact the sender immediately and delete the e-mail and any attachments from 
your system.
If this e-mail constitutes a commercial message of a type that you no longer 
wish to receive please reply to this e-mail by typing Unsubscribe in the 
subject line.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.