Whilst the Admin API doesn't expose the verify mail server option, as
Ray states, you can still drop down and use the ServiceFactory if that
option is available to you.

Whilst not officially support it's what the CFAdmin uses anyway.

Andy

ps I logged a bug about the lack of verityServer() in the API some time ago.

2008/6/26 Raymond Camden <[EMAIL PROTECTED]>:
> The Admin API lets you check a few things, but doesn't let you do the
> verify option that you have in the cf admin. That may be a good
> addition to the api.
>
> You could always do a cfmail w/ a try/catch in onApplicationStart. You
> could mail to some dummy account that gets auto-emptied. That seems a
> bit hackish though.
>
> On Thu, Jun 26, 2008 at 9:18 AM, Keith McGee <[EMAIL PROTECTED]> wrote:
>> Is there a way to check to status of the SMTP server/service before I load 
>> an application in ColdFusion? Then not load the application if the 
>> server/service is down?
>>
>>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308222
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to