<@U06V253M4> does cfconfig support any of the Adob...
# box-products
d
@bdw429s does cfconfig support any of the Adobe CF Admin mail settings like “*Maintain connection to mail server” and “Connection Timeout(in seconds)” in the mailserver entry - can’t find anything n the docs?*
b
@dougcain The best way to find out is just to look at the code 🙂
And the subset of those read/written to Adobe are here https://github.com/Ortus-Solutions/cfconfig/blob/master/models/BaseAdobe.cfc
Are the settings you're referring to stored for each mail server you add, or global to all?
The trick sometimes is mapping the setting you see in the web admin UI to the CFConfig version
d
very handy - thanks very much. I’m just using one so “global” 🙂 fighting AWS SES as it seems to close connections aggressively so “some” emails get a 451 4.4.2 Timeout waiting for data from client. Error - Adobe has a “*Maintain connection to mail server” setting which might be doing it*
b
The setting above, for example is stored in the
timeout
key of the file
/lib/neo-mail.xml
So you can go check/uncheck the box in the admin, save, and then see if that file updated to track which setting goes where
If you first, track where those settings save in Adobe's XML, then it's pretty easy to see if CFConfig is touching them
d
I think the one i’m after isn;t in cfconfig - will see what neo-mail.xml has to say on the subject then
b
Adding a new one is pretty easy if you want to send a pull
👍 1
Usually 3 lines of code to add a new setting to a file that's already being read/written • the propeprty definition in base config • the read line • the write line
d
will try and figure out if changing them solves my problem first - bit of manual labour to start with
b
Just spun up a quick test server. I can confirm the
timeout
key in
neo-mail.xml
is the
Connection Timeout(in seconds)
setting, so that one's covered
Interesting-- the
Maintain connection to mail server
setting seems... broken
It simply doesn't save.
I can check it or uncheck it and click "Submit changes" and the message
Copy code
Server has been updated successfully
appears at the top of the page, but the
neo-mail.xml
file is not touched and when the page reloads, the box is always unchecked
@dougcain Are you able to actually save that checkbox?
@Mark Takata (Adobe) @priyank_adobe Have you guys ever see this happen (where
Maintain connection to mail server
setting won't save)
I'm testing on ACF 2021.0.06.330132
image.png
p
@bdw429s Never seen that before but I can try that. quickly. Do you see any message or it just doesn't save the changes
b
I posted the message that I see above
Copy code
Server has been updated successfully
But, despite that message, it does not save.
There are no messages in the console log
p
Sorry, I take my words back. I have seen this issue, this doesn't work and I think I logged a bug for this.
I will check with engineering and get back to you.
👍 1
b
There are no matching entires in any of the
\cfusion\logs\*log
files either
I do have a mail server set however, as that ticket suggests. (
localhost
)
d
@priyank_adobe same seems to happen on cf 2018.0.16.330130 - could you let me know which key in which file sets / unsets
Maintain connection to mail server
- I can’t see any neo-*.xml files being changed. I need to be able to test it with AWS SES as an smtp server (I think turning it off solves my problem but can’t automate it currently)
never mind - found it
<var name='maintainconnections'>
<boolean value='false'/>
</var>