question

MITRADebarthaGECoreTechCyber-2843 avatar image
0 Votes"
MITRADebarthaGECoreTechCyber-2843 asked ryanchill answered

How will I pass parameters such as, user id in hyper link?

I have a HTML page where there is one hyperlink. This html email will be sent to users via Microsoft outlook (I have written the mail function using flask python) and when users will click on hyperlink on the email body, it will eventually open another page. This page will be same but, the content of the page will be different for different users based on the users' email id. This another page will be hosted on Azure web portal.

Right now, my requirement is to pass the user email ID through hyperlink so, I can display different content based on email ID. Can it be done through hyperlink on the outlook email body? As, you know that outlook uses Microsoft Word as rendering engine so, will it be difficult to pass parameter through hyperlink ?

Or, can I pass the email ID through my flask function while sending the mails?

Any suggestion will be very helpful.

azure-webapps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ryanchill avatar image
0 Votes"
ryanchill answered

Hi @MITRADebarthaGECoreTechCyber-2843,


I would simply just HTTP POST the email ID along with any other data in the request body to the your flask app.


Hope this helps.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.