Methods / Administrative Service |
Web Services
Retrieves the SMTP server of the current server configuration.
public virtual string GetSmtpServer();
Name | Description |
---|---|
None | Not Applicable |
A string that contains the name of the AgilePoint system's SMTP server.
IWFAdminService svc = GetAdminService(); try { string smtpServer = svc.GetSmtpServer(); Console.WriteLine("SMTP Server Name = '" + smtpServer + "'"); } catch (Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); } //This example produces the following results: //SMTP Server Name = 'smtp.vitinfotech.com'
4.6 and higher