Re: cf_advancedemail version 2 beta testing

2001-11-03 Thread Jochem van Dieten

tom muck wrote:

> It sounds very interesting.   Does the tag have any mechanism in place to
> avoid conflicts with the  tag, such as if they were to both execute
> at the same time and attempt to write to the spool folder?


Documentation copy-paste:

"Note to ISP's

To my knowledge this tag entails no security issues other than those 
related to CFMAIL. Due to the different filename format there is ZERO 
POSSIBILTY for this email to overwrite email send by CFMAIL that might 
be residing in the spooldir."

To be specific: cf_advancedemail uses

while cfmail has some sort of .cfmail format with X = hex.


> I may have to look into it writing to my own mail server spool directory
> rather than the ColdFusion mail spool directory to avoid the 65,535 email
> limit of CF.  Have you tried anything like this?


With this tag it is not limited anymore (at least not to 65536, I 
wouldn't bet on something above half a million without modifying the 
code). There are other limitations in the use of the CFMAIL spooldir 
(single threaded, only one SMTP server) but I will be happy to write 
something if somebody can come up with the specifics.
Probably some sort of "format" attribute, which could be "IIS SMTP" or 
"MDAEMON" or whatever, together with a manually specified spooldir would 
work.

Jochem
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cf_advancedemail version 2 beta testing

2001-11-03 Thread tom muck

It sounds very interesting.   Does the tag have any mechanism in place to
avoid conflicts with the  tag, such as if they were to both execute
at the same time and attempt to write to the spool folder?

I may have to look into it writing to my own mail server spool directory
rather than the ColdFusion mail spool directory to avoid the 65,535 email
limit of CF.  Have you tried anything like this?

tom

"Jochem van Dieten" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Jim McAtee wrote:
>
> > Jochem,
> >
> > I just took a quick look at your tag.  Nice work.  I see that you write
> > directly to the CF spool directory and that you require the passing of
the
> > SMTP server name to the tag (or else you try to pull this info from the
> > registry).  Looks like this is used only to build the 'x-cf-...'
headers.
> > Are those headers necessary for CF to pick up the message from its
spool?
>
>
> Yes.
>
>
> > Also, is there no way to implement this just using CFMAIL, for systems
where
> > access to tags like CFFILE are restricted?
>
>
> What use would my tag be without cffile anyway? The point is that you
> can send attachments that appear inline.
>
> But I believe some people have got it to work using cfmail, at the
> expense of some email clients not understanding it. The problem is that
> CF adds some MIME-type regardless of what else is set. So you end up
> with 2 MIME headers, one correct one from cf_advancedemail and an
> incorrect one from cfmail.
>
> Jochem
> 
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cf_advancedemail version 2 beta testing

2001-11-03 Thread Jochem van Dieten

Bryant Tyson wrote:

> Jochem,
> 
> You know what would make this even more useful? If there was a "DELAY"
> value somewhere in there. So when sending huge volume mailings we could
> break them down into timed chunks like we were talking about last week.
> 
> So say:
> 
>  VOLUME= 2
>  DELAY = -1
> 
> Would send out 20k messages and then wait until the spool was empty to
> send the next 20k, all the way until the end of the query.
> 
>  VOLUME= 2
>  DELAY = 600
> 
> That would send out 20k messages every 600 seconds. Delay of 0 would just
> be no delay at all. Sound like something you could build in? I've been
> trying to do a custom version of this for the past week and failing
> miserably. =P

No. Since the tag doesn't handle any query loops or something (you have 
to place it in a cfloop manually) the tag is utterly unaware of being 
called in a loop. Also, unless you use some sort of cf_wait tag which 
still eats up a thread anyway it would seriously mess up all build in 
caching mechanisms because they are based on the request scope.

But because the tag uses a different file format handling a large amount 
of email should be possible (I just need to make that part failsafe, it 
is currently possible that something goes quite wrong there, not sending 
out any email at all, but I already have the code for that in one of my 
other customtags).

Jochem
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cf_advancedemail version 2 beta testing

2001-11-03 Thread Jochem van Dieten

Jim McAtee wrote:

> Jochem,
> 
> I just took a quick look at your tag.  Nice work.  I see that you write
> directly to the CF spool directory and that you require the passing of the
> SMTP server name to the tag (or else you try to pull this info from the
> registry).  Looks like this is used only to build the 'x-cf-...' headers.
> Are those headers necessary for CF to pick up the message from its spool?


Yes.


> Also, is there no way to implement this just using CFMAIL, for systems where
> access to tags like CFFILE are restricted?


What use would my tag be without cffile anyway? The point is that you 
can send attachments that appear inline.

But I believe some people have got it to work using cfmail, at the 
expense of some email clients not understanding it. The problem is that 
CF adds some MIME-type regardless of what else is set. So you end up 
with 2 MIME headers, one correct one from cf_advancedemail and an 
incorrect one from cfmail.

Jochem
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cf_advancedemail version 2 beta testing

2001-11-03 Thread Jochem van Dieten

Paris Lundis wrote:

> something else kind of struck me when looking at your tag documentation...
> you are writing to the spool directory :) good...


Yes. From there it is picked up by the default CF mail handler (dart.dll).


> I was wondering if you or anyone else had looked at the actual MAIL SPOOL on
> your mail server...  Here is my next generation concept for your program and
> people developing mail stuff with regard to customized volume oriented
> programs...
> 
> 1. Run the query..
> 2. Construct the messages.
> 3. Rather than parsing to the spool directory:
>   A. format the output to meet the standard mail specification.
>   B. Parse the completed specification emailing to the mail servers outgoing
> directory...
> 
> Anyone done anything like this?


AFAIK happens all the time. For me to implement that I would need to 
know what additional requirements are needed when writing to a diferent 
mail handler. CF requires 7 specially formatted lines followed by a 
blank line. What would MDaemon/IIS SMTP/Sendmail(?) etc. require?


> We run Mdaemon which is plain text files in directories just like CF...  the
> specification would be simple to duplicate without documentation... Most of
> the other programs like SLMAIL and other 3rd party use text file format...
> not sure about Microsofts que...
> 
> Anyone think such an approach might be worth investing time to attempt???


I will include something a little bit more generic in the final version, 
i.e. the ability to return a variable which is the entire email content. 
Then people can figure out for themselves how to feed that to some SMTP 
system.


> Maybe all that is obvious... Additionally, note, that this wouldn't work in
> situations where your email server is a shared resource of your hosting
> company/isp... I doubt they really support people parsing out volumes of
> email to their servers anyways :)


We do.


Jochem

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cf_advancedemail version 2 beta testing

2001-11-03 Thread Bryant Tyson

Jochem,

You know what would make this even more useful? If there was a "DELAY"
value somewhere in there. So when sending huge volume mailings we could
break them down into timed chunks like we were talking about last week.

So say:

 VOLUME= 2
 DELAY = -1

Would send out 20k messages and then wait until the spool was empty to
send the next 20k, all the way until the end of the query.

 VOLUME= 2
 DELAY = 600

That would send out 20k messages every 600 seconds. Delay of 0 would just
be no delay at all. Sound like something you could build in? I've been
trying to do a custom version of this for the past week and failing
miserably. =P

--
Bryant Tyson, WEB DEVELOPER
http://webtys.com
WebTY's, The Educated Choice.

On Sat, 3 Nov 2001, Paris Lundis wrote:

> something else kind of struck me when looking at your tag documentation...
> you are writing to the spool directory :) good...
> 
> Now a lot of people have been on the list complaining about CF and its
> inability to manage large volume mailings... without disk issues, bugs,
> slowness, etc...
> 
> I was wondering if you or anyone else had looked at the actual MAIL SPOOL on
> your mail server...  Here is my next generation concept for your program and
> people developing mail stuff with regard to customized volume oriented
> programs...
> 
> 1. Run the query..
> 2. Construct the messages.
> 3. Rather than parsing to the spool directory:
>   A. format the output to meet the standard mail specification.
>   B. Parse the completed specification emailing to the mail servers outgoing
> directory...
> 
> Anyone done anything like this?
> 
> We run Mdaemon which is plain text files in directories just like CF...  the
> specification would be simple to duplicate without documentation... Most of
> the other programs like SLMAIL and other 3rd party use text file format...
> not sure about Microsofts que...
> 
> Anyone think such an approach might be worth investing time to attempt???
> At any such point that this were to work, one would only be limited by the
> power of their email servers to send mail out...
> 
> Maybe all that is obvious... Additionally, note, that this wouldn't work in
> situations where your email server is a shared resource of your hosting
> company/isp... I doubt they really support people parsing out volumes of
> email to their servers anyways :)
> 
> -paris
> 
> 
> -----Original Message-
> From: Paris Lundis [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, November 03, 2001 14:49
> To: CF-Talk
> Subject: RE: cf_advancedemail version 2 beta testing
> 
> 
> looks good :)
> 
> We will test it over this weekend likely...
> 
> -paris
> 
> 
> -Original Message-
> From: Jochem van Dieten [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, November 03, 2001 14:44
> To: CF-Talk
> Subject: cf_advancedemail version 2 beta testing
> 
> 
> Hi all,
> 
> just wanted to announce that cf_advancedemail version 2 has gone to beta
> and that I could use some help with testing.
> 
> What is cf_advancedemail?
> cf_advancedemail is a custom tag that lets you send email in both plain
> text and HTML, and include images in the email message, so the images
> are also available when the reader is off-line.
> 
> Does it work?
>  From my server (CF 4.5.2 SP2 on NT) to Mozilla and Outlook it does. For
> the rest I don't know, and that is where I need help.
> 
> How expensive is it?
> Free. BSD licence, so you are even allowed to use this tag in a project
> you sell to a customer without having to pay anything. (For version 1
> you had to pay in the past, but no more.)
> 
> How does it work?
> In its simplest form it works like this:
> 
>
> 
> This would send an email in both plain text and HTML with all that is at
> the URL, and all images references at the URL. More advanced options
> include specifying a different plaintext and HTML text, cache control,
> advanced previewing etc.
> 
> How can I help?
> Download the tag, install it and try it. I am especially looking for
> people who can test it on Solaris, HP-UX and Linux.
> The other thing is that if you have a really exotic email client you can
> send me an email (off-list) and I will send you a test message and you
> can tell me how it looks.
> 
> Where to get it?
> http://jochem.vandieten.net/coldfusion/customtags/advancedemail/
> 
> Thanx,
> Jochem
> 
> 
> 
> 
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cf_advancedemail version 2 beta testing

2001-11-03 Thread Jim McAtee

Jochem,

I just took a quick look at your tag.  Nice work.  I see that you write
directly to the CF spool directory and that you require the passing of the
SMTP server name to the tag (or else you try to pull this info from the
registry).  Looks like this is used only to build the 'x-cf-...' headers.
Are those headers necessary for CF to pick up the message from its spool?
Also, is there no way to implement this just using CFMAIL, for systems where
access to tags like CFFILE are restricted?

Jim


- Original Message -
From: "Jochem van Dieten" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, November 03, 2001 12:43 PM
Subject: cf_advancedemail version 2 beta testing


> Hi all,
>
> just wanted to announce that cf_advancedemail version 2 has gone to beta
> and that I could use some help with testing.
>
> What is cf_advancedemail?
> cf_advancedemail is a custom tag that lets you send email in both plain
> text and HTML, and include images in the email message, so the images
> are also available when the reader is off-line.
>
> Does it work?
>  From my server (CF 4.5.2 SP2 on NT) to Mozilla and Outlook it does. For
> the rest I don't know, and that is where I need help.
>
> How expensive is it?
> Free. BSD licence, so you are even allowed to use this tag in a project
> you sell to a customer without having to pay anything. (For version 1
> you had to pay in the past, but no more.)
>
> How does it work?
> In its simplest form it works like this:
> 
>
> 
> This would send an email in both plain text and HTML with all that is at
> the URL, and all images references at the URL. More advanced options
> include specifying a different plaintext and HTML text, cache control,
> advanced previewing etc.
>
> How can I help?
> Download the tag, install it and try it. I am especially looking for
> people who can test it on Solaris, HP-UX and Linux.
> The other thing is that if you have a really exotic email client you can
> send me an email (off-list) and I will send you a test message and you
> can tell me how it looks.
>
> Where to get it?
> http://jochem.vandieten.net/coldfusion/customtags/advancedemail/
>
> Thanx,
> Jochem
>
> 
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cf_advancedemail version 2 beta testing

2001-11-03 Thread Paris Lundis

something else kind of struck me when looking at your tag documentation...
you are writing to the spool directory :) good...

Now a lot of people have been on the list complaining about CF and its
inability to manage large volume mailings... without disk issues, bugs,
slowness, etc...

I was wondering if you or anyone else had looked at the actual MAIL SPOOL on
your mail server...  Here is my next generation concept for your program and
people developing mail stuff with regard to customized volume oriented
programs...

1. Run the query..
2. Construct the messages.
3. Rather than parsing to the spool directory:
A. format the output to meet the standard mail specification.
B. Parse the completed specification emailing to the mail servers outgoing
directory...

Anyone done anything like this?

We run Mdaemon which is plain text files in directories just like CF...  the
specification would be simple to duplicate without documentation... Most of
the other programs like SLMAIL and other 3rd party use text file format...
not sure about Microsofts que...

Anyone think such an approach might be worth investing time to attempt???
At any such point that this were to work, one would only be limited by the
power of their email servers to send mail out...

Maybe all that is obvious... Additionally, note, that this wouldn't work in
situations where your email server is a shared resource of your hosting
company/isp... I doubt they really support people parsing out volumes of
email to their servers anyways :)

-paris


-Original Message-
From: Paris Lundis [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 03, 2001 14:49
To: CF-Talk
Subject: RE: cf_advancedemail version 2 beta testing


looks good :)

We will test it over this weekend likely...

-paris


-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 03, 2001 14:44
To: CF-Talk
Subject: cf_advancedemail version 2 beta testing


Hi all,

just wanted to announce that cf_advancedemail version 2 has gone to beta
and that I could use some help with testing.

What is cf_advancedemail?
cf_advancedemail is a custom tag that lets you send email in both plain
text and HTML, and include images in the email message, so the images
are also available when the reader is off-line.

Does it work?
 From my server (CF 4.5.2 SP2 on NT) to Mozilla and Outlook it does. For
the rest I don't know, and that is where I need help.

How expensive is it?
Free. BSD licence, so you are even allowed to use this tag in a project
you sell to a customer without having to pay anything. (For version 1
you had to pay in the past, but no more.)

How does it work?
In its simplest form it works like this:

   

This would send an email in both plain text and HTML with all that is at
the URL, and all images references at the URL. More advanced options
include specifying a different plaintext and HTML text, cache control,
advanced previewing etc.

How can I help?
Download the tag, install it and try it. I am especially looking for
people who can test it on Solaris, HP-UX and Linux.
The other thing is that if you have a really exotic email client you can
send me an email (off-list) and I will send you a test message and you
can tell me how it looks.

Where to get it?
http://jochem.vandieten.net/coldfusion/customtags/advancedemail/

Thanx,
Jochem



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cf_advancedemail version 2 beta testing

2001-11-03 Thread Paris Lundis

looks good :)

We will test it over this weekend likely...

-paris


-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 03, 2001 14:44
To: CF-Talk
Subject: cf_advancedemail version 2 beta testing


Hi all,

just wanted to announce that cf_advancedemail version 2 has gone to beta 
and that I could use some help with testing.

What is cf_advancedemail?
cf_advancedemail is a custom tag that lets you send email in both plain 
text and HTML, and include images in the email message, so the images 
are also available when the reader is off-line.

Does it work?
 From my server (CF 4.5.2 SP2 on NT) to Mozilla and Outlook it does. For 
the rest I don't know, and that is where I need help.

How expensive is it?
Free. BSD licence, so you are even allowed to use this tag in a project 
you sell to a customer without having to pay anything. (For version 1 
you had to pay in the past, but no more.)

How does it work?
In its simplest form it works like this:

   

This would send an email in both plain text and HTML with all that is at 
the URL, and all images references at the URL. More advanced options 
include specifying a different plaintext and HTML text, cache control, 
advanced previewing etc.

How can I help?
Download the tag, install it and try it. I am especially looking for 
people who can test it on Solaris, HP-UX and Linux.
The other thing is that if you have a really exotic email client you can 
send me an email (off-list) and I will send you a test message and you 
can tell me how it looks.

Where to get it?
http://jochem.vandieten.net/coldfusion/customtags/advancedemail/

Thanx,
Jochem


~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists