Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Mail Sender Lightning Web Component (LWC)

The Mail Sender Lightning Web Component (LWC) allows you to send emails from within Salesforce. It provides a simple and user-friendly interface for composing and sending emails to recipients.

Mail Sender LWC

Table of Contents

Features

  • Compose and send emails using a Lightning Web Component (LWC) in Salesforce.
  • Validate recipient email addresses to ensure they are in the correct format.
  • Display error messages for invalid input or email send failures.
  • Easily integrate the Mail Sender LWC into your Salesforce Lightning App or Record Page.

Installation

To use the Mail Sender LWC in your Salesforce org, follow these steps:

  1. Clone or Download this Repository:

    • Clone this GitHub repository to your local machine using the following command:
      git clone https://github.com/s4SHIVam7/mail_Sender_Lwc.git
      
  2. Deploy the Lightning Web Component:

    • Deploy the MailSenderLWC Lightning Web Component to your Salesforce org.
  3. Add the Component to Your Salesforce Page:

    • Add the MailSenderLWC component to your Lightning App or Record Page.

Usage

  1. Open a Salesforce Lightning Page or App:

    • Navigate to a Salesforce Lightning Page or App where you want to send an email.
  2. Fill in the Email Details:

    • Enter the recipient's email address, subject, and email body in the provided fields.
  3. Send the Email:

    • Click the "Send Email" button to send the email. The component will validate the recipient's email address and show error messages if needed.
  4. View Toast Messages:

    • After sending the email, you will receive toast messages indicating whether the email was sent successfully or if there was an error.

ScreenShots

  1. Main Component : image

  2. Valid Error Result : image

  3. Valid Error Result 2 : image

  4. Success Result : image

Contact

For questions, support, or feedback, please feel free to reach out:

About

LWC to send emails from within Salesforce

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages