Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I will like to have a login/registration form in my app to collect users details
when user clicks on submmit button i want to recieve the details in my
personal mail box like gmail or yahoo mail.
How can i set this up in my app
I have set up the form in my xaml and cs but when the user clicks on send button
how to configure to recieve the details in my mailboxc
Posted
Comments
Suvendu Shekhar Giri 28-Nov-15 13:47pm    
Share what have you tried so far.
Member 10627743 28-Nov-15 14:16pm    
This is my registration.xaml below
<!--LayoutRoot is the root grid where all page content is placed-->
<grid x:name="LayoutRoot" removed="White">
<grid margin="5,0,0,0">
<grid.rowdefinitions>
<rowdefinition height="Auto">
<rowdefinition height="Auto">
<rowdefinition height="Auto">
<rowdefinition height="Auto">
<rowdefinition height="Auto">
<rowdefinition height="Auto">
<rowdefinition height="Auto">
<rowdefinition height="Auto">

<!--Title-->
<textblock text="User Registration :" grid.row="0" fontsize="40" foreground="Black">

<!--UserName-->
<textblock text="UserName :" grid.row="1" foreground="Black" margin="0,25,0,0">
<textbox name="TxtUserName" borderbrush="LightGray" grid.row="1" margin="100,0,0,0" gotfocus="Txt_GotFocus">

<!--Password-->
<textblock text="Password: " grid.row="2" margin="0,25,0,0" foreground="Black">
<PasswordBox Name="TxtPwd" BorderBrush="LightGray" Grid.Row="2" Margin="100,0,0,0" GotFocus="pwd_GotFocus" />

<!--Address-->
<textblock text="Address: " grid.row="3" margin="0,25,0,0" foreground="Black">
<textbox name="TxtAddr" borderbrush="LightGray" grid.row="3" margin="100,0,0,0" gotfocus="Txt_GotFocus">

<!--Gender-->
<textblock text="Gender: " grid.row="4" margin="0,25,0,0" foreground="Black">
<radiobutton name="GenMale" removed="LightGray" content="Male" grid.row="4" margin="100,0,0,0" foreground="Black">
<radiobutton name="GenFeMale" removed="LightGray" content="Female" grid.row="4" margin="200,0,0,0" foreground="Black">

<!--Phone Number-->
<textblock text="Phone No: " grid.row="5" margin="0,25,0,0" foreground="Black">
<textbox name="TxtPhNo" borderbrush="LightGray" maxlength="10" inputscope="digits" grid.row="5" margin="100,0,0,0" gotfocus="Txt_GotFocus">

<!--Email-->
<textblock text="EmaiID: " grid.row="6" margin="0,25,0,0" foreground="Black">
<textbox name="TxtEmail" borderbrush="LightGray" grid.row="6" margin="100,0,0,0" gotfocus="Txt_GotFocus">

<!--Submit Button-->
<Button BorderBrush="Transparent" Background="#FF30DABB" Content="Submit" Name="BtnSubmit" Click="Submit_Click" Grid.Row="7"/>



I want the user details to be sent to email box
ZurdoDev 28-Nov-15 15:26pm    
So, find an example of how to send email and then it should be easy, right?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900