In versions before 11.2 (and after 9) one could get the current settings as defined in the preferences (Internet & Email -> Mail Settings) with Options[SendMail]. As the options for SendMail have changed, this does now not work anymore. There now are only MailAddressValidation and MailSettings as options, and the latter is meant to hold an association which defines those paramters, but its default value is Automatic and there seems to be no documented way to programmatically access the values that have been set in the preferences.
Does anyone know a possibility to extract those programmatically anyway?
ResourceLocator`Private`getPreferenceFile["SendMail", \ "MailSettings", PreferencesRead]. Interestingly there is also a corresponding file"MailSettingsNew". I think the combination of your answers gives a quite complete picture... – Albert Retey Sep 20 '17 at 21:14