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.

Add Send Email Address from User Table Export to email

Postby prem01628 » Sat Sep 09, 2017 5:28 pm

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
prem01628
 
Posts: 21
Joined: Wed Mar 30, 2016 11:17 am

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

Postby Webmaster » Mon Sep 11, 2017 9:39 am

Make sure that you have set up the [Email field] in Advanced Security -> User Login Options -> User Table Fields
Webmaster
 
Posts: 10733
Joined: Fri Aug 06, 2004 5:59 pm

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

Postby prem01628 » Fri Sep 15, 2017 12:03 pm

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
prem01628
 
Posts: 21
Joined: Wed Mar 30, 2016 11:17 am

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

Postby Webmaster » Fri Sep 15, 2017 12:58 pm

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
Webmaster
 
Posts: 10733
Joined: Fri Aug 06, 2004 5:59 pm


Return to General Discussion (ASP.NET Maker)