Platform
Learn
Community
Support
Partner Center
Sign up
or
Log in
logout
Account Settings
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Learn
Training
Documentation
Evaluation Guide
What's New
Community
Home
Forums
Forge
Ideas
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Sign up
or
Log in
Home
Forums
Forge
Ideas
Members
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
How To Pass Parameter Within Email Body
inputparameter
Email
outputparameter
Community
›
Forums
›
Technology & Integration
How To Pass Parameter Within Email Body
inputparameter
Email
outputparameter
New Post
New Post
Tarun Kumar
Posted on 2015-12-24
Tarun Kumar
Rank: #110
Posted on 2015-12-24
Can anyone tell me how to pass parameter in email body like user name, link or anything else
Luis Filipe Oliveira
Posted on 2015-12-24
Luis Filipe Oliveira
Rank: #46
Posted on 2015-12-24
Solution
HI Tarun,
https://www.outsystems.com/help/servicestudio/9.1/index.htm#t=Web_User_Interface%2FComposing_Emails.htm
Here you have some example tou you compose a email. You can use or the session.Username to get the name of the user (if is that what you want) or via parameters the name, or something else.
Then you can prepare it in preparation or use the parameters in the email screen.
Regards,
Luis
Solution
Tarun Kumar
Posted on 2015-12-28
Tarun Kumar
Rank: #110
Posted on 2015-12-28
Solution
and how to genarate link in email. such as when u click on the link it should go to certain page in outsystem such as reset password page
??
Solution
Kilian Hekhuis
mvp_badge
mvp_label
Posted on 2015-12-28
Kilian Hekhuis
mvp_badge
mvp_label
Rank: #9
Posted on 2015-12-28
Solution
Tarun,
Can you explain what you don't understand? You are asking overly broad questions.
Solution
Tarun Kumar
Posted on 2015-12-28
Tarun Kumar
Rank: #110
Posted on 2015-12-28
Solution
my query is along with parameters ,how to generate link .
Solution
Kilian Hekhuis
mvp_badge
mvp_label
Posted on 2015-12-28
Kilian Hekhuis
mvp_badge
mvp_label
Rank: #9
Posted on 2015-12-28
Solution
Tarun,
I still don't understand. An e-mail is just like a web screen - you can put a link in it just as on a screen.
Solution
Tarun Kumar
Posted on 2015-12-28
Tarun Kumar
Rank: #110
Posted on 2015-12-28
Solution
ok i want to generate random number along with that link
Solution
Kilian Hekhuis
mvp_badge
mvp_label
Posted on 2015-12-28
Kilian Hekhuis
mvp_badge
mvp_label
Rank: #9
Posted on 2015-12-28
Solution
Use the GenerateGuid System action.
Solution
Tarun Kumar
Posted on 2015-12-28
Tarun Kumar
Rank: #110
Posted on 2015-12-28
Solution
How can i get a username in email .to determine which user has send the mail
Solution
Luis Filipe Oliveira
Posted on 2015-12-28
Luis Filipe Oliveira
Rank: #46
Posted on 2015-12-28
Solution
Tarun Kumar
wrote:
How can i get a username in email .to determine which user has send the mail
You can get the username using the Session.Username
Solution
Tarun Kumar
Posted on 2015-12-28
Tarun Kumar
Rank: #110
Posted on 2015-12-28
Solution
ok will try and then will let you Know.
Solution
Sagar Nannaware
Posted on 2015-12-29
Sagar Nannaware
Rank: #4335
Posted on 2015-12-29
Solution
Hi Tarun,
Add emailid input parameter in your email screen and write a simple query / advance query in its preparation to fetch user name using email.
Regards,
Sagar Nannaware
Solution
Kilian Hekhuis
mvp_badge
mvp_label
Posted on 2015-12-29
Kilian Hekhuis
mvp_badge
mvp_label
Rank: #9
Posted on 2015-12-29
Solution
Hi Tarun,
What username do you want? As Luis already said, Session.Username contains the username of the currenty logged in user.
Solution
Kilian Hekhuis
mvp_badge
mvp_label
Posted on 2015-12-29
Kilian Hekhuis
mvp_badge
mvp_label
Rank: #9
Posted on 2015-12-29
Solution
Hi Tarun,
First of all, stop including these enormously large images in the body of the text. Either attach them or leave the out entirely, as they don't seem to add much.
Also, your questions have nothing to do with OutSystems. This is basic programming. I'll help you one more time, but I'm not spending my time here to babysit would-be programmers.
You were already including a GUID in the link to the password page. This is a unique number that you assigned when you sent the e-mail to the user. Are you telling me you really don't see a way to connect this number to the user requesting the reset?
Solution
Tarun Kumar
Posted on 2015-12-29
Tarun Kumar
Rank: #110
Posted on 2015-12-29
Solution
no sir
,thanx for ur help ,
guid and email sending working fine now :)
Redirect to reset password page is also working.
But how to check whether we are resetting the password for the correct user because redirecting does not
determine which user we are resetting password for.
Solution
Kilian Hekhuis
mvp_badge
mvp_label
Posted on 2015-12-29
Kilian Hekhuis
mvp_badge
mvp_label
Rank: #9
Posted on 2015-12-29
Solution
Tarun,
When you send the e-mail, you know the user who requested the password reset, right? And you generate the GUID to be included in the link. So you know that whomever accesses the reset page with that GUID is the user that you sent the e-mail to when generating the GUID. So you need to store the combination of user + GUID somewhere, ideally also with a timestamp so it's only valid for a certain amount of time. Then when a user accesses the reset page with that GUID, you check whether that's a valid reset by checking the GUID etc. And that's the last thing I've said about it.
Solution
Quick Reply
attachment
Choose File
No file chosen
Submit
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Community Quick Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...