YouTrack Standalone 2017.2 Help

Get Email Notification Service Settings

GET /admin/setup/email

Get email notification service settings

GET /rest/admin/setup/email

Samples

Sample 1

Request

GET https://example.com/youtrack/rest/admin/setup/email Cookie: $Version=0; JSESSIONID=o1m0b1if7cb1ubxza1z447b8; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 123 <?xml version="1.0" encoding="UTF-8" standalone="yes"?><email enabled="false"><secure>false</secure><port>25</port></email>

Sample 2

Request

GET https://example.com/youtrack/rest/admin/setup/email Cookie: $Version=0; JSESSIONID=o1m0b1if7cb1ubxza1z447b8; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 230 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <email enabled="true"> <from>jetbrains.tracker@gmail.com</from> <login>jetbrains.tracker@gmail.com</login> <secure>true</secure> <port>25</port> <host>smtp.gmail.com</host> </email>
Last modified: 7 March 2019