PATCHED IMacros Enterprise Edition V10.2.2823 [Updated-2022]
- badglitytitaxmill
 - May 13, 2022
 - 1 min read
 

IISRESET to resolve this issue.
I have checked the logs and found that this is the cause of the issue. 
if I change the iisreset tag and make it the trigger of the code it works fine. 
I am unable to figure out why the iisreset is not working. 
Below is the detailed code. 
%%[SET @RecipientName = _subscriber_Name_ 
SET @TrackingCode = AttributeValue('TrackingCode')
SET @TrackingID = AttributeValue('TrackingID')
SET @TrackingUrl = AttributeValue('TrackingUrl')
SET @TrackingName = AttributeValue('TrackingName')
SET @OrderEmail = "emailid@email.com" 
SET @TrackingCode = Split(@TrackingCode, ",") 
SET @TrackingID = Left(@TrackingCode, Len(@TrackingCode)-4) 
SET @TrackingUrl = Left(@TrackingUrl, Len(@TrackingUrl)-4) 
SET @TrackingName = Left(@TrackingName, Len(@TrackingName)-4)
IF NOT EMPTY(@RecipientName) THEN  
SET @Recipient = REPLACE(@RecipientName, " ", "+")  
SET @UrlPart = "www.example.com/welcome/tracking/WelcomeTo?name=+" 
ELSE  
SET @Recipient = "XYZ"  
SET @UrlPart = ""  
ENDIF
IF EMPTY(@TrackingCode) THEN  
SET @UrlPart = "www.example.com/welcome/tracking/EnterTrackingCode?code=+"  
SET @UrlPart = "www.example.com/welcome/tracking/EnterTrackingCode?code="  
SET @Url = CONCATENATE(@UrlPart, @TrackingID, "?") 
SET @Url = CONCATENATE(@Url, @TrackingCode, "&name=", @TrackingName)
SET @iisreset = _HTTP("URL","GET","",@Url,@Recip
Related links:
Comments