Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Error trying to set a mailserver
> cfconfig set mailServers=127.0.0.1 to=myserver
ERROR (4.6.0+00003)
invalid call of the function setMailServers, first Argument (mailServers) is of invalid type, can't cast String [127.0.0.1] to a value of type [array]
the function is located at [C:\Users\xxx\.CommandBox\cfml\modules\commandbox-cfconfig\modules\cfconfig-services\models\providers\Adobe9.cfc]
\modules\commandbox-cfconfig\commands\cfconfig\set.cfc: line 59
57: error( "[#property#] is not a valid property" );
58: }
59: oConfig[ 'set#property#' ]( arguments[ property ] )
60: .write( toDetails.path );
61:
called from \system\services\CommandService.cfc: line 341
called from \system\services\CommandService.cfc: line 138
called from \system\Shell.cfc: line 757
called from \system\Shell.cfc: line 577
called from \system\Bootstrap.cfm: line 159
To enable full stack trace, run config set verboseErrors=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment