Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

encodeTrackingLinks

Converts all links found in the given content to tracking links methods.

The mailing is not altered in any way. See also decodeTrackingLinks.

Type: String

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
contentStringThe content of the mailing (HTML code or text).
mimeTypeStringMIME type of the mailing (text/plain or text/html)

The content will be treated as this MIME type.

Return values

Content with all links replaced by their corresponding tracking links

Code structure

String encodeTrackingLinks(String sessionId, long mailingId, String content, String mimeType)