Add Send Email Address from User Table Export to email

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
prem01628
User
Posts: 23

Add Send Email Address from User Table Export to email

Post 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


Webmaster
User
Posts: 9425

Post by Webmaster »

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


prem01628
User
Posts: 23

Post 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


Webmaster
User
Posts: 9425

Post 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


Post Reply