Include the email web browser version link into a SMS | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Darren_Bowers

Hi @donrgal - technically this is possible, but its a bit of work to do it.

You have to extract the URL pretty much straight after the email send as you have the data you need. Once you have the URL for each recipient, technically you can then either send a follow-up SMS straight away or you can store it somewhere and send it later.

Be aware the MirrorPageURL is quite long, so sending it in an SMS without first shortening it (using bit.ly, etc) can be costly or just not a great experience for your customers.

I set up a temporary schema to hold the MirrorPageURLs but you don't have to do this. It depends on your use cases.

The main function you want to extract the URL is:

 

nms.delivery.GetMirrorURL(vars.deliveryId,record.broadLogId.toString());

 

vars.deliveryId is the id of the delivery that you just sent (this should be a long). record.broadLogId.toString() is the broadLogId for each message you just sent to each recipient (this should be a string).

This is an example of what I did so I could export the MirrorPageURL into a text file after the delivery

Hope this helps

Cheers

 

2 replies

Darren_Bowers
Darren_BowersAccepted solution
Level 9
June 29, 2020

Hi @donrgal - technically this is possible, but its a bit of work to do it.

You have to extract the URL pretty much straight after the email send as you have the data you need. Once you have the URL for each recipient, technically you can then either send a follow-up SMS straight away or you can store it somewhere and send it later.

Be aware the MirrorPageURL is quite long, so sending it in an SMS without first shortening it (using bit.ly, etc) can be costly or just not a great experience for your customers.

I set up a temporary schema to hold the MirrorPageURLs but you don't have to do this. It depends on your use cases.

The main function you want to extract the URL is:

 

nms.delivery.GetMirrorURL(vars.deliveryId,record.broadLogId.toString());

 

vars.deliveryId is the id of the delivery that you just sent (this should be a long). record.broadLogId.toString() is the broadLogId for each message you just sent to each recipient (this should be a string).

This is an example of what I did so I could export the MirrorPageURL into a text file after the delivery

Hope this helps

Cheers

 

yuhanlin
June 29, 2020

Hi @donrgal,

 

You can include the MirrorPage link by clicking the boxes in the screenshot below:

 

I don't think it will generate a meaningful page though - may I ask what your intention is to insert the MirrorPage into an SMS?

 

donrgalAuthor
June 30, 2020
Thanks! My main intention is for a user to click the link via SMS to open a copy of the email sent to them. The user then can respond to an invite. Also emails have an easier way to track interactions.