On Monday 17 May 2004 23:41, Tobias Kraus wrote: > Am Montag, 17. Mai 2004 17:44 schrieb Kevin Krammer: > > On Monday 17 May 2004 12:59, Tobias Kraus wrote: > > > Hi all, > > > in kmail, I have to use different smtp profiles depending on the > > > network I'm connected to. Is it possible that kmail automatically > > > tries to use the secondary smtp-server if the primary isn't > > > available? If the current primary server is not accessible (due > > > to firewall settings) I have to define the secondary as primary > > > server manually. > > > > You can generate the value for a KDE application's config entry > > with an application. > > http://www.kde.org/areas/sysadmin/config_file.php#shell_expansion > > Hi Kevin, > it didn't work, as the order of the smtp-server are coded in the > headers of the configuration entries ([Transport 1] and [Transport > 2]) Only the [Transport 1] setting is used for sending emails. To use > the [Transport 2], you have to change the order in the settings > dialog box - and it seems that it is not possible to use the output > of a program to change the name of the group header. <sorry for my > bad english - I hope everyone understand what I mean>
My suggestion would not switch the transport, but alter the transport configuration itself. So the active transport would always be the same, but point to a different SMTP server. Cheers, Kevin
pgpT2Hiekrm77.pgp
Description: signature