Click or drag to resize
IIssueUrlServiceGetBaseUrl Method
Gets the base URL for given newsletter if defined. Otherwise it returns full application URL of newsletter site.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 11.0.0
Syntax
C#
string GetBaseUrl(
	NewsletterInfo newsletter
)

Parameters

newsletter
Type: CMS.NewslettersNewsletterInfo
Newsletter.

Return Value

Type: String
Exceptions
ExceptionCondition
ArgumentNullExceptionnewsletter is null
Remarks
The result URL doesn't contain trailing slash.
See Also