coldfusionmail-servercfadmin

Getting CFAdmin Mail Server in code


I've specified a Mail Server in my CFAdmin I want to get it in my code. Is it possible somehow?


Solution

  • I have to concede I've never had to specifically do what you need to do, but CF has an Admin API. Details are on the Administrator API page in the docs.

    Relevant extract:

    mail.cfc Manage ColdFusion mail settings.

    I reckon that's what yer after.