Say you create a PDF with either cfdocument or ActivePDF and then say you
want to attach that PDF to an email without saving the PDF to disk. I have
been trying to accomplish this to no avail. I can't imagine that this isn't
a function of CFMX or wasn't included in the CFMX 7 update.
I can
Have you used cfmailparam ??? And turned off the spooling for that mail. If
you delete a file before cfmail completes then the attachments may not get
attached
Paul
~|
Logware (www.logware.us): a new and convenient
Have you used cfmailparam ??? And turned off the spooling for that mail. If
you delete a file before cfmail completes then the attachments may not get
attached
Paul
I am not attaching a file that is physically located on the server, the binary
data exists only as a variable. I then encode
To clarify,
I think you will HAVE to do it from a file... Then delete the file after the
mail is sent. To do that turn of the spooling part in the cfmail tag and
attach using cfmailparam. Then after the cfmail is done, delete the temp
file...
Paul
Looks like our mails are crossing in the ether
I know what I'm suggesting isn't elegant but AFAIK, with CFMX and above that
is just *how it is*. Creating an rfc mail and then sending it to the SMTP
server directly is possible I guess but you will need a bit of work to do
that...
Paul
I thought a mail attachment *HAD* to come from a file in a directory on the
server.
I usually drop it in a temp directory, then clean it up after cfmail runs.
Will
~|
Find out how CFTicket can increase your company's customer
I thought a mail attachment *HAD* to come from a file in a directory on the
server.
I usually drop it in a temp directory, then clean it up after cfmail runs.
Will
The only reason it *HAS* to come from a file is so the mail.jar (or whatever
.jar or process that does the mail processing) can
sorry, this is just over my head. :)
Will
~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try
If you're going to use the CFMAIL tag, you have to write attachments to disk.
There is no way around it, and I've tried MANY different ways to get around
it. In the end, we had to end up using a hand rolled Java-based mail proxy
service. Bye bye CFMAIL. Let me reiterate your astonishment at
Maybe this needs to be relayed to MM as a feature request?
Will
~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message:
If you're going to use the CFMAIL tag, you have to write attachments to disk.
There is no way around it, and I've tried MANY different ways to get around
it. In the end, we had to end up using a hand rolled Java-based mail proxy
service. Bye bye CFMAIL. Let me reiterate your astonishment at
CFMail is just using JavaMail AFAIK.
-Original Message-
From: Jeff Gombala [mailto:[EMAIL PROTECTED]
Sent: 10 August 2005 14:56
To: CF-Talk
Subject: Re: CFMAIL Attachments on the fly (not from a file)
If you're going to use the CFMAIL tag, you have to write attachments to
disk.
There
if you want to add data inline no need to write to disk. I know this
is possible with images and swfs even I think, you know, for HTML
email. I don't know if you can put a PDF inline though.
DK
On 8/10/05, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
CFMail is just using JavaMail AFAIK.
if you want to add data inline no need to write to disk. I know this
is possible with images and swfs even I think, you know, for HTML
email. I don't know if you can put a PDF inline though.
DK
On 8/10/05, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
I am aware that CFMX utilize
Hmm, I do know that Paul Hastings (I think it was him) did some digging to
see how deep the integration went when it came to CF and Javamail - I am
sure you could no doubt do this (if Java can).
-Original Message-
From: Jeff Gombala [mailto:[EMAIL PROTECTED]
Sent: 10 August 2005 15:33
Douglas Knudsen wrote:
if you want to add data inline no need to write to disk. I know this
is possible with images and swfs even I think, you know, for HTML
email. I don't know if you can put a PDF inline though.
Yes you can. Whether a recipient will see it inline or as an
attachment is up
Robertson-Ravo, Neil (RX) wrote:
Hmm, I do know that Paul Hastings (I think it was him) did some digging to
see how deep the integration went when it came to CF and Javamail - I am
sure you could no doubt do this (if Java can).
yes, i've been neck deep in javamail for a couple of months now.
17 matches
Mail list logo