Re: cfmail causing problems for our server
Mandrill is excellent. We've used it for a while. Just whack their smtp server into the cf admin and off you go. It's more customisable than that of course, but the base function of running your mail through their servers should do the job. On 10 December 2014 at 23:35, Russ Michaels r...@michaels.me.uk wrote: if it is just bulk SMTP you need then www.mandrill.com allows 12,000 per month for free. For something more advanced try www.sendgrid.com, they also offer an API which allows you to send emails without using CFMAIL or SMTP which has its benefits. If you want an actual mailing list manager then mailchimp.com On Wed, Dec 10, 2014 at 6:23 PM, Dave Long d...@northgoods.com wrote: My customer's site allows interested visitors to subscribe to intermittent e-mail notifications regarding his annual event. My hosting provider tells me that use of cfmail to contact his 5,000+ mailing list is triggering blacklisting when we use it to notify subscribers of event changes and additions. He (the hosting provider) insists we use a third party e-mail service instead. Can anyone recommended such a service that can be trusted not to resell the DB? Thank you. Dave Long NorthGoods Merchant Services ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359845 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cfmail causing problems for our server
My customer's site allows interested visitors to subscribe to intermittent e-mail notifications regarding his annual event. My hosting provider tells me that use of cfmail to contact his 5,000+ mailing list is triggering blacklisting when we use it to notify subscribers of event changes and additions. He (the hosting provider) insists we use a third party e-mail service instead. Can anyone recommended such a service that can be trusted not to resell the DB? Thank you. Dave Long NorthGoods Merchant Services ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359791 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfmail causing problems for our server
Use a mail relay like STMP.com. Just change the smtp server for your mail blast to send through the relay. Robert Harrison Full Stack Developer AIMG rharri...@aimg.com Main Office: 704-321-1234 ext.121 Direct Line: 516-302-4345 www.aimg.com -Original Message- From: Dave Long [mailto:d...@northgoods.com] Sent: Wednesday, December 10, 2014 1:23 PM To: cf-talk Subject: cfmail causing problems for our server My customer's site allows interested visitors to subscribe to intermittent e-mail notifications regarding his annual event. My hosting provider tells me that use of cfmail to contact his 5,000+ mailing list is triggering blacklisting when we use it to notify subscribers of event changes and additions. He (the hosting provider) insists we use a third party e-mail service instead. Can anyone recommended such a service that can be trusted not to resell the DB? Thank you. Dave Long NorthGoods Merchant Services ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359792 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfmail causing problems for our server
Amazon SES was made for just this type of scenario. On Wed, Dec 10, 2014 at 1:23 PM, Dave Long d...@northgoods.com wrote: My customer's site allows interested visitors to subscribe to intermittent e-mail notifications regarding his annual event. My hosting provider tells me that use of cfmail to contact his 5,000+ mailing list is triggering blacklisting when we use it to notify subscribers of event changes and additions. He (the hosting provider) insists we use a third party e-mail service instead. Can anyone recommended such a service that can be trusted not to resell the DB? Thank you. Dave Long NorthGoods Merchant Services ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359793 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfmail causing problems for our server
My recommendation would be to have them create a MailChimp or Vertical Response (Constant Contact, Exact Target, etc.) account and just send emails through their API. VRs API is especially easy to send custom HTML through (http://developers.verticalresponse.com/docs/read/api_reference/emails ). Then you can also ensure CAN-SPAM compliance as well. If youre using a CMS to send the mail through, then you might need to create a module to hook in to the main mailing list feature, but the long-term result would be better. Jon On Dec 10, 2014, at 1:23 PM, Dave Long d...@northgoods.com wrote: My customer's site allows interested visitors to subscribe to intermittent e-mail notifications regarding his annual event. My hosting provider tells me that use of cfmail to contact his 5,000+ mailing list is triggering blacklisting when we use it to notify subscribers of event changes and additions. He (the hosting provider) insists we use a third party e-mail service instead. Can anyone recommended such a service that can be trusted not to resell the DB? Thank you. Dave Long NorthGoods Merchant Services ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359794 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfmail causing problems for our server
I use and like mail chimp Rob Sent from my Verizon Wireless 4G LTE smartphone div Original message /divdivFrom: Dave Long d...@northgoods.com /divdivDate:12/10/2014 12:23 PM (GMT-06:00) /divdivTo: cf-talk cf-talk@houseoffusion.com /divdivSubject: cfmail causing problems for our server /divdiv /div My customer's site allows interested visitors to subscribe to intermittent e-mail notifications regarding his annual event. My hosting provider tells me that use of cfmail to contact his 5,000+ mailing list is triggering blacklisting when we use it to notify subscribers of event changes and additions. He (the hosting provider) insists we use a third party e-mail service instead. Can anyone recommended such a service that can be trusted not to resell the DB? Thank you. Dave Long NorthGoods Merchant Services ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359795 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfmail causing problems for our server
Thanks, everyone. I'll check them out. -Original Message- From: Rob Voyle [mailto:robvo...@voyle.com] Sent: Wednesday, December 10, 2014 12:42 PM To: cf-talk Subject: RE: cfmail causing problems for our server I use and like mail chimp Rob Sent from my Verizon Wireless 4G LTE smartphone div Original message /divdivFrom: Dave Long d...@northgoods.com /divdivDate:12/10/2014 12:23 PM (GMT-06:00) /divdivTo: cf-talk cf-talk@houseoffusion.com /divdivSubject: cfmail causing problems for our server /divdiv /div My customer's site allows interested visitors to subscribe to intermittent e-mail notifications regarding his annual event. My hosting provider tells me that use of cfmail to contact his 5,000+ mailing list is triggering blacklisting when we use it to notify subscribers of event changes and additions. He (the hosting provider) insists we use a third party e-mail service instead. Can anyone recommended such a service that can be trusted not to resell the DB? Thank you. Dave Long NorthGoods Merchant Services ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359796 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfmail causing problems for our server
if it is just bulk SMTP you need then www.mandrill.com allows 12,000 per month for free. For something more advanced try www.sendgrid.com, they also offer an API which allows you to send emails without using CFMAIL or SMTP which has its benefits. If you want an actual mailing list manager then mailchimp.com On Wed, Dec 10, 2014 at 6:23 PM, Dave Long d...@northgoods.com wrote: My customer's site allows interested visitors to subscribe to intermittent e-mail notifications regarding his annual event. My hosting provider tells me that use of cfmail to contact his 5,000+ mailing list is triggering blacklisting when we use it to notify subscribers of event changes and additions. He (the hosting provider) insists we use a third party e-mail service instead. Can anyone recommended such a service that can be trusted not to resell the DB? Thank you. Dave Long NorthGoods Merchant Services ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359800 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfmail and special characters
Hi David, thank you. I ended up with a workaround similar to it: cfmail to=x...@xxx.com from=x...@xxx.com subject=Eine neue Datei ist verfuegbar type=HTML Sehr geehrter ..., Mit freundlichen Grouml;ssen /cfmail So for ü (e.g.) I typed: uuml; Not nice, but at least it works. Uwe Have you tried using HTMLEditFormat? David Phelan Web Developer IT Security Web Technologies Emerging Health Montefiore Information Technology 3 Odell Plaza, Yonkers, NY 10701 914-457-6465 Office dphe...@emerginghealthit.com www.emerginghealthit.com www.montefiore.org From: Uwe Degenhardt cf-t...@sdsolutions.de Sent: Wednesday, September 10, 2014 3:51 AM To: cf-talk Subject: Re: cfmail and special characters Hi Philipp, thanks. Unfortunately, that doesn't work either. Has anybody any other ideas ? @Philipp, can you send me one cfmail-code snippet with special characters that runs on your CF8/Linux-box as an example ? Uwe am Mittwoch, 10. September 2014 um 09:24 schrieben Sie: Uwe, try cfmail charset=utf-8... Gruß, Philipp Am 10.09.2014 um 09:17 schrieb Uwe Degenhardt cf-t...@sdsolutions.de: Hi Everybody, to be honest: I am pulling my hair out ! I have a problem with cfmail and special characters. The german umlaute seem to be displayed wrong. This is the code: cfcontent type=text/html; charset=utf-8 cfset SetLocale(German (DE))/ cfmail to=x...@xxx.com from=x...@xxx.com subject=Eine neue Datei ist verfuegbar CFMAILPARAM NAME=charset VALUE=utf-8 Sehr geehrter ..., Mit freundlichen Grüßen /cfmail I have also tried: cfcontent type=text/html; charset=iso-8859-1 cfset SetLocale(German (DE))/ cfmail to=x...@xxx.com from=x...@xxx.com subject=Eine neue Datei ist verfuegbar CFMAILPARAM NAME=charset VALUE=iso-8859-1 Sehr geehrter ..., Mit freundlichen Grüßen /cfmail Concerning the last line I always got: Mit freundlichen Gr??en instead of Mit freundlichen Grüßen I tried this on my ColdFusion 8 box with Windows. Absolutely no problem at all. When I switch to Linux (Debian or CentOS) it doesn't work. I also tried to change the charset on my linux boxes. No positive result. I tried to change the Mail Charset Settings in CF already. With also no positive results. Has anybody any other ideas ? Uwe ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359298 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfmail and special characters
Have you tried using HTMLEditFormat? David Phelan Web Developer IT Security Web Technologies Emerging Health Montefiore Information Technology 3 Odell Plaza, Yonkers, NY 10701 914-457-6465 Office dphe...@emerginghealthit.com www.emerginghealthit.com www.montefiore.org From: Uwe Degenhardt cf-t...@sdsolutions.de Sent: Wednesday, September 10, 2014 3:51 AM To: cf-talk Subject: Re: cfmail and special characters Hi Philipp, thanks. Unfortunately, that doesn't work either. Has anybody any other ideas ? @Philipp, can you send me one cfmail-code snippet with special characters that runs on your CF8/Linux-box as an example ? Uwe am Mittwoch, 10. September 2014 um 09:24 schrieben Sie: Uwe, try cfmail charset=utf-8... Gruß, Philipp Am 10.09.2014 um 09:17 schrieb Uwe Degenhardt cf-t...@sdsolutions.de: Hi Everybody, to be honest: I am pulling my hair out ! I have a problem with cfmail and special characters. The german umlaute seem to be displayed wrong. This is the code: cfcontent type=text/html; charset=utf-8 cfset SetLocale(German (DE))/ cfmail to=x...@xxx.com from=x...@xxx.com subject=Eine neue Datei ist verfuegbar CFMAILPARAM NAME=charset VALUE=utf-8 Sehr geehrter ..., Mit freundlichen Grüßen /cfmail I have also tried: cfcontent type=text/html; charset=iso-8859-1 cfset SetLocale(German (DE))/ cfmail to=x...@xxx.com from=x...@xxx.com subject=Eine neue Datei ist verfuegbar CFMAILPARAM NAME=charset VALUE=iso-8859-1 Sehr geehrter ..., Mit freundlichen Grüßen /cfmail Concerning the last line I always got: Mit freundlichen Gr??en instead of Mit freundlichen Grüßen I tried this on my ColdFusion 8 box with Windows. Absolutely no problem at all. When I switch to Linux (Debian or CentOS) it doesn't work. I also tried to change the charset on my linux boxes. No positive result. I tried to change the Mail Charset Settings in CF already. With also no positive results. Has anybody any other ideas ? Uwe ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359292 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cfmail and special characters
Hi Everybody, to be honest: I am pulling my hair out ! I have a problem with cfmail and special characters. The german umlaute seem to be displayed wrong. This is the code: cfcontent type=text/html; charset=utf-8 cfset SetLocale(German (DE))/ cfmail to=x...@xxx.com from=x...@xxx.com subject=Eine neue Datei ist verfuegbar CFMAILPARAM NAME=charset VALUE=utf-8 Sehr geehrter ..., Mit freundlichen Grüßen /cfmail I have also tried: cfcontent type=text/html; charset=iso-8859-1 cfset SetLocale(German (DE))/ cfmail to=x...@xxx.com from=x...@xxx.com subject=Eine neue Datei ist verfuegbar CFMAILPARAM NAME=charset VALUE=iso-8859-1 Sehr geehrter ..., Mit freundlichen Grüßen /cfmail Concerning the last line I always got: Mit freundlichen Gr??en instead of Mit freundlichen Grüßen I tried this on my ColdFusion 8 box with Windows. Absolutely no problem at all. When I switch to Linux (Debian or CentOS) it doesn't work. I also tried to change the charset on my linux boxes. No positive result. I tried to change the Mail Charset Settings in CF already. With also no positive results. Has anybody any other ideas ? Uwe ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359269 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfmail and special characters
Uwe, try cfmail charset=utf-8... Gruß, Philipp Am 10.09.2014 um 09:17 schrieb Uwe Degenhardt cf-t...@sdsolutions.de: Hi Everybody, to be honest: I am pulling my hair out ! I have a problem with cfmail and special characters. The german umlaute seem to be displayed wrong. This is the code: cfcontent type=text/html; charset=utf-8 cfset SetLocale(German (DE))/ cfmail to=x...@xxx.com from=x...@xxx.com subject=Eine neue Datei ist verfuegbar CFMAILPARAM NAME=charset VALUE=utf-8 Sehr geehrter ..., Mit freundlichen Grüßen /cfmail I have also tried: cfcontent type=text/html; charset=iso-8859-1 cfset SetLocale(German (DE))/ cfmail to=x...@xxx.com from=x...@xxx.com subject=Eine neue Datei ist verfuegbar CFMAILPARAM NAME=charset VALUE=iso-8859-1 Sehr geehrter ..., Mit freundlichen Grüßen /cfmail Concerning the last line I always got: Mit freundlichen Gr??en instead of Mit freundlichen Grüßen I tried this on my ColdFusion 8 box with Windows. Absolutely no problem at all. When I switch to Linux (Debian or CentOS) it doesn't work. I also tried to change the charset on my linux boxes. No positive result. I tried to change the Mail Charset Settings in CF already. With also no positive results. Has anybody any other ideas ? Uwe ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359270 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfmail and special characters
Hi Philipp, thanks. Unfortunately, that doesn't work either. Has anybody any other ideas ? @Philipp, can you send me one cfmail-code snippet with special characters that runs on your CF8/Linux-box as an example ? Uwe am Mittwoch, 10. September 2014 um 09:24 schrieben Sie: Uwe, try cfmail charset=utf-8... Gruß, Philipp Am 10.09.2014 um 09:17 schrieb Uwe Degenhardt cf-t...@sdsolutions.de: Hi Everybody, to be honest: I am pulling my hair out ! I have a problem with cfmail and special characters. The german umlaute seem to be displayed wrong. This is the code: cfcontent type=text/html; charset=utf-8 cfset SetLocale(German (DE))/ cfmail to=x...@xxx.com from=x...@xxx.com subject=Eine neue Datei ist verfuegbar CFMAILPARAM NAME=charset VALUE=utf-8 Sehr geehrter ..., Mit freundlichen Grüßen /cfmail I have also tried: cfcontent type=text/html; charset=iso-8859-1 cfset SetLocale(German (DE))/ cfmail to=x...@xxx.com from=x...@xxx.com subject=Eine neue Datei ist verfuegbar CFMAILPARAM NAME=charset VALUE=iso-8859-1 Sehr geehrter ..., Mit freundlichen Grüßen /cfmail Concerning the last line I always got: Mit freundlichen Gr??en instead of Mit freundlichen Grüßen I tried this on my ColdFusion 8 box with Windows. Absolutely no problem at all. When I switch to Linux (Debian or CentOS) it doesn't work. I also tried to change the charset on my linux boxes. No positive result. I tried to change the Mail Charset Settings in CF already. With also no positive results. Has anybody any other ideas ? Uwe ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359271 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: onApplicationStart and cfmail, when doess server start?
yeah, i thought it would be some thing every one but me has done. a simple email to alert you that the server has started. we have diff monitering in place, but i cant touch it. thanks a bunch. -m On Tue, Apr 1, 2014 at 2:00 PM, Bobby bo...@acoderslife.com wrote: The next thing that comes to mind is to parse the CF server.log file for the instance you are targeting. There are log entries for stopping and starting in there. ButŠI¹m guessing you are wanting this to be used as an alert not post-portem investigation. There are plenty of infrastructure monitoring applications and 3rd party services out there for monitoring your production servers (including the services). My company uses PRTG for performance/service monitoring (http://www.paessler.com/prtg) to cover all of our different servers. Im mostly responsible for the health of our CF servers though and FusionReactor works great for me. If you set it up correctly, it can notify you of service availability changes. None of the above actual means that a server was ³rebooted² though and a CF service stopping/starting also doesn¹t mean that someone manually triggered it. Also, keep in mind that something running ON the server that is supposed to send you this email is probably not going to work if its running on the service you are trying to monitor. On 4/1/14, 12:11 PM, morchella morchella.delici...@gmail.com wrote: looks like onServerStart is turned off. i cant change that on our server. On Tue, Apr 1, 2014 at 11:49 AM, morchella morchella.delici...@gmail.comwrote: thanks guys! i was unfamilar with onServerStart. looking now! Much appreciated! On Tue, Apr 1, 2014 at 11:44 AM, Bobby bo...@acoderslife.com wrote: The behavior you explained is expected. onApplicationStart() isnšt triggered until the first request to the application. Check out onServerStart and Server.cfc http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WS7AC9408A-1AC6-4ab7- 9C8 E-CF1DA8FCA16D.html http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/W S7AC9408A-1AC6-4ab7-9C8E-CF1DA8FCA16D.html On 4/1/14, 11:31 AM, morchella morchella.delici...@gmail.com wrote: so i am trying some thing out on localhost befor i move to dev i want to know when my cf server was started or restarted. so after my onApplicationStart i put in a cfmail and fir up an instance of cf9 for my localhost. i dont get the email unless i actually goto 127.x.x.x to view a page. i thought i should get it imeditaly when the server starts? how would or should i be doing this. thanks a bunch. will help to know when offshore reboots some thing with out informing us. -m ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358284 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
onApplicationStart and cfmail, when doess server start?
so i am trying some thing out on localhost befor i move to dev i want to know when my cf server was started or restarted. so after my onApplicationStart i put in a cfmail and fir up an instance of cf9 for my localhost. i dont get the email unless i actually goto 127.x.x.x to view a page. i thought i should get it imeditaly when the server starts? how would or should i be doing this. thanks a bunch. will help to know when offshore reboots some thing with out informing us. -m ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358270 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: onApplicationStart and cfmail, when doess server start?
ApplicationStart does not fire until the Application is hit. You're looking for onServerStart. On Tue, Apr 1, 2014 at 11:31 AM, morchella morchella.delici...@gmail.comwrote: so i am trying some thing out on localhost befor i move to dev i want to know when my cf server was started or restarted. so after my onApplicationStart i put in a cfmail and fir up an instance of cf9 for my localhost. i dont get the email unless i actually goto 127.x.x.x to view a page. i thought i should get it imeditaly when the server starts? how would or should i be doing this. thanks a bunch. will help to know when offshore reboots some thing with out informing us. -m ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358271 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: onApplicationStart and cfmail, when doess server start?
That is correct behavior. An application does not start until a page within its scope is requested. You have a few options though. Use onServerStart (CF 9+). Use another server to monitor it. Use a third party program such as FusionReactor. I highly recommend it and it's well worth the money spent. On Tue, Apr 1, 2014 at 10:31 AM, morchella morchella.delici...@gmail.comwrote: so i am trying some thing out on localhost befor i move to dev i want to know when my cf server was started or restarted. so after my onApplicationStart i put in a cfmail and fir up an instance of cf9 for my localhost. i dont get the email unless i actually goto 127.x.x.x to view a page. i thought i should get it imeditaly when the server starts? how would or should i be doing this. thanks a bunch. will help to know when offshore reboots some thing with out informing us. -m ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358272 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: onApplicationStart and cfmail, when doess server start?
The behavior you explained is expected. onApplicationStart() isn¹t triggered until the first request to the application. Check out onServerStart and Server.cfc http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WS7AC9408A-1AC6-4ab7-9C8 E-CF1DA8FCA16D.html On 4/1/14, 11:31 AM, morchella morchella.delici...@gmail.com wrote: so i am trying some thing out on localhost befor i move to dev i want to know when my cf server was started or restarted. so after my onApplicationStart i put in a cfmail and fir up an instance of cf9 for my localhost. i dont get the email unless i actually goto 127.x.x.x to view a page. i thought i should get it imeditaly when the server starts? how would or should i be doing this. thanks a bunch. will help to know when offshore reboots some thing with out informing us. -m ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358273 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: onApplicationStart and cfmail, when doess server start?
thanks guys! i was unfamilar with onServerStart. looking now! Much appreciated! On Tue, Apr 1, 2014 at 11:44 AM, Bobby bo...@acoderslife.com wrote: The behavior you explained is expected. onApplicationStart() isnšt triggered until the first request to the application. Check out onServerStart and Server.cfc http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WS7AC9408A-1AC6-4ab7-9C8 E-CF1DA8FCA16D.html On 4/1/14, 11:31 AM, morchella morchella.delici...@gmail.com wrote: so i am trying some thing out on localhost befor i move to dev i want to know when my cf server was started or restarted. so after my onApplicationStart i put in a cfmail and fir up an instance of cf9 for my localhost. i dont get the email unless i actually goto 127.x.x.x to view a page. i thought i should get it imeditaly when the server starts? how would or should i be doing this. thanks a bunch. will help to know when offshore reboots some thing with out informing us. -m ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358274 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: onApplicationStart and cfmail, when doess server start?
looks like onServerStart is turned off. i cant change that on our server. On Tue, Apr 1, 2014 at 11:49 AM, morchella morchella.delici...@gmail.comwrote: thanks guys! i was unfamilar with onServerStart. looking now! Much appreciated! On Tue, Apr 1, 2014 at 11:44 AM, Bobby bo...@acoderslife.com wrote: The behavior you explained is expected. onApplicationStart() isnšt triggered until the first request to the application. Check out onServerStart and Server.cfc http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WS7AC9408A-1AC6-4ab7-9C8 E-CF1DA8FCA16D.htmlhttp://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WS7AC9408A-1AC6-4ab7-9C8E-CF1DA8FCA16D.html On 4/1/14, 11:31 AM, morchella morchella.delici...@gmail.com wrote: so i am trying some thing out on localhost befor i move to dev i want to know when my cf server was started or restarted. so after my onApplicationStart i put in a cfmail and fir up an instance of cf9 for my localhost. i dont get the email unless i actually goto 127.x.x.x to view a page. i thought i should get it imeditaly when the server starts? how would or should i be doing this. thanks a bunch. will help to know when offshore reboots some thing with out informing us. -m ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358275 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: onApplicationStart and cfmail, when doess server start?
The next thing that comes to mind is to parse the CF server.log file for the instance you are targeting. There are log entries for stopping and starting in there. But I¹m guessing you are wanting this to be used as an alert not post-portem investigation. There are plenty of infrastructure monitoring applications and 3rd party services out there for monitoring your production servers (including the services). My company uses PRTG for performance/service monitoring (http://www.paessler.com/prtg) to cover all of our different servers. Im mostly responsible for the health of our CF servers though and FusionReactor works great for me. If you set it up correctly, it can notify you of service availability changes. None of the above actual means that a server was ³rebooted² though and a CF service stopping/starting also doesn¹t mean that someone manually triggered it. Also, keep in mind that something running ON the server that is supposed to send you this email is probably not going to work if its running on the service you are trying to monitor. On 4/1/14, 12:11 PM, morchella morchella.delici...@gmail.com wrote: looks like onServerStart is turned off. i cant change that on our server. On Tue, Apr 1, 2014 at 11:49 AM, morchella morchella.delici...@gmail.comwrote: thanks guys! i was unfamilar with onServerStart. looking now! Much appreciated! On Tue, Apr 1, 2014 at 11:44 AM, Bobby bo...@acoderslife.com wrote: The behavior you explained is expected. onApplicationStart() isnšt triggered until the first request to the application. Check out onServerStart and Server.cfc http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WS7AC9408A-1AC6-4ab7- 9C8 E-CF1DA8FCA16D.htmlhttp://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/W S7AC9408A-1AC6-4ab7-9C8E-CF1DA8FCA16D.html On 4/1/14, 11:31 AM, morchella morchella.delici...@gmail.com wrote: so i am trying some thing out on localhost befor i move to dev i want to know when my cf server was started or restarted. so after my onApplicationStart i put in a cfmail and fir up an instance of cf9 for my localhost. i dont get the email unless i actually goto 127.x.x.x to view a page. i thought i should get it imeditaly when the server starts? how would or should i be doing this. thanks a bunch. will help to know when offshore reboots some thing with out informing us. -m ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358277 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFMAIL - SASL
I'm trying to set up CFMAIL to use a relay server for one of my clients. The relay service says: Make sure that SMTP authentication (SASL) is turned ON I don't see any such setting in CFMAIL. Anyone know what this means? Thanks Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357059 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMAIL - SASL
SMTP authentication is an SMTP setting on the mail server not a cfmail setting, cfmail simply sends the username/password to authenticate. On Fri, Nov 8, 2013 at 2:35 PM, Robert Harrison rob...@austin-williams.comwrote: I'm trying to set up CFMAIL to use a relay server for one of my clients. The relay service says: Make sure that SMTP authentication (SASL) is turned ON I don't see any such setting in CFMAIL. Anyone know what this means? Thanks Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357060 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMAIL - SASL
if you want all emails to send using the same details, just set them in the cfadmin. On Fri, Nov 8, 2013 at 2:52 PM, Russ Michaels r...@michaels.me.uk wrote: SMTP authentication is an SMTP setting on the mail server not a cfmail setting, cfmail simply sends the username/password to authenticate. On Fri, Nov 8, 2013 at 2:35 PM, Robert Harrison rob...@austin-williams.com wrote: I'm trying to set up CFMAIL to use a relay server for one of my clients. The relay service says: Make sure that SMTP authentication (SASL) is turned ON I don't see any such setting in CFMAIL. Anyone know what this means? Thanks Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357061 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFMAIL - SASL
Thanks... that probably will not be the case. I'll send the bulk email through the service. I'll probably keep the forms and such using the internal server. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Friday, November 08, 2013 9:54 AM To: cf-talk Subject: Re: CFMAIL - SASL if you want all emails to send using the same details, just set them in the cfadmin. On Fri, Nov 8, 2013 at 2:52 PM, Russ Michaels r...@michaels.me.uk wrote: SMTP authentication is an SMTP setting on the mail server not a cfmail setting, cfmail simply sends the username/password to authenticate. On Fri, Nov 8, 2013 at 2:35 PM, Robert Harrison rob...@austin-williams.com wrote: I'm trying to set up CFMAIL to use a relay server for one of my clients. The relay service says: Make sure that SMTP authentication (SASL) is turned ON I don't see any such setting in CFMAIL. Anyone know what this means? Thanks Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357062 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMAIL - SASL
On Fri, Nov 8, 2013 at 3:35 PM, Robert Harrison wrote: I'm trying to set up CFMAIL to use a relay server for one of my clients. The relay service says: Make sure that SMTP authentication (SASL) is turned ON I don't see any such setting in CFMAIL. Anyone know what this means SASL is an authentication protocol. Your best bet is to make sure you use both TLS and a username and password. Jochem ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357063 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfmail Exchange 2010
On Fri, Sep 6, 2013 at 6:41 PM, Russ Michaels r...@michaels.me.uk wrote: We moved to google apps and never looked back. I now use hmail or smarter mail for smtp which is stress free. +1 -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356729 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfmail Exchange 2010
Dave I want to thank you for your help. I resolved the issue. Because my Exchange server and CF server are on different machines I had to create a new receive connector allowing relay from the IP address of my CF server. Out of the box, Exchange doesn't allow any relay from a remote machine. Your note made me realize this and I was able to resolve it: That doesn't mean that any server can relay through your Exchange server (I hope!). Typically, you have to enable relay for each individual IP address that you want to allow. Have a great weekend. Kind Regards, Rick Sanders T: 902-401-7689 W: www.webenergy.ca -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, September 04, 2013 8:33 PM To: cf-talk Subject: Re: cfmail Exchange 2010 OK, this is weird. I can send fine to any email address from the account I set up t...@mycompany.com mailto:t...@mycompany.com I'm doing a cfoutput query=emails and sending an email out to the people in my query. The emails are valid. However, only the people on the local Exchange server receive them. Anyone outside doesn't get them. I tested with my gmail account and I don't receive the email. But I get it on my exchange account. I tested and can send to my gmail account from the t...@mycompany.commailto:t...@mycompany.com directly no problems. My Cold Fusion server is on a different server than my Exchange server. I've tested the mail settings in the Cold fusion admin and tried with and without TLS and the settings are fine. By default, your Exchange server won't proxy SMTP messages. You have to specifically configure it to do so. Messages to Exchange mailboxes on that server don't need to be proxied, so they get delivered. Thanks for the info, but my Exchange server is set up to send to the outside world. My send connector type is SMTP. I even tried relaying through my ISP as a smart host and still no sending to outside addresses from my Cold fusion Server. That doesn't mean that any server can relay through your Exchange server (I hope!). Typically, you have to enable relay for each individual IP address that you want to allow. In any case, you can verify this easily enough yourself. Open a telnet connection to your Exchange server from your CF server's console, and try to send an email that way. Google smtp telnet for more information on how to do that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356720 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfmail Exchange 2010
Have a great weekend. You too! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356721 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfmail Exchange 2010
We had an exchange server once and it was a nightmare and the guy who was supposed to manage it had clearly bitten off more thsn he could chew and barely knew what he was doing and it was falling over all the time. I spent a few days working on it and would have tore my hair out if if I had any. I have worked with many mail servers over the years and exchange makes simple things complicated, tskes 100 times longer to do anything and many things cannot even be done via the gui. Everything seems to be a bolt on after thought. We moved to google apps and never looked back. I now use hmail or smarter mail for smtp which is stress free. Russ Michaels www.michaels.me.uk cfmldeveloper.com cflive.net cfsearch.com On 6 Sep 2013 22:01, Rick Sanders r...@webenergy.ca wrote: Dave I want to thank you for your help. I resolved the issue. Because my Exchange server and CF server are on different machines I had to create a new receive connector allowing relay from the IP address of my CF server. Out of the box, Exchange doesn't allow any relay from a remote machine. Your note made me realize this and I was able to resolve it: That doesn't mean that any server can relay through your Exchange server (I hope!). Typically, you have to enable relay for each individual IP address that you want to allow. Have a great weekend. Kind Regards, Rick Sanders T: 902-401-7689 W: www.webenergy.ca -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, September 04, 2013 8:33 PM To: cf-talk Subject: Re: cfmail Exchange 2010 OK, this is weird. I can send fine to any email address from the account I set up t...@mycompany.com mailto:t...@mycompany.com I'm doing a cfoutput query=emails and sending an email out to the people in my query. The emails are valid. However, only the people on the local Exchange server receive them. Anyone outside doesn't get them. I tested with my gmail account and I don't receive the email. But I get it on my exchange account. I tested and can send to my gmail account from the t...@mycompany.com mailto:t...@mycompany.com directly no problems. My Cold Fusion server is on a different server than my Exchange server. I've tested the mail settings in the Cold fusion admin and tried with and without TLS and the settings are fine. By default, your Exchange server won't proxy SMTP messages. You have to specifically configure it to do so. Messages to Exchange mailboxes on that server don't need to be proxied, so they get delivered. Thanks for the info, but my Exchange server is set up to send to the outside world. My send connector type is SMTP. I even tried relaying through my ISP as a smart host and still no sending to outside addresses from my Cold fusion Server. That doesn't mean that any server can relay through your Exchange server (I hope!). Typically, you have to enable relay for each individual IP address that you want to allow. In any case, you can verify this easily enough yourself. Open a telnet connection to your Exchange server from your CF server's console, and try to send an email that way. Google smtp telnet for more information on how to do that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356725 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfmail Exchange 2010
OK, this is weird. I can send fine to any email address from the account I set up t...@mycompany.com mailto:t...@mycompany.com I'm doing a cfoutput query=emails and sending an email out to the people in my query. The emails are valid. However, only the people on the local Exchange server receive them. Anyone outside doesn't get them. I tested with my gmail account and I don't receive the email. But I get it on my exchange account. I tested and can send to my gmail account from the t...@mycompany.commailto:t...@mycompany.com directly no problems. My Cold Fusion server is on a different server than my Exchange server. I've tested the mail settings in the Cold fusion admin and tried with and without TLS and the settings are fine. By default, your Exchange server won't proxy SMTP messages. You have to specifically configure it to do so. Messages to Exchange mailboxes on that server don't need to be proxied, so they get delivered. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356705 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cfmail Exchange 2010
OK, this is weird. I can send fine to any email address from the account I set up t...@mycompany.commailto:t...@mycompany.com I'm doing a cfoutput query=emails and sending an email out to the people in my query. The emails are valid. However, only the people on the local Exchange server receive them. Anyone outside doesn't get them. I tested with my gmail account and I don't receive the email. But I get it on my exchange account. I tested and can send to my gmail account from the t...@mycompany.commailto:t...@mycompany.com directly no problems. My Cold Fusion server is on a different server than my Exchange server. I've tested the mail settings in the Cold fusion admin and tried with and without TLS and the settings are fine. Any help would be appreciated. Kind Regards, Rick Sanders T: 902-401-7689 W: www.webenergy.cahttp://www.webenergy.ca/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356704 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfmail Exchange 2010
Thanks for the info, but my Exchange server is set up to send to the outside world. My send connector type is SMTP. I even tried relaying through my ISP as a smart host and still no sending to outside addresses from my Cold fusion Server. Kind Regards, Rick Sanders T: 902-401-7689 W: www.webenergy.ca -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, September 04, 2013 5:18 PM To: cf-talk Subject: Re: cfmail Exchange 2010 OK, this is weird. I can send fine to any email address from the account I set up t...@mycompany.com mailto:t...@mycompany.com I'm doing a cfoutput query=emails and sending an email out to the people in my query. The emails are valid. However, only the people on the local Exchange server receive them. Anyone outside doesn't get them. I tested with my gmail account and I don't receive the email. But I get it on my exchange account. I tested and can send to my gmail account from the t...@mycompany.commailto:t...@mycompany.com directly no problems. My Cold Fusion server is on a different server than my Exchange server. I've tested the mail settings in the Cold fusion admin and tried with and without TLS and the settings are fine. By default, your Exchange server won't proxy SMTP messages. You have to specifically configure it to do so. Messages to Exchange mailboxes on that server don't need to be proxied, so they get delivered. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356706 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfmail Exchange 2010
OK, this is weird. I can send fine to any email address from the account I set up t...@mycompany.com mailto:t...@mycompany.com I'm doing a cfoutput query=emails and sending an email out to the people in my query. The emails are valid. However, only the people on the local Exchange server receive them. Anyone outside doesn't get them. I tested with my gmail account and I don't receive the email. But I get it on my exchange account. I tested and can send to my gmail account from the t...@mycompany.commailto:t...@mycompany.com directly no problems. My Cold Fusion server is on a different server than my Exchange server. I've tested the mail settings in the Cold fusion admin and tried with and without TLS and the settings are fine. By default, your Exchange server won't proxy SMTP messages. You have to specifically configure it to do so. Messages to Exchange mailboxes on that server don't need to be proxied, so they get delivered. Thanks for the info, but my Exchange server is set up to send to the outside world. My send connector type is SMTP. I even tried relaying through my ISP as a smart host and still no sending to outside addresses from my Cold fusion Server. That doesn't mean that any server can relay through your Exchange server (I hope!). Typically, you have to enable relay for each individual IP address that you want to allow. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356707 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfmail Exchange 2010
OK, this is weird. I can send fine to any email address from the account I set up t...@mycompany.com mailto:t...@mycompany.com I'm doing a cfoutput query=emails and sending an email out to the people in my query. The emails are valid. However, only the people on the local Exchange server receive them. Anyone outside doesn't get them. I tested with my gmail account and I don't receive the email. But I get it on my exchange account. I tested and can send to my gmail account from the t...@mycompany.commailto:t...@mycompany.com directly no problems. My Cold Fusion server is on a different server than my Exchange server. I've tested the mail settings in the Cold fusion admin and tried with and without TLS and the settings are fine. By default, your Exchange server won't proxy SMTP messages. You have to specifically configure it to do so. Messages to Exchange mailboxes on that server don't need to be proxied, so they get delivered. Thanks for the info, but my Exchange server is set up to send to the outside world. My send connector type is SMTP. I even tried relaying through my ISP as a smart host and still no sending to outside addresses from my Cold fusion Server. That doesn't mean that any server can relay through your Exchange server (I hope!). Typically, you have to enable relay for each individual IP address that you want to allow. In any case, you can verify this easily enough yourself. Open a telnet connection to your Exchange server from your CF server's console, and try to send an email that way. Google smtp telnet for more information on how to do that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356708 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail Question
Thanks a lot for your help Mark! The following suggestion worked perfectly. cfifstructKeyExists(form,'maillist')YescfelseNo/cfif Robert Robert, Since the box is either checked or Unchecked that's all you need. You don't really need to worry about the value at all. If the form field shows up then the user checked the box. That's how checkboxes work. Subscribe To Newsletter? cfif structKetyExists(form,'maillist')YescfelseNo/cfif Notice I use structkey exists. Also you do not need pound signs around #form.mailist# unless you intend for it to be displayed :) Here's another approach for you. In the checkbox attributes set value=1 (instead of zero). Then wherever you set up default values add this cfparam. cfparam name=form.maillist default=0/ Then you can leverage the YesNoFormat( ) function of CF... Subscribe To e-Newsletter? #yesNoFormat(form.maillist)# Good luck! Mark Kruger - CFG CF Webtools www.cfwebtools.com www.coldfusionmuse.com O: 402.932.3318 E: mkru...@cfwebtools.com Skype: markakruger I hope someone can help me with this. I'm kind of stuck on the conditional.. I have a newsletter signup form that includes a check box that is check by default. label for=mailListinput checked=checked id=mailList name=mailList tabindex=14 type=checkbox value=0 width=5px /span class=checkboxI would like to receive your e-newsletter./span/label I'm trying to email the answer, yes or no, based on whether or not the box is checked. Here is the conditional code between my cfmail/cfmail tags.. Subscribe to e-newsletter? cfif isDefined(form.mailList) AND Len(form.mailList)cfif NOT Compare(#form.mailList#,0)yescfelseno/cfif/cfif If someone checks the box I get the sentence Subscribe to e-newsletter? Yes in an email. If someone does not check the box I get Subscribe to e-newsletter? I can't figure out how to get the No to show up in the email when the box is not checked. I feal like I'm close here but just can't seem to get the No answer emailed when the box is not checked. Thanks a lot for your help!! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356122 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFMail Question
Glad to help :) -Original Message- From: Robert Sneed [mailto:robertsn...@rhsneed.com] Sent: Wednesday, July 03, 2013 10:49 AM To: cf-talk Subject: Re: CFMail Question Thanks a lot for your help Mark! The following suggestion worked perfectly. cfifstructKeyExists(form,'maillist')YescfelseNo/cfif Robert Robert, Since the box is either checked or Unchecked that's all you need. You don't really need to worry about the value at all. If the form field shows up then the user checked the box. That's how checkboxes work. Subscribe To Newsletter? cfif structKetyExists(form,'maillist')YescfelseNo/cfif Notice I use structkey exists. Also you do not need pound signs around #form.mailist# unless you intend for it to be displayed :) Here's another approach for you. In the checkbox attributes set value=1 (instead of zero). Then wherever you set up default values add this cfparam. cfparam name=form.maillist default=0/ Then you can leverage the YesNoFormat( ) function of CF... Subscribe To e-Newsletter? #yesNoFormat(form.maillist)# Good luck! Mark Kruger - CFG CF Webtools www.cfwebtools.com www.coldfusionmuse.com O: 402.932.3318 E: mkru...@cfwebtools.com Skype: markakruger I hope someone can help me with this. I'm kind of stuck on the conditional.. I have a newsletter signup form that includes a check box that is check by default. label for=mailListinput checked=checked id=mailList name=mailList tabindex=14 type=checkbox value=0 width=5px /span class=checkboxI would like to receive your e-newsletter./span/label I'm trying to email the answer, yes or no, based on whether or not the box is checked. Here is the conditional code between my cfmail/cfmail tags.. Subscribe to e-newsletter? cfif isDefined(form.mailList) AND Len(form.mailList)cfif NOT Compare(#form.mailList#,0)yescfelseno/cfif/cfif If someone checks the box I get the sentence Subscribe to e-newsletter? Yes in an email. If someone does not check the box I get Subscribe to e-newsletter? I can't figure out how to get the No to show up in the email when the box is not checked. I feal like I'm close here but just can't seem to get the No answer emailed when the box is not checked. Thanks a lot for your help!! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356125 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFMail Question
I hope someone can help me with this. I'm kind of stuck on the conditional. I have a newsletter signup form that includes a check box that is check by default. label for=mailListinput checked=checked id=mailList name=mailList tabindex=14 type=checkbox value=0 width=5px /span class=checkboxI would like to receive your e-newsletter./span/label I'm trying to email the answer, yes or no, based on whether or not the box is checked. Here is the conditional code between my cfmail/cfmail tags. Subscribe to e-newsletter? cfif isDefined(form.mailList) AND Len(form.mailList)cfif NOT Compare(#form.mailList#,0)yescfelseno/cfif/cfif If someone checks the box I get the sentence Subscribe to e-newsletter? Yes in an email. If someone does not check the box I get Subscribe to e-newsletter? I can't figure out how to get the No to show up in the email when the box is not checked. I feal like I'm close here but just can't seem to get the No answer emailed when the box is not checked. Thanks a lot for your help!! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356090 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail Question
By default the form field will only exist if the checkbox is checked, so you could do: Subscribe to newsletter? cfoutput#yesNoFormat(isDefined(form.mailList))#/cfoutput As an aside, in the anti-spam and e-mail deliverability communities it is generally considered a bad practice to have these sorts of options checked by default. -Justin On Fri, Jun 28, 2013 at 9:16 AM, Robert Sneed robertsn...@rhsneed.com wrote: I hope someone can help me with this. I'm kind of stuck on the conditional. I have a newsletter signup form that includes a check box that is check by default. label for=mailListinput checked=checked id=mailList name=mailList tabindex=14 type=checkbox value=0 width=5px /span class=checkboxI would like to receive your e-newsletter./span/label I'm trying to email the answer, yes or no, based on whether or not the box is checked. Here is the conditional code between my cfmail/cfmail tags. Subscribe to e-newsletter? cfif isDefined(form.mailList) AND Len(form.mailList)cfif NOT Compare(#form.mailList#,0)yescfelseno/cfif/cfif If someone checks the box I get the sentence Subscribe to e-newsletter? Yes in an email. If someone does not check the box I get Subscribe to e-newsletter? I can't figure out how to get the No to show up in the email when the box is not checked. I feal like I'm close here but just can't seem to get the No answer emailed when the box is not checked. Thanks a lot for your help!! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356091 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFMail Question
Robert, Since the box is either checked or Unchecked that's all you need. You don't really need to worry about the value at all. If the form field shows up then the user checked the box. That's how checkboxes work. Subscribe To Newsletter? cfif structKetyExists(form,'maillist')YescfelseNo/cfif Notice I use structkey exists. Also you do not need pound signs around #form.mailist# unless you intend for it to be displayed :) Here's another approach for you. In the checkbox attributes set value=1 (instead of zero). Then wherever you set up default values add this cfparam. cfparam name=form.maillist default=0/ Then you can leverage the YesNoFormat( ) function of CF... Subscribe To e-Newsletter? #yesNoFormat(form.maillist)# Good luck! Mark Kruger - CFG CF Webtools www.cfwebtools.com www.coldfusionmuse.com O: 402.932.3318 E: mkru...@cfwebtools.com Skype: markakruger -Original Message- From: Robert Sneed [mailto:robertsn...@rhsneed.com] Sent: Friday, June 28, 2013 8:17 AM To: cf-talk Subject: CFMail Question I hope someone can help me with this. I'm kind of stuck on the conditional. I have a newsletter signup form that includes a check box that is check by default. label for=mailListinput checked=checked id=mailList name=mailList tabindex=14 type=checkbox value=0 width=5px /span class=checkboxI would like to receive your e-newsletter./span/label I'm trying to email the answer, yes or no, based on whether or not the box is checked. Here is the conditional code between my cfmail/cfmail tags. Subscribe to e-newsletter? cfif isDefined(form.mailList) AND Len(form.mailList)cfif NOT Compare(#form.mailList#,0)yescfelseno/cfif/cfif If someone checks the box I get the sentence Subscribe to e-newsletter? Yes in an email. If someone does not check the box I get Subscribe to e-newsletter? I can't figure out how to get the No to show up in the email when the box is not checked. I feal like I'm close here but just can't seem to get the No answer emailed when the box is not checked. Thanks a lot for your help!! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356092 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail Issues since Upgrading to CF10
So are you saying that some emails with no body are sending? You should test this to be sure. I would still change these emails if I were you and add a body as it seems that solves the issue. Plus emails eith no body will br blocked by some mail filters. Russ Michaels www.michaels.me.uk On 19 Jun 2013 14:11, Zad I zadi...@gmail.com wrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356034 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail Issues since Upgrading to CF10
Yes, we regularly send out emails to both internal and external users with no body in the email. The only content that it includes is an attachment and subject. But I guess it might be a good thing to include content from here on end, especially if it falls within the rules of RFC email compliance. Occasionally, I've seen this error happen right after a failed connectivity issue with ColdFusion and the SMTP server. If any emails just so happen to be in queue during the time of the SMTP connection error, then the mails in the spool folder all get sent to the Undeliverable folder. Then when our custom script kicks in to re-spool, it goes right back to undeliverable folder. The error in the logs gives us the same message about the body missing. So are you saying that some emails with no body are sending? You should test this to be sure. I would still change these emails if I were you and add a body as it seems that solves the issue. Plus emails eith no body will br blocked by some mail filters. Russ Michaels www.michaels.me.uk On 19 Jun 2013 14:11, Zad I zadi...@gmail.com wrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356035 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail Issues since Upgrading to CF10
Hmmm, if it is enforced then why so randomly? I would've expected this to occur on every instance. You do bring up a good point though in terms of reaching external users who may have rules that are a bit more strict than the norm. Except, this seems to occur locally before it can even hit externally. it is actually an RFC that an email must have a body, so I suspect that is now enforced in javax.mail.which is a good thing, as this means it is RFC compliant. As you have said that adding a body to these messages makes them send, then you have already found the solution, just add a body to the original emails. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356010 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail Issues since Upgrading to CF10
So are you saying that some emails with no body are sending? You should test this to be sure. I would still change these emails if I were you and add a body as it seems that solves the issue. Plus emails eith no body will br blocked by some mail filters. Russ Michaels www.michaels.me.uk On 19 Jun 2013 14:11, Zad I zadi...@gmail.com wrote: Hmmm, if it is enforced then why so randomly? I would've expected this to occur on every instance. You do bring up a good point though in terms of reaching external users who may have rules that are a bit more strict than the norm. Except, this seems to occur locally before it can even hit externally. it is actually an RFC that an email must have a body, so I suspect that is now enforced in javax.mail.which is a good thing, as this means it is RFC compliant. As you have said that adding a body to these messages makes them send, then you have already found the solution, just add a body to the original emails. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356018 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFMail Issues since Upgrading to CF10
Ever since upgrading to CF10, we've been having some odd issues with our automated ColdFusion emails. The processes always functioned properly in the past, but lately we've been getting some very out of the ordinary issues which I'll describe further below. We discover the problem usually from contacts who usually receive these emails on a daily basis with or without attachments. We'll go to the CFMAIL directory for the corresponding server and find a slew of emails stuck in the 'Undelivr' emails. In some cases, we can just move these emails to the Spool folder and they process fine, but in most cases they result in one of the two errors below: Error 1: In an email which normally does not contain a body and contains an attachment, the follow error is what we found in the logs: - Error,scheduler-1,01/15/13,14:09:56,,javax.mail.MessagingExce ption: missing body for message javax.mail.MessagingException: missing body for message at coldfusion.mail.MailImpl.createMessage(MailImpl.java:696) at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:1295) at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:1197) at coldfusion.mail.MailSpooler.deliverFast(MailSpooler.java:1657) at coldfusion.mail.MailSpooler.run(MailSpooler.java:1567) at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:211) at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71) --- Placing these emails that have always been sent out this way in the past without an attachment in the spool directory causes it to go right back in the 'Undelivr' folder and resulting in the same error. We ended up having to modify the email file and add random content in the body message, place it back in the spool directory, and it went through. - Mind boggling. Error 2: -- Error,scheduler-2,02/04/13,09:08:17,,javax.mail.MessagingExce ption: Exception reading response; nested exception is: java.net.SocketException: Connection reset Both errors occur randomly and we have not been able to find out what causes them randomly from time to time. All other emails go through fine, but certain emails will never go out and end up in the 'Undelivr' folder. We are running them on Windows Server 2008 64bit. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355965 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail Issues since Upgrading to CF10
Please attach the code used to generate the emails. We will need that to have any ideas on why they are not working. Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Jun 18, 2013, at 11:56 AM, Zad I zadi...@gmail.com wrote: Ever since upgrading to CF10, we've been having some odd issues with our automated ColdFusion emails. The processes always functioned properly in the past, but lately we've been getting some very out of the ordinary issues which I'll describe further below. We discover the problem usually from contacts who usually receive these emails on a daily basis with or without attachments. We'll go to the CFMAIL directory for the corresponding server and find a slew of emails stuck in the 'Undelivr' emails. In some cases, we can just move these emails to the Spool folder and they process fine, but in most cases they result in one of the two errors below: Error 1: In an email which normally does not contain a body and contains an attachment, the follow error is what we found in the logs: - Error,scheduler-1,01/15/13,14:09:56,,javax.mail.MessagingExce ption: missing body for message javax.mail.MessagingException: missing body for message at coldfusion.mail.MailImpl.createMessage(MailImpl.java:696) at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:1295) at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:1197) at coldfusion.mail.MailSpooler.deliverFast(MailSpooler.java:1657) at coldfusion.mail.MailSpooler.run(MailSpooler.java:1567) at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:211) at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71) --- Placing these emails that have always been sent out this way in the past without an attachment in the spool directory causes it to go right back in the 'Undelivr' folder and resulting in the same error. We ended up having to modify the email file and add random content in the body message, place it back in the spool directory, and it went through. - Mind boggling. Error 2: -- Error,scheduler-2,02/04/13,09:08:17,,javax.mail.MessagingExce ption: Exception reading response; nested exception is: java.net.SocketException: Connection reset Both errors occur randomly and we have not been able to find out what causes them randomly from time to time. All other emails go through fine, but certain emails will never go out and end up in the 'Undelivr' folder. We are running them on Windows Server 2008 64bit. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355966 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail Issues since Upgrading to CF10
it is actually an RFC that an email must have a body, so I suspect that is now enforced in javax.mail.which is a good thing, as this means it is RFC compliant. As you have said that adding a body to these messages makes them send, then you have already found the solution, just add a body to the original emails. On Tue, Jun 18, 2013 at 5:56 PM, Zad I zadi...@gmail.com wrote: Ever since upgrading to CF10, we've been having some odd issues with our automated ColdFusion emails. The processes always functioned properly in the past, but lately we've been getting some very out of the ordinary issues which I'll describe further below. We discover the problem usually from contacts who usually receive these emails on a daily basis with or without attachments. We'll go to the CFMAIL directory for the corresponding server and find a slew of emails stuck in the 'Undelivr' emails. In some cases, we can just move these emails to the Spool folder and they process fine, but in most cases they result in one of the two errors below: Error 1: In an email which normally does not contain a body and contains an attachment, the follow error is what we found in the logs: - Error,scheduler-1,01/15/13,14:09:56,,javax.mail.MessagingExce ption: missing body for message javax.mail.MessagingException: missing body for message at coldfusion.mail.MailImpl.createMessage(MailImpl.java:696) at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:1295) at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:1197) at coldfusion.mail.MailSpooler.deliverFast(MailSpooler.java:1657) at coldfusion.mail.MailSpooler.run(MailSpooler.java:1567) at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:211) at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71) --- Placing these emails that have always been sent out this way in the past without an attachment in the spool directory causes it to go right back in the 'Undelivr' folder and resulting in the same error. We ended up having to modify the email file and add random content in the body message, place it back in the spool directory, and it went through. - Mind boggling. Error 2: -- Error,scheduler-2,02/04/13,09:08:17,,javax.mail.MessagingExce ption: Exception reading response; nested exception is: java.net.SocketException: Connection reset Both errors occur randomly and we have not been able to find out what causes them randomly from time to time. All other emails go through fine, but certain emails will never go out and end up in the 'Undelivr' folder. We are running them on Windows Server 2008 64bit. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355968 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail alternative
Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 4/4/2013 5:26 PM, Russ Michaels wrote: This has been reported many times on the forums. You say it has not happened to you, but how would know unless someone actually contacted you to say they had not reveived an email and you investigated it. In most cases of missing email, someone simply resends it and your none the wiser. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Apr 4, 2013 9:48 PM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: That is surprising. Thirteen years with CF, from v4 thru 10, and that has never been my experience. It has always come down to the SMTP server, or the recipient, 100% of the time. One environment I ran processed upwards of 800,000 emails a day. When you say there is no record on the mail server, do you mean the recipient server? Or the SMTP server? Is there a spam filtering server in between somewhere? Does your CF server authenticate with your SMTP server on send? What sort of security checks and balances are setup on your SMTP server? If you have an entry in the CF Sent Mail log, then there was a valid handoff of your message to your SMTP server. If the hand off fails, it drops to the Undelivered folder. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 4/4/2013 12:15 PM, Brian Cain wrote: I have had an ongoing problem with ColdFusion dropping some mail messages. The mail log show the messages being delivered to the mail server, but there is no record on the mail server. I found this thread on Adobe's website (http://forums.adobe.com/thread/585718), but there never seemed to be an actual resolution of the issue. I have tried contacting Adobe support, but that has led to nowhere. Most messages go out, but i need 100% reliability for this. Seeing as the problem is not with the CFMAIL tag, or my mail server (everything worked fine before we migrated to CF9 last year), I need an alternative that will completely bypass the CF engine all together. I was wondering if anyone had any suggestions. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355298 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail alternative
. So anyone certainly could have this issue without realising. I am not saying that you do have this issue, simply that you could. If you check the Adobe forums you will see those other reports I mentioned of this same issue. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Apr 5, 2013 11:30 AM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: I've had dozens of reports of missing mail, and it has always come down to something other than CF. The email address was wrong, the SMTP server was down, the domain of the sender had been blacklisted, something along these kind of lines. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 4/4/2013 5:26 PM, Russ Michaels wrote: This has been reported many times on the forums. You say it has not happened to you, but how would know unless someone actually contacted you to say they had not reveived an email and you investigated it. In most cases of missing email, someone simply resends it and your none the wiser. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Apr 4, 2013 9:48 PM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: That is surprising. Thirteen years with CF, from v4 thru 10, and that has never been my experience. It has always come down to the SMTP server, or the recipient, 100% of the time. One environment I ran processed upwards of 800,000 emails a day. When you say there is no record on the mail server, do you mean the recipient server? Or the SMTP server? Is there a spam filtering server in between somewhere? Does your CF server authenticate with your SMTP server on send? What sort of security checks and balances are setup on your SMTP server? If you have an entry in the CF Sent Mail log, then there was a valid handoff of your message to your SMTP server. If the hand off fails, it drops to the Undelivered folder. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 4/4/2013 12:15 PM, Brian Cain wrote: I have had an ongoing problem with ColdFusion dropping some mail messages. The mail log show the messages being delivered to the mail server, but there is no record on the mail server. I found this thread on Adobe's website (http://forums.adobe.com/thread/585718), but there never seemed to be an actual resolution of the issue. I have tried contacting Adobe support, but that has led to nowhere. Most messages go out, but i need 100% reliability for this. Seeing as the problem is not with the CFMAIL tag, or my mail server (everything worked fine before we migrated to CF9 last year), I need an alternative that will completely bypass the CF engine all together. I was wondering if anyone had any suggestions. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355299 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail alternative
it has been shown on all the reported instances I saw that the mails in question never reached the smtp server as did not show in the mail logs on the server despite cf saying hey were sent, and were not in undelivered folder, they simply vanished. So if you have one log file that says CF sent the message successfully, and another log file that says that your mail server didn't receive a message, why do you assume that the mail server log is right and the CF log is wrong? I mean, there's a big difference between just failing to deliver a message, and both failing to deliver a message but also logging that the message was sent! I can think of one case where I've run into a similar issue, and the root case was a spam filtering measure on the recipient server. CF said it had been sent, but the recipient system (Postini) did not list it. It turned out to be a feature in Postini called Blatant Spam Blocking which caused the incoming message to be dropped and not delivered or even logged by Postini. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355300 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail alternative
Where is the like button in here :-) Sendt fra min iPad Den 6. apr. 2013 kl. 21:23 skrev Dave Watts dwa...@figleaf.com: it has been shown on all the reported instances I saw that the mails in question never reached the smtp server as did not show in the mail logs on the server despite cf saying hey were sent, and were not in undelivered folder, they simply vanished. So if you have one log file that says CF sent the message successfully, and another log file that says that your mail server didn't receive a message, why do you assume that the mail server log is right and the CF log is wrong? I mean, there's a big difference between just failing to deliver a message, and both failing to deliver a message but also logging that the message was sent! I can think of one case where I've run into a similar issue, and the root case was a spam filtering measure on the recipient server. CF said it had been sent, but the recipient system (Postini) did not list it. It turned out to be a feature in Postini called Blatant Spam Blocking which caused the incoming message to be dropped and not delivered or even logged by Postini. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355301 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail alternative
I've had dozens of reports of missing mail, and it has always come down to something other than CF. The email address was wrong, the SMTP server was down, the domain of the sender had been blacklisted, something along these kind of lines. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 4/4/2013 5:26 PM, Russ Michaels wrote: This has been reported many times on the forums. You say it has not happened to you, but how would know unless someone actually contacted you to say they had not reveived an email and you investigated it. In most cases of missing email, someone simply resends it and your none the wiser. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Apr 4, 2013 9:48 PM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: That is surprising. Thirteen years with CF, from v4 thru 10, and that has never been my experience. It has always come down to the SMTP server, or the recipient, 100% of the time. One environment I ran processed upwards of 800,000 emails a day. When you say there is no record on the mail server, do you mean the recipient server? Or the SMTP server? Is there a spam filtering server in between somewhere? Does your CF server authenticate with your SMTP server on send? What sort of security checks and balances are setup on your SMTP server? If you have an entry in the CF Sent Mail log, then there was a valid handoff of your message to your SMTP server. If the hand off fails, it drops to the Undelivered folder. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 4/4/2013 12:15 PM, Brian Cain wrote: I have had an ongoing problem with ColdFusion dropping some mail messages. The mail log show the messages being delivered to the mail server, but there is no record on the mail server. I found this thread on Adobe's website (http://forums.adobe.com/thread/585718), but there never seemed to be an actual resolution of the issue. I have tried contacting Adobe support, but that has led to nowhere. Most messages go out, but i need 100% reliability for this. Seeing as the problem is not with the CFMAIL tag, or my mail server (everything worked fine before we migrated to CF9 last year), I need an alternative that will completely bypass the CF engine all together. I was wondering if anyone had any suggestions. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355290 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail alternative
Dozens is literally nothing out of 800k per day. Imagine saying you are aware of every tv show on every channel, every day, how would you know of a glitch or disruption in any of those programmes unless you are watching them all or someone tells you. Even if someone told you about a couple of channels, there are hundreds of others you are still unaware of. The chances of you being aware of or told of every missing email when you send large qualtities is almost impossible. So anyone certainly could have this issue without realising. I am not saying that you do have this issue, simply that you could. If you check the Adobe forums you will see those other reports I mentioned of this same issue. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Apr 5, 2013 11:30 AM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: I've had dozens of reports of missing mail, and it has always come down to something other than CF. The email address was wrong, the SMTP server was down, the domain of the sender had been blacklisted, something along these kind of lines. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 4/4/2013 5:26 PM, Russ Michaels wrote: This has been reported many times on the forums. You say it has not happened to you, but how would know unless someone actually contacted you to say they had not reveived an email and you investigated it. In most cases of missing email, someone simply resends it and your none the wiser. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Apr 4, 2013 9:48 PM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: That is surprising. Thirteen years with CF, from v4 thru 10, and that has never been my experience. It has always come down to the SMTP server, or the recipient, 100% of the time. One environment I ran processed upwards of 800,000 emails a day. When you say there is no record on the mail server, do you mean the recipient server? Or the SMTP server? Is there a spam filtering server in between somewhere? Does your CF server authenticate with your SMTP server on send? What sort of security checks and balances are setup on your SMTP server? If you have an entry in the CF Sent Mail log, then there was a valid handoff of your message to your SMTP server. If the hand off fails, it drops to the Undelivered folder. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 4/4/2013 12:15 PM, Brian Cain wrote: I have had an ongoing problem with ColdFusion dropping some mail messages. The mail log show the messages being delivered to the mail server, but there is no record on the mail server. I found this thread on Adobe's website (http://forums.adobe.com/thread/585718), but there never seemed to be an actual resolution of the issue. I have tried contacting Adobe support, but that has led to nowhere. Most messages go out, but i need 100% reliability for this. Seeing as the problem is not with the CFMAIL tag, or my mail server (everything worked fine before we migrated to CF9 last year), I need an alternative that will completely bypass the CF engine all together. I was wondering if anyone had any suggestions. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355291 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail alternative
. The mail log show the messages being delivered to the mail server, but there is no record on the mail server. I found this thread on Adobe's website (http://forums.adobe.com/thread/585718), but there never seemed to be an actual resolution of the issue. I have tried contacting Adobe support, but that has led to nowhere. Most messages go out, but i need 100% reliability for this. Seeing as the problem is not with the CFMAIL tag, or my mail server (everything worked fine before we migrated to CF9 last year), I need an alternative that will completely bypass the CF engine all together. I was wondering if anyone had any suggestions. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355294 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail alternative
there is no record on the mail server, do you mean the recipient server? Or the SMTP server? Is there a spam filtering server in between somewhere? Does your CF server authenticate with your SMTP server on send? What sort of security checks and balances are setup on your SMTP server? If you have an entry in the CF Sent Mail log, then there was a valid handoff of your message to your SMTP server. If the hand off fails, it drops to the Undelivered folder. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 4/4/2013 12:15 PM, Brian Cain wrote: I have had an ongoing problem with ColdFusion dropping some mail messages. The mail log show the messages being delivered to the mail server, but there is no record on the mail server. I found this thread on Adobe's website (http://forums.adobe.com/thread/585718), but there never seemed to be an actual resolution of the issue. I have tried contacting Adobe support, but that has led to nowhere. Most messages go out, but i need 100% reliability for this. Seeing as the problem is not with the CFMAIL tag, or my mail server (everything worked fine before we migrated to CF9 last year), I need an alternative that will completely bypass the CF engine all together. I was wondering if anyone had any suggestions. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355295 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFMail alternative
Other people do have this issue and have had this issue, it is documented on the Adobe forums Could you send a link to that? I ask because we have a custom built email module that uses CFMAIL. It works much like Constant Contact. It let's users build mailers from templates, send bulk mail (ten or thousands per site), tracks the opens, tracks clicks, etc. We have it deployed on more than 50 sites and there is an open rate and click trough rate similar to or even higher than what we normally get from a campaign running Constant Contact. There have sometimes been problems but we've always trace them to spam filters, blacklists, or something not CF related. If there's a problem with CFMAIL and not a problem with server management or the typical mail server issues, I'd like to review it. I have hundreds of thousands mails running through CFMAIL and too much at stake not to be aware of a CF problem... so far I've seen no indication of a problem with CFMAIL, but new information is always appreciated. Thanks Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355296 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail alternative
I do not have a bookmarked link, so you would need to search the forums to find the threads. On Fri, Apr 5, 2013 at 6:16 PM, Robert Harrison rob...@austin-williams.comwrote: Other people do have this issue and have had this issue, it is documented on the Adobe forums Could you send a link to that? I ask because we have a custom built email module that uses CFMAIL. It works much like Constant Contact. It let's users build mailers from templates, send bulk mail (ten or thousands per site), tracks the opens, tracks clicks, etc. We have it deployed on more than 50 sites and there is an open rate and click trough rate similar to or even higher than what we normally get from a campaign running Constant Contact. There have sometimes been problems but we've always trace them to spam filters, blacklists, or something not CF related. If there's a problem with CFMAIL and not a problem with server management or the typical mail server issues, I'd like to review it. I have hundreds of thousands mails running through CFMAIL and too much at stake not to be aware of a CF problem... so far I've seen no indication of a problem with CFMAIL, but new information is always appreciated. Thanks Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355297 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFMail alternative
I have had an ongoing problem with ColdFusion dropping some mail messages. The mail log show the messages being delivered to the mail server, but there is no record on the mail server. I found this thread on Adobe's website (http://forums.adobe.com/thread/585718), but there never seemed to be an actual resolution of the issue. I have tried contacting Adobe support, but that has led to nowhere. Most messages go out, but i need 100% reliability for this. Seeing as the problem is not with the CFMAIL tag, or my mail server (everything worked fine before we migrated to CF9 last year), I need an alternative that will completely bypass the CF engine all together. I was wondering if anyone had any suggestions. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355267 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail alternative
but there is no record on the mail server Are you sure the mesages are not in the undelivered folder? I was having the same issue until I realized that my mail server had a limit of 1000 messages sent per hour. So after this limit was reached, messages were simply refused and stored by CF in the undelivered. Removing the limit solved the problem. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355268 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail alternative
if you want to bypass cfmail then take a look at sendgrid.net, they have an API for sending mail, so you get more control, more reporting, and bypass cfmail and your mailserver altogether. On Thu, Apr 4, 2013 at 5:15 PM, Brian Cain bcc9...@gmail.com wrote: I have had an ongoing problem with ColdFusion dropping some mail messages. The mail log show the messages being delivered to the mail server, but there is no record on the mail server. I found this thread on Adobe's website (http://forums.adobe.com/thread/585718), but there never seemed to be an actual resolution of the issue. I have tried contacting Adobe support, but that has led to nowhere. Most messages go out, but i need 100% reliability for this. Seeing as the problem is not with the CFMAIL tag, or my mail server (everything worked fine before we migrated to CF9 last year), I need an alternative that will completely bypass the CF engine all together. I was wondering if anyone had any suggestions. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355269 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail alternative
Positive they are not there. On Thu, Apr 4, 2013 at 11:33 AM, wrote: but there is no record on the mail server Are you sure the mesages are not in the undelivered folder? I was having the same issue until I realized that my mail server had a limit of 1000 messages sent per hour. So after this limit was reached, messages were simply refused and stored by CF in the undelivered. Removing the limit solved the problem. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355273 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail alternative
That is surprising. Thirteen years with CF, from v4 thru 10, and that has never been my experience. It has always come down to the SMTP server, or the recipient, 100% of the time. One environment I ran processed upwards of 800,000 emails a day. When you say there is no record on the mail server, do you mean the recipient server? Or the SMTP server? Is there a spam filtering server in between somewhere? Does your CF server authenticate with your SMTP server on send? What sort of security checks and balances are setup on your SMTP server? If you have an entry in the CF Sent Mail log, then there was a valid handoff of your message to your SMTP server. If the hand off fails, it drops to the Undelivered folder. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 4/4/2013 12:15 PM, Brian Cain wrote: I have had an ongoing problem with ColdFusion dropping some mail messages. The mail log show the messages being delivered to the mail server, but there is no record on the mail server. I found this thread on Adobe's website (http://forums.adobe.com/thread/585718), but there never seemed to be an actual resolution of the issue. I have tried contacting Adobe support, but that has led to nowhere. Most messages go out, but i need 100% reliability for this. Seeing as the problem is not with the CFMAIL tag, or my mail server (everything worked fine before we migrated to CF9 last year), I need an alternative that will completely bypass the CF engine all together. I was wondering if anyone had any suggestions. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355280 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMail alternative
This has been reported many times on the forums. You say it has not happened to you, but how would know unless someone actually contacted you to say they had not reveived an email and you investigated it. In most cases of missing email, someone simply resends it and your none the wiser. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Apr 4, 2013 9:48 PM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: That is surprising. Thirteen years with CF, from v4 thru 10, and that has never been my experience. It has always come down to the SMTP server, or the recipient, 100% of the time. One environment I ran processed upwards of 800,000 emails a day. When you say there is no record on the mail server, do you mean the recipient server? Or the SMTP server? Is there a spam filtering server in between somewhere? Does your CF server authenticate with your SMTP server on send? What sort of security checks and balances are setup on your SMTP server? If you have an entry in the CF Sent Mail log, then there was a valid handoff of your message to your SMTP server. If the hand off fails, it drops to the Undelivered folder. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 4/4/2013 12:15 PM, Brian Cain wrote: I have had an ongoing problem with ColdFusion dropping some mail messages. The mail log show the messages being delivered to the mail server, but there is no record on the mail server. I found this thread on Adobe's website (http://forums.adobe.com/thread/585718), but there never seemed to be an actual resolution of the issue. I have tried contacting Adobe support, but that has led to nowhere. Most messages go out, but i need 100% reliability for this. Seeing as the problem is not with the CFMAIL tag, or my mail server (everything worked fine before we migrated to CF9 last year), I need an alternative that will completely bypass the CF engine all together. I was wondering if anyone had any suggestions. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355288 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
getting CFMAIL to dance with Microsoft Exchange
Before anyone says OH MY GOD...MICROSOFT EXCHANGE..WHY??!! It's what my company uses I can't change it :) All I'm trying to do is get my ColdFusion server to talk to the mail server, which happens to be Exchange. The user names that they are giving me are in the form domain\username and a password. Every combination I've tried has gotten a connection refused error. Does the Exchange server, or the account need to be configured in a certain way for this to work? thanks -- Scott Stewart Adobe Certified Expert / Instructor ColdFusion 8, 9 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353769 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: getting CFMAIL to dance with Microsoft Exchange
OH MY GOD...MICROSOFT EXCHANGE Exchange is a great mail system and CF integrates with it quite well. Configuration is a bear but once done it works great. It's most likely security settings or allowed connections on the Exchange server; could also be settings on the domain server. For that you may need a MCSE to give you a hand. There are a lot of settings that could be causing the problem. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353774 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: getting CFMAIL to dance with Microsoft Exchange
By default exchange uses mapi, you will pron need to ask your sysadmin to enable imap so cf can talk to it. Also the username may be any of these depending how exchange is setup. Domain\user Sam name User@domain Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 4, 2013 7:03 PM, Scott Stewart webmas...@sstwebworks.com wrote: Before anyone says OH MY GOD...MICROSOFT EXCHANGE..WHY??!! It's what my company uses I can't change it :) All I'm trying to do is get my ColdFusion server to talk to the mail server, which happens to be Exchange. The user names that they are giving me are in the form domain\username and a password. Every combination I've tried has gotten a connection refused error. Does the Exchange server, or the account need to be configured in a certain way for this to work? thanks -- Scott Stewart Adobe Certified Expert / Instructor ColdFusion 8, 9 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353777 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: getting CFMAIL to dance with Microsoft Exchange
All I'm trying to do is get my ColdFusion server to talk to the mail server, which happens to be Exchange. The user names that they are giving me are in the form domain\username and a password. Every combination I've tried has gotten a connection refused error. Does the Exchange server, or the account need to be configured in a certain way for this to work? Are you just trying to use CFMAIL? If so, the Exchange server may need to be configured to accept SMTP connections from your server. If you're trying to do something else, like read mail, you might need to use CFEXCHANGE for MAPI access. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353778 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
question about lists and CFMAIL
ColdFusion 9.0.2 MS SQL Server 2005 Greetings. I have a question about lists and CFMAIL. I need to send an email message to all email addresses in a data table that are not marked PaidDues. First, I query the data table to find all records with PaidDues = False (or 0). !--- ask for userIDs who have not paid yearly membership fee --- cfquery datasource=#application.datasource# name=NotPaid SELECT UserID ,FirstName ,LastName ,UserEmail ,PaidDues FROM #request.membersTable# WHERE PaidDues = cfqueryparam cfsqltype=cf_sql_integer value=0 /cfquery Then I set up CFMAIL to send a reminder message to all UserEmail addresses where PaidDues = 0. !--- is form.doRemind defined? --- cfif IsDefined(FORM.doRemind) cfmail server=#REQUEST.MailingListServer# from=Email Address to=#NotPaid.UserEmail# subject=NNVAWI Membership Dues Reminder username = authorized user name password = #REQUEST.MailingListAdminPass# SpoolEnable=Yes type=html h1Greetings, #NotPaid.FirstName# #NotPaid.LastName#./h1 pThis is a friendly reminder to pay your NNVAWI membership dues for the current year. You may do so here at the secure authorize.net payment page: a href=https://simplecheckout.authorize.net/payment/CatalogPayment.aspx;http s://simplecheckout.authorize.net/payment/CatalogPayment.aspx/a/p /cfmail /cfif !--- /is form.doRemind defined? --- The problem is that I need CFMAIL to process all of the records where PaidDues = 0 -- I think, as a list. So that each email recipient is identified correctly by FirstName, LastName; and the dues reminder message goes out to all of the email addresses identified in the query. I think the list function is what I need -- but I am not sure how to implement it. http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSf01dbd23413dda0e1fb0 8f8f11feb424aa7-8000.html Am I going down the right path? Thank you for any advice. Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353324 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: question about lists and CFMAIL
No, not on the right track. Look at the query attribute of cfmail. That's what you want to use. http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7f8e.html HTH On Sun, Dec 2, 2012 at 3:03 PM, Eric Bourland e...@ebwebwork.com wrote: ColdFusion 9.0.2 MS SQL Server 2005 Greetings. I have a question about lists and CFMAIL. I need to send an email message to all email addresses in a data table that are not marked PaidDues. First, I query the data table to find all records with PaidDues = False (or 0). !--- ask for userIDs who have not paid yearly membership fee --- cfquery datasource=#application.datasource# name=NotPaid SELECT UserID ,FirstName ,LastName ,UserEmail ,PaidDues FROM #request.membersTable# WHERE PaidDues = cfqueryparam cfsqltype=cf_sql_integer value=0 /cfquery Then I set up CFMAIL to send a reminder message to all UserEmail addresses where PaidDues = 0. !--- is form.doRemind defined? --- cfif IsDefined(FORM.doRemind) cfmail server=#REQUEST.MailingListServer# from=Email Address to=#NotPaid.UserEmail# subject=NNVAWI Membership Dues Reminder username = authorized user name password = #REQUEST.MailingListAdminPass# SpoolEnable=Yes type=html h1Greetings, #NotPaid.FirstName# #NotPaid.LastName#./h1 pThis is a friendly reminder to pay your NNVAWI membership dues for the current year. You may do so here at the secure authorize.net payment page: a href=https://simplecheckout.authorize.net/payment/CatalogPayment.aspx http s://simplecheckout.authorize.net/payment/CatalogPayment.aspx/a/p /cfmail /cfif !--- /is form.doRemind defined? --- The problem is that I need CFMAIL to process all of the records where PaidDues = 0 -- I think, as a list. So that each email recipient is identified correctly by FirstName, LastName; and the dues reminder message goes out to all of the email addresses identified in the query. I think the list function is what I need -- but I am not sure how to implement it. http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSf01dbd23413dda0e1fb0 8f8f11feb424aa7-8000.html Am I going down the right path? Thank you for any advice. Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353325 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: question about lists and CFMAIL
Matt, thanks for that. I made progress. I read up on the query attribute of CFMAIL. But after doing some research, I did find another way to make this application work: CFLOOP. This seems to be working fine -- but do you recommend another way? I could not figure out how the query attribute of CFMAIL would help me in this case -- I am sure I am just missing something very obvious. =) Thank you again for your help. Eric !--- is form.doRemind defined? --- cfif IsDefined(FORM.doRemind) !--- begin to loop through query --- cfloop query=NotPaid cfmail server=#REQUEST.MailingListServer# from=i...@nnvawi.org to=#NotPaid.UserEmail# subject=NNVAWI Membership Dues Reminder username = username password = #REQUEST.MailingListAdminPass# SpoolEnable=No type=html h1Greetings, #NotPaid.FirstName# #NotPaid.LastName#./h1 pThis is a friendly reminder to pay your NNVAWI membership dues for the current year. You may do so here at the secure authorize.net payment page: /cfmail /cfloop !--- close cfloop --- /cfif !--- / is form.doRemind defined? --- -Original Message- From: Matt Quackenbush [mailto:quackfu...@gmail.com] Sent: Sunday, December 02, 2012 4:16 PM To: cf-talk Subject: Re: question about lists and CFMAIL No, not on the right track. Look at the query attribute of cfmail. That's what you want to use. http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e08 11cbec22c24-7f8e.html HTH ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353326 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: question about lists and CFMAIL
No need at all for the cfloop. When you provide the query to cfmail it does the loop for you. On Sun, Dec 2, 2012 at 4:35 PM, Eric Bourland e...@ebwebwork.com wrote: Matt, thanks for that. I made progress. I read up on the query attribute of CFMAIL. But after doing some research, I did find another way to make this application work: CFLOOP. This seems to be working fine -- but do you recommend another way? I could not figure out how the query attribute of CFMAIL would help me in this case -- I am sure I am just missing something very obvious. =) Thank you again for your help. Eric !--- is form.doRemind defined? --- cfif IsDefined(FORM.doRemind) !--- begin to loop through query --- cfloop query=NotPaid cfmail server=#REQUEST.MailingListServer# from=i...@nnvawi.org to=#NotPaid.UserEmail# subject=NNVAWI Membership Dues Reminder username = username password = #REQUEST.MailingListAdminPass# SpoolEnable=No type=html h1Greetings, #NotPaid.FirstName# #NotPaid.LastName#./h1 pThis is a friendly reminder to pay your NNVAWI membership dues for the current year. You may do so here at the secure authorize.net payment page: /cfmail /cfloop !--- close cfloop --- /cfif !--- / is form.doRemind defined? --- -Original Message- From: Matt Quackenbush [mailto:quackfu...@gmail.com] Sent: Sunday, December 02, 2012 4:16 PM To: cf-talk Subject: Re: question about lists and CFMAIL No, not on the right track. Look at the query attribute of cfmail. That's what you want to use. http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e08 11cbec22c24-7f8e.html HTH ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353327 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: question about lists and CFMAIL
Eric, Take a look a the Sending query-based email on this page http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec14b97-7ffb.html You specify the query name in the query attribute and the email column as your To: attribute. Cfmail will then loop over the query and send a customized email to each record in the query. On Sun, Dec 2, 2012 at 5:45 PM, Matt Quackenbush quackfu...@gmail.comwrote: No need at all for the cfloop. When you provide the query to cfmail it does the loop for you. On Sun, Dec 2, 2012 at 4:35 PM, Eric Bourland e...@ebwebwork.com wrote: Matt, thanks for that. I made progress. I read up on the query attribute of CFMAIL. But after doing some research, I did find another way to make this application work: CFLOOP. This seems to be working fine -- but do you recommend another way? I could not figure out how the query attribute of CFMAIL would help me in this case -- I am sure I am just missing something very obvious. =) Thank you again for your help. Eric !--- is form.doRemind defined? --- cfif IsDefined(FORM.doRemind) !--- begin to loop through query --- cfloop query=NotPaid cfmail server=#REQUEST.MailingListServer# from=i...@nnvawi.org to=#NotPaid.UserEmail# subject=NNVAWI Membership Dues Reminder username = username password = #REQUEST.MailingListAdminPass# SpoolEnable=No type=html h1Greetings, #NotPaid.FirstName# #NotPaid.LastName#./h1 pThis is a friendly reminder to pay your NNVAWI membership dues for the current year. You may do so here at the secure authorize.net payment page: /cfmail /cfloop !--- close cfloop --- /cfif !--- / is form.doRemind defined? --- -Original Message- From: Matt Quackenbush [mailto:quackfu...@gmail.com] Sent: Sunday, December 02, 2012 4:16 PM To: cf-talk Subject: Re: question about lists and CFMAIL No, not on the right track. Look at the query attribute of cfmail. That's what you want to use. http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e08 11cbec22c24-7f8e.html HTH ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353328 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: question about lists and CFMAIL
No need at all for the cfloop. When you provide the query to cfmail it does the loop for you. Well, I believe you. At first I did try: cfmail query=NotPaid server=#REQUEST.MailingListServer# from=i...@nnvawi.org to=#NotPaid.UserEmail# /cfmail ... ColdFusion sends to only the first email address returned in query NotPaid; and it also populated the CFMAIL message with multiple values of #FirstName# and #LastName# -- for all records WHERE NotPaid=0. I am all for using the more efficient query attribute of CFMAIL. I am missing something. I will try it again and report exactly what happens. Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353329 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: question about lists and CFMAIL
Try scoping the to email: cfmail query=NotPaid ... to=#NotPaid.UserEmail[currentRow]# HTH On Sun, Dec 2, 2012 at 4:53 PM, Eric Bourland e...@ebwebwork.com wrote: No need at all for the cfloop. When you provide the query to cfmail it does the loop for you. Well, I believe you. At first I did try: cfmail query=NotPaid server=#REQUEST.MailingListServer# from=i...@nnvawi.org to=#NotPaid.UserEmail# /cfmail ... ColdFusion sends to only the first email address returned in query NotPaid; and it also populated the CFMAIL message with multiple values of #FirstName# and #LastName# -- for all records WHERE NotPaid=0. I am all for using the more efficient query attribute of CFMAIL. I am missing something. I will try it again and report exactly what happens. Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353330 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: question about lists and CFMAIL
Also, where is #FirstName# and #LastName# coming from? I am assuming they are also part of the query. If so, scope them as well. #NotPaid.FirstName[currentRow]# #NotPaid.LastName[currentRow]# On Sun, Dec 2, 2012 at 4:59 PM, Matt Quackenbush quackfu...@gmail.comwrote: Try scoping the to email: cfmail query=NotPaid ... to=#NotPaid.UserEmail[currentRow]# HTH On Sun, Dec 2, 2012 at 4:53 PM, Eric Bourland e...@ebwebwork.com wrote: No need at all for the cfloop. When you provide the query to cfmail it does the loop for you. Well, I believe you. At first I did try: cfmail query=NotPaid server=#REQUEST.MailingListServer# from=i...@nnvawi.org to=#NotPaid.UserEmail# /cfmail ... ColdFusion sends to only the first email address returned in query NotPaid; and it also populated the CFMAIL message with multiple values of #FirstName# and #LastName# -- for all records WHERE NotPaid=0. I am all for using the more efficient query attribute of CFMAIL. I am missing something. I will try it again and report exactly what happens. Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353331 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: question about lists and CFMAIL
I take it all back. It is working: cfmail query=NotPaid server=#REQUEST.MailingListServer# from=i...@nnvawi.org to=#NotPaid.UserEmail# /cfmail Why did it not work before? Very like, user error. =) Thank you all again for your help. This is a success. Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353332 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: question about lists and CFMAIL
Matt, yep -- I scoped the variables. Seems to be working now. =) Eric -Original Message- From: Matt Quackenbush [mailto:quackfu...@gmail.com] Sent: Sunday, December 02, 2012 6:00 PM To: cf-talk Subject: Re: question about lists and CFMAIL Also, where is #FirstName# and #LastName# coming from? I am assuming they are also part of the query. If so, scope them as well. #NotPaid.FirstName[currentRow]# #NotPaid.LastName[currentRow]# On Sun, Dec 2, 2012 at 4:59 PM, Matt Quackenbush quackfu...@gmail.comwrote: Try scoping the to email: cfmail query=NotPaid ... to=#NotPaid.UserEmail[currentRow]# HTH On Sun, Dec 2, 2012 at 4:53 PM, Eric Bourland e...@ebwebwork.com wrote: No need at all for the cfloop. When you provide the query to cfmail it does the loop for you. Well, I believe you. At first I did try: cfmail query=NotPaid server=#REQUEST.MailingListServer# from=i...@nnvawi.org to=#NotPaid.UserEmail# /cfmail ... ColdFusion sends to only the first email address returned in query NotPaid; and it also populated the CFMAIL message with multiple values of #FirstName# and #LastName# -- for all records WHERE NotPaid=0. I am all for using the more efficient query attribute of CFMAIL. I am missing something. I will try it again and report exactly what happens. Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:35 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFMAIL Not getting to mail server
Hello All, I recently migrated to CF 9 from 7, and there seems to be an issue with not all cfmail messages going out. I an not getting any errors, and the log files in CF actually show the messages in the mail sent log, but there is no trace of them after that on my mail server or the client end. This problem did not start happening until after I migrated to CF9, and there have been no changes in the code or environment beyond that. This does not happen to all messages, but it happens often enough that is a problem. Does anyone have any ideas of how to fix this issues. I found some threads about this issue and other people experiencing it, but no solutions or help from Adobe on a permanent fix. Thanks, Brian Cain ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353304 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMAIL Not getting to mail server
If the mail log doesn't show the messages as being bounced and undeliverable (and the messaged don't end up in the cfmail\undelivr folder in your ColdFusion install directory), then the problem is likely with your downstream mail server, not with ColdFusion. Did you propagate the same SMTP server settings from your CF7 install to your CF9 install? -Carl V. On 11/27/2012 2:23 PM, Brian Cain wrote: Hello All, I recently migrated to CF 9 from 7, and there seems to be an issue with not all cfmail messages going out. I an not getting any errors, and the log files in CF actually show the messages in the mail sent log, but there is no trace of them after that on my mail server or the client end. This problem did not start happening until after I migrated to CF9, and there have been no changes in the code or environment beyond that. This does not happen to all messages, but it happens often enough that is a problem. Does anyone have any ideas of how to fix this issues. I found some threads about this issue and other people experiencing it, but no solutions or help from Adobe on a permanent fix. Thanks, Brian Cain ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353305 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
How do I code French accents in a CFMail (HTML format) ?
I have a bilingual website and on the French side I need to send out a standard email that includes some accented characters. I have tried several techniques, including using the HTML notation (e.g., eacute;) and just letting the characters be imbedded in the body, but it doesn't look right when received. I have tried it with charset=ISO-8859-1 and with utf-8. No difference. How should I be doing this? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353024 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How do I code French accents in a CFMail (HTML format) ?
I have used cfmail to send out similar accented characters and it worked well by putting this at the very top of the page: cfprocessingdirective pageEncoding = utf-8 Let me know if it works. CHeers ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353025 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How do I code French accents in a CFMail (HTML format) ?
I discovered that I had not properly coded the type=HTML on the cfmail. When I corrected that and used the b; notation it seems to work. Thanks for the tip but it turned out that I didn't need it. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353028 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMAIL Problem with new TLDs
On CF9, cfmail seems to be having a problem sending email to some of the newer address, like som...@sprucegrove.ca . This is a valid email address, but CF9 CFMAIL is chocking on this and a other valid addresses that use the newer two character TLDs. If I try to send to that address, CFMAIL bombs and halts. If I wrap it in CFTRY with a CFCATCH to show me the failures, it's failing on several of the new TLDs. Does anyone know if there is a patch for this or something? This is almost certainly a problem with the SMTP server you're using, rather than CF. You can easily verify this sort of thing (and generally debug SMTP problems) by using a telnet session on your CF server to attempt to connect and send a message through your SMTP server. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352794 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFMAIL Problem with new TLDs
On CF9, cfmail seems to be having a problem sending email to some of the newer address, like som...@sprucegrove.ca . This is a valid email address, but CF9 CFMAIL is chocking on this and a other valid addresses that use the newer two character TLDs. If I try to send to that address, CFMAIL bombs and halts. If I wrap it in CFTRY with a CFCATCH to show me the failures, it's failing on several of the new TLDs. Does anyone know if there is a patch for this or something? Thanks Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352778 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMAIL Problem with new TLDs
CF will try to send an email to any address you give it, even a complete nonsense address, it is the SMTP server that will reject it. I have never had any issues sending emails to 2 letter TLD's such as .co or .ca So you should firstly investigate DNS and SMTP issues On Thu, Sep 27, 2012 at 3:10 PM, Robert Harrison rob...@austin-williams.com wrote: On CF9, cfmail seems to be having a problem sending email to some of the newer address, like som...@sprucegrove.ca . This is a valid email address, but CF9 CFMAIL is chocking on this and a other valid addresses that use the newer two character TLDs. If I try to send to that address, CFMAIL bombs and halts. If I wrap it in CFTRY with a CFCATCH to show me the failures, it's failing on several of the new TLDs. Does anyone know if there is a patch for this or something? Thanks Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352779 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFMAIL Problem with new TLDs
The .ca domain belongs to Canada and is 24 years old ( http://en.wikipedia.org/wiki/.ca). I suspect your problem lies elsewhere. -Cameron On Thu, Sep 27, 2012 at 3:10 PM, Robert Harrison rob...@austin-williams.com On CF9, cfmail seems to be having a problem sending email to some of the newer address, like som...@sprucegrove.ca . This is a valid email address, but CF9 CFMAIL is chocking on this and a other valid addresses that use the newer two character TLDs. If I try to send to that address, CFMAIL bombs and halts. If I wrap it in CFTRY with a CFCATCH to show me the failures, it's failing on several of the new TLDs. Does anyone know if there is a patch for this or something? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352780 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfmail settings
Try changing to: cfmail server=127.0.0.1 Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, August 29, 2012 1:44 PM To: cf-talk Subject: Re: cfmail settings I have just upgraded to windows server 2008 CF9 My web email forms aren't working: in cfmail server=localhost in the coldfusion administrator the mail server is left blank used to work but isn't now. any ideas Your old server presumably had the IIS 6 SMTP server enabled. Your new one doesn't. You will need to enable that (and probably install it first - it's not a default component with IIS 7). Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352347 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfmail settings
And also be sure you've enabled the internal mail server in IIS. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Thursday, August 30, 2012 9:27 AM To: cf-talk Subject: RE: cfmail settings Try changing to: cfmail server=127.0.0.1 Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, August 29, 2012 1:44 PM To: cf-talk Subject: Re: cfmail settings I have just upgraded to windows server 2008 CF9 My web email forms aren't working: in cfmail server=localhost in the coldfusion administrator the mail server is left blank used to work but isn't now. any ideas Your old server presumably had the IIS 6 SMTP server enabled. Your new one doesn't. You will need to enable that (and probably install it first - it's not a default component with IIS 7). Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352348 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfmail settings
I have just upgraded to windows server 2008 CF9 My web email forms aren't working: in cfmail server=localhost in the coldfusion administrator the mail server is left blank used to work but isn't now. any ideas Your old server presumably had the IIS 6 SMTP server enabled. Your new one doesn't. You will need to enable that (and probably install it first - it's not a default component with IIS 7). Also, make sure you set the Simple Mail Transfer Protocol (SMTP) service startup type to automatic; I installed SMTP on a 2008 R2 VPS a few months ago and discovered post-reboot about a week later (after emails stopped arriving) that the service wasn't set to automatic startup by default! Andy ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352362 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cfmail settings
Hi Folks I have just upgraded to windows server 2008 CF9 My web email forms aren't working: in cfmail server=localhost in the coldfusion administrator the mail server is left blank used to work but isn't now. any ideas Thanks Rob ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352336 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfmail settings
if your CFMAIL tags are specifying a SERVER then you do not need anything in the cfadmin. If they are not specifying a server thent hey will us ethe cfadmin settings, so you need to set them. I presume you do actually have a SMTP server setup and configured on localhost right ? On Wed, Aug 29, 2012 at 2:56 PM, Rob Voyle robvo...@voyle.com wrote: Hi Folks I have just upgraded to windows server 2008 CF9 My web email forms aren't working: in cfmail server=localhost in the coldfusion administrator the mail server is left blank used to work but isn't now. any ideas Thanks Rob ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352337 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfmail settings
I have just upgraded to windows server 2008 CF9 My web email forms aren't working: in cfmail server=localhost in the coldfusion administrator the mail server is left blank used to work but isn't now. any ideas Your old server presumably had the IIS 6 SMTP server enabled. Your new one doesn't. You will need to enable that (and probably install it first - it's not a default component with IIS 7). Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352338 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to prevent cfhtmlhead content from being inserted into cfmail...
On Tue, May 22, 2012 at 10:50 PM, Rick Faircloth r...@whitestonemedia.com wrote: Well, apparently, I can conditionally comment out any of the CF based on the requesting file. However, the JS isn't affected by the conditional comments and still shows up in the JSON, causing the JS to stop processing. Once I remove the JS, the processing occurs normally. Is your JS in a CFM file? If so, it doesn't matter. CF doesn't care if you output HTML, JS, or Klingon. If it is a CFM or a CFC _file_, then onRequestStart will fire. PS - I appreciate the tip on thepage variable passed onRequestStart. I didn't find that in the docs, specifically, nor in other Google searches. It is there - in the CFML Reference, chapter 8 (well, for CF10) is: Application CFC Reference ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351308 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: How to prevent cfhtmlhead content from being inserted into cfmail...
The JS and CF affected by the commenting is in the onRequestStart function in the application.cfc: cfsavecontent variable = jsVariables !--- [ js version of cf variables ] --- cfset js_sitename = application.sitename / cfset js_website = application.website / cfset js_site_manager_dsn = application.site_manager_dsn / cfset js_client_dsn = application.client_dsn/ cfoutput script type=text/javascript var js_sitename ='#js_sitename#'; var js_website ='#js_website#'; var js_site_manager_dsn ='#js_site_manager_dsn#'; var js_client_dsn='#js_client_dsn#'; /script /cfoutput /cfsavecontent cfhtmlhead text = #jsVariables# / If I use: cfif listLast(arguments.thepage, '/') is not employment-application.cfm /cfif around the code above, it prevents the insertion of code into the head of employment-application.cfm, but the lines between and including, script type=text/javascript.../script still get inserted into the JSON produced by an AJAX call from employment-application.cfm. -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: Wednesday, May 23, 2012 7:25 AM To: cf-talk Subject: Re: How to prevent cfhtmlhead content from being inserted into cfmail... On Tue, May 22, 2012 at 10:50 PM, Rick Faircloth r...@whitestonemedia.com wrote: Well, apparently, I can conditionally comment out any of the CF based on the requesting file. However, the JS isn't affected by the conditional comments and still shows up in the JSON, causing the JS to stop processing. Once I remove the JS, the processing occurs normally. Is your JS in a CFM file? If so, it doesn't matter. CF doesn't care if you output HTML, JS, or Klingon. If it is a CFM or a CFC _file_, then onRequestStart will fire. PS - I appreciate the tip on thepage variable passed onRequestStart. I didn't find that in the docs, specifically, nor in other Google searches. It is there - in the CFML Reference, chapter 8 (well, for CF10) is: Application CFC Reference ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351310 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to prevent cfhtmlhead content from being inserted into cfmail...
You are confusing requests here. If the file, employment-application.cfm, includes a script tag that points to a CFM, that's a _second_ request, not the same as the first one. If it requests something like javascript.cfm, then your onRequestStart needs to recognize that too. On Wed, May 23, 2012 at 6:46 AM, Rick Faircloth r...@whitestonemedia.com wrote: The JS and CF affected by the commenting is in the onRequestStart function in the application.cfc: cfsavecontent variable = jsVariables !--- [ js version of cf variables ] --- ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351311 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: How to prevent cfhtmlhead content from being inserted into cfmail...
If the file, employment-application.cfm, includes a script tag that points to a CFM... It doesn't. Here are the files involved: 1) employment-application.cfm 2) application.cfc 2) employment-application-form-processing.js 3) employment-application.cfc employment-application.cfm has the above js file included via a script link. The js file has an AJAX call to a method in employment-application.cfc for processing the form contained in the .cfm above. employment-application.cfc, as well as processing the form, also sends a couple of cfmail messages, if processing is successful. After successful processing of the form and sending of the cfmail messages in the cfc method, JSON is sent back to the AJAX call in the js file, which then, as the final step, should change the processing message the user sees on the form to a success message. But because the JSON includes more than just the message FORMSTATUS:SUCCESS in its content, which is the js script from the onRequestStart method in the application.cfc, the js won't complete the last step. I'm just trying to find a way to prevent the js script that gets inserted into the head of each page from being included in the JSON data returned. I don't need the js variables that are included via the onRequestStart for the employment-application.cfm page, so I was trying to find a way to prevent application.cfc from processing the js variables if the requesting page is employment-application.cfm. Your suggestion to use cfif listLast(thepage, '/') is not employment-application.cfm /cfif worked fine, to bypass the CF code processing the application.cfc, but the js script contained inside the conditional statement still shows up in the JSON. Either the conditional statement above won't afffect the inclusion script/script tag contained in the onRequestStart method or the AJAX call from the js file to the employment-application.cfc method also triggers the onRequestStart method and that causes the JSON to include the js script code. Perhaps I should try cfif listLast(thepage, '/') is not employment-application.cfc /cfif and see if that works. I'll give that a try. Does any of this make sense? Rick -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: Wednesday, May 23, 2012 7:52 AM To: cf-talk Subject: Re: How to prevent cfhtmlhead content from being inserted into cfmail... You are confusing requests here. If the file, employment-application.cfm, includes a script tag that points to a CFM, that's a _second_ request, not the same as the first one. If it requests something like javascript.cfm, then your onRequestStart needs to recognize that too. On Wed, May 23, 2012 at 6:46 AM, Rick Faircloth r...@whitestonemedia.com wrote: The JS and CF affected by the commenting is in the onRequestStart function in the application.cfc: cfsavecontent variable = jsVariables !--- [ js version of cf variables ] --- ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351312 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: How to prevent cfhtmlhead content from being inserted into cfmail...
Perhaps I should try cfif listLast(thepage, '/') is not employment-application.cfc /cfif and see if that works. That seems to have worked, on the initial test. The JSON response doesn't include the js script tags and content as it did when I used employment-application.cfm, instead of the .cfc above. I hadn't thought that the employment-application.cfc file would be considered the requesting file by the onRequestMethod when the method in employment-application.cfc involved ran. That being the case, I can understand how the js script gets included in the JSON, because the onRequestStart cfoutput's the js script in order to assign value to the CF variables using ##'s inside the js script. i.e. cfoutput script type=text/javascript var js_client_dsn = '#client_dsn#'; /script /cfoutput I don't *think* that I can assign the value to the var without using cfoutput and the ##'s around the CF variables. The only thing I know at this point for sure is that I have a working solution to the form processing for an impatient client. So, this hack will have to stand for now. Now to see if this works on the production site. :o) Rick -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Wednesday, May 23, 2012 8:55 AM To: cf-talk Subject: RE: How to prevent cfhtmlhead content from being inserted into cfmail... If the file, employment-application.cfm, includes a script tag that points to a CFM... It doesn't. Here are the files involved: 1) employment-application.cfm 2) application.cfc 2) employment-application-form-processing.js 3) employment-application.cfc employment-application.cfm has the above js file included via a script link. The js file has an AJAX call to a method in employment-application.cfc for processing the form contained in the .cfm above. employment-application.cfc, as well as processing the form, also sends a couple of cfmail messages, if processing is successful. After successful processing of the form and sending of the cfmail messages in the cfc method, JSON is sent back to the AJAX call in the js file, which then, as the final step, should change the processing message the user sees on the form to a success message. But because the JSON includes more than just the message FORMSTATUS:SUCCESS in its content, which is the js script from the onRequestStart method in the application.cfc, the js won't complete the last step. I'm just trying to find a way to prevent the js script that gets inserted into the head of each page from being included in the JSON data returned. I don't need the js variables that are included via the onRequestStart for the employment-application.cfm page, so I was trying to find a way to prevent application.cfc from processing the js variables if the requesting page is employment-application.cfm. Your suggestion to use cfif listLast(thepage, '/') is not employment-application.cfm /cfif worked fine, to bypass the CF code processing the application.cfc, but the js script contained inside the conditional statement still shows up in the JSON. Either the conditional statement above won't afffect the inclusion script/script tag contained in the onRequestStart method or the AJAX call from the js file to the employment-application.cfc method also triggers the onRequestStart method and that causes the JSON to include the js script code. Perhaps I should try cfif listLast(thepage, '/') is not employment-application.cfc /cfif and see if that works. I'll give that a try. Does any of this make sense? Rick -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: Wednesday, May 23, 2012 7:52 AM To: cf-talk Subject: Re: How to prevent cfhtmlhead content from being inserted into cfmail... You are confusing requests here. If the file, employment-application.cfm, includes a script tag that points to a CFM, that's a _second_ request, not the same as the first one. If it requests something like javascript.cfm, then your onRequestStart needs to recognize that too. On Wed, May 23, 2012 at 6:46 AM, Rick Faircloth r...@whitestonemedia.com wrote: The JS and CF affected by the commenting is in the onRequestStart function in the application.cfc: cfsavecontent variable = jsVariables !--- [ js version of cf variables ] --- ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351313 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to prevent cfhtmlhead content from being inserted into cfmail...
Woot. Glad you got it. On Wed, May 23, 2012 at 8:08 AM, Rick Faircloth r...@whitestonemedia.com wrote: Perhaps I should try cfif listLast(thepage, '/') is not employment-application.cfc /cfif and see if that works. That seems to have worked, on the initial test. The JSON response doesn't include the js script tags and content as it did when I used employment-application.cfm, instead of the .cfc above. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351314 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cfmail to Exchange using TLS
I am developing a solution for my company to be able to send email from our CF 8 application using TLS for security reasons and have a couple things that I would like to get clarified. I looked at the headers of the emails sent by my solution and I noticed that the transfer encoding was only 7 bit. The certificate that we are using on the development box is self signed so I am hoping that is the reason for the low encoding level, but I'm not sure. What I would like to clarify is the following: 1. Is the self signed certificate the reason for the encoding level? 2. Will a genuine certificate from a reputable source improve the encoding level? 3. Do I need to install a certificate somewhere in ColdFusion? 4. Is this a limitation of the CF 8 cfmail tag? 5. Is this something that needs to be addressed on the Exchange server? 6. Am I off the mark on this completely? I have no experience sending secured email from CF so any help or advice would be appreciated. TIA -- David Phelan ColdFusion/Flex Application Developer phelan.dav...@gmail.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351315 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfmail to Exchange using TLS
The encryption level is determined by the cert. You can generate any type of cert yourself and it will do the same job but it will not be trusted in a browser is not provided by a known ca. The encryption is done by the cert on the mailserver so nothing to install on cf side. Why type of cert did you generate? On May 23, 2012 6:41 PM, David Phelan phelan.dav...@gmail.com wrote: I am developing a solution for my company to be able to send email from our CF 8 application using TLS for security reasons and have a couple things that I would like to get clarified. I looked at the headers of the emails sent by my solution and I noticed that the transfer encoding was only 7 bit. The certificate that we are using on the development box is self signed so I am hoping that is the reason for the low encoding level, but I'm not sure. What I would like to clarify is the following: 1. Is the self signed certificate the reason for the encoding level? 2. Will a genuine certificate from a reputable source improve the encoding level? 3. Do I need to install a certificate somewhere in ColdFusion? 4. Is this a limitation of the CF 8 cfmail tag? 5. Is this something that needs to be addressed on the Exchange server? 6. Am I off the mark on this completely? I have no experience sending secured email from CF so any help or advice would be appreciated. TIA -- David Phelan ColdFusion/Flex Application Developer phelan.dav...@gmail.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351316 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm