You need to sign in to do that
Don't have an account?
Aishwarya P 4
To send an email to the user who enters hiis email id in the input text field
<apex:page sidebar="false" showHeader="False" standardStylesheets="false">
<style>
.myFormStyle
{
background-color : #FEF9E7;
margin: auto;
width: 50%;
border: 3px solid green;
padding: 10px;
}
</style>
<apex:form styleClass="myFormStyle">
<center><h1>Welcome To The Page </h1></center>
<center><h3><b><u><i> {! $user.FirstName} </i></u></b></h3></center> <br/>
<apex:pageBlock>
<p4><font size="2" color="Red"><font color="Black">NAME : </font> {! $user.FirstName}</font></p4><br/>
<p4><font size="2" color="Red"><font color="Black">EMAIL-ID :</font> {! $user.Email} </font></p4><br/>
</apex:pageBlock>
<apex:pageBlock title="Email">
<apex:inputText label ="Email-Id for Notification"/>
</apex:pageBlock>
</apex:form>
</apex:page>
I want to send an email to the email Id which he will enter in the input text field.
Please help
<style>
.myFormStyle
{
background-color : #FEF9E7;
margin: auto;
width: 50%;
border: 3px solid green;
padding: 10px;
}
</style>
<apex:form styleClass="myFormStyle">
<center><h1>Welcome To The Page </h1></center>
<center><h3><b><u><i> {! $user.FirstName} </i></u></b></h3></center> <br/>
<apex:pageBlock>
<p4><font size="2" color="Red"><font color="Black">NAME : </font> {! $user.FirstName}</font></p4><br/>
<p4><font size="2" color="Red"><font color="Black">EMAIL-ID :</font> {! $user.Email} </font></p4><br/>
</apex:pageBlock>
<apex:pageBlock title="Email">
<apex:inputText label ="Email-Id for Notification"/>
</apex:pageBlock>
</apex:form>
</apex:page>
I want to send an email to the email Id which he will enter in the input text field.
Please help
First of all the data type of email field should be the "Email" and secondly to create the email alert you should create a workflow. Here you can use the standard email template or you can create your own.In workflow use the condition that the To address of the Email will be the data entered in the Email field.
Thanks