Documentation Center

GetConfirmURL()

Use this method to get the URL of the Page where a Contact can confirm their subscription.

Syntax

Function GetConfirmURL(Optional ByVal customQueryStringParameterValue As String = "") As String

Parameters

ParameterDescription
ParameterValueThe (optional) value of the custom parameter

Description

This method returns the URL of a Page where a Contact can confirm their subscription. You can use the customQueryStringParameterValue parameter to add one custom parameter, called custom, to the URL you create. The value of this custom parameter is the value of customQueryStringParameterValue. By using this parameter, you can, for example, add a Publication ID to the URL. The confirm.aspx or confirm.jsp page can then retrieve this Publication ID and change its behavior accordingly.

Example Template code

You have submitted a request to subscribe to our mailing list. <br />
Click <a href='[% WriteOut OutboundEmail.GetConfirmURL() %]'>here</a> to
confirm your subscription.