Page 1 of 1

Add Send Email Address from User Table Export to email

Posted: Sat Sep 09, 2017 5:28 pm
by prem01628

I am trying to add Senders Email Address from User Table by following changes in ewemail.cshtml page
<input type="text" class="form-control ewControl" name="sender" id="sender" value='@CurrentUserInfo("email")'></div>
not results!
but <input type="text" class="form-control ewControl" name="sender" id="sender" value='abc@xyz.com'></div> is working ( shows abc@xyz.com in From field)

after changes
<div class="col-sm-10"><input type="text" class="form-control ewControl" name="sender" id="sender" value="@CurrentUserEmail()"></div>

it gives error as detail given below

Error
This page isn’t working

localhost is currently unable to handle this request.
HTTP ERROR 500


Re: Add Send Email Address from User Table Export to email

Posted: Mon Sep 11, 2017 9:39 am
by Webmaster

Make sure that you have set up the [Email field] in Advanced Security -> User Login Options -> User Table Fields


Re: Add Sender Email Address from User Table Export to email

Posted: Fri Sep 15, 2017 12:03 pm
by prem01628

Email Field (email) already setup in Advanced Security -> User Login Options -> User Table Fields
but i have not created/defined activated field in User Table.

I am using (ASP.NET Maker 2017.0.2) but template file up to date

even @CurrentUserInfo("field-name") is not responding with any field of user table


Re: Add Send Email Address from User Table Export to email

Posted: Fri Sep 15, 2017 12:58 pm
by Webmaster

If you are a registered user you can send your project files to support for checking your settings:
http://www.hkvstore.com/aspnetmaker/support.asp