Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Marketplace
    • Advertise With Us
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › Sending an email from Contact also sends email to Account Email Field of Contact

    Tagged: Account Email Field, Accounts in Salesforce, Contact Object, Contact Record, Emails in Salesforce, Salesforce Accounts, Send Email, Send Email From Functionality

    • Salesforce® Discussions

      Sending an email from Contact also sends email to Account Email Field of Contact

      Posted by Parv Shekhar Singh on May 31, 2018 at 7:41 AM

      When i am Sending an Email from a particular Object(i.e. Contact) through Email Class,it also send same Email to the Account Email(i.e Email Field of Contact),Can anyone help me with this?

      Aman replied 7 years, 7 months ago 2 Members · 1 Reply
      • Account Email Field
      • Accounts in Salesforce
      • Contact Object
      • Contact Record
      • Emails in Salesforce
      • Salesforce Accounts
      • Send Email
      • Send Email From Functionality
    • 1 Reply
    • Aman

      Member
      May 31, 2018 at 7:46 AM

      Hi parv,

      set the Value of ‘setTreatTargetObjectAsRecipient’ as False.

      Messaging.SingleEmailMessage mail= new Messaging.SingleEmailMessage();

      setTreatTargetObjectAsRecipient(false);

      Hope this helps!

      Thanks

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    application solution

    Popular Salesforce Blogs

    Salesforce AI Cloud: Features, Benefits, Use Cases, Pricing

    Blog in AI and ML

    Contents What is Salesforce AI Cloud? Features of Salesforce AI Cloud Einstein Analytics Einstein Bots Einstein Vision and Voice Einstein Language Benefits of Salesforce AI…

    Business Intelligence, CRM, Customer Experiences, Data Cloud, Einstein Analytics
    Kizzy Consulting Mar 5, 2024
    836  Views
    Multi-Factor Authentication

    Salesforce Multi-Factor Authentication - Basics

    Blog in Others, Salesforce Security

    What Is Multi-Factor Authentication? Multi-Factor Authentication for Salesforce is accessible at no additional expense! Usernames and passwords alone don't give adequate shields against unapproved account…

    API Logins, Application, ATM, Authenticator Application, Client's Secret Word
    Ratnesh May 3, 2021
    3,451  Views
    salesforce lightning component

    Top Salesforce Lightning Components to Improve Functionality

    Blog in Lightning

    In this techie environment, it is the necessity to be with the new generation and meet up the expectation of the business organization. Almost every…

    Apex Test Classes, Application Event, Business Organization, Custom Cache, Event Handlers
    Anjali Apr 21, 2020
    2,551  Views

    Popular Salesforce Videos

    How to Create an Automated File Import in Salesforce Marketing Cloud

    How to Create an Automated File Import in Salesforce Marketing Cloud

    Video in Marketing, Salesforce Training

    Cameron Robert shows how to create an automation to import files from your FTP into Data Extensions in Salesforce Marketing Cloud. File Import Automations are…

    Salesforce Training, Salesforce Marketing Cloud, Salesforce Video, Salesforce Learning, Training
    Cameron Sep 17, 2021
    3,111  Views
    5 Tips on How to Run Your Pipeline Engine to Drive Growth | Salesforce on Salesforce

    5 Tips on How to Run Your Pipeline Engine to Drive Growth | Salesforce on Salesforce

    Video in Salesforce Training

    Salesforce’s revenue has been on a firm upward trajectory for years, and every year we see terrific growth. How do we do it? I’ll let…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Revenue, Salesforce Video
    Jogender Jun 17, 2022
    1,616  Views
    Salesforce 101 for Salespeople

    Salesforce 101 for Salespeople

    Video in Salesforce1

    In this video, Oliver Sholder breaks down Salesforce 101 for us. He covers everything from what Salesforce is and does, to how it can benefit…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Learnng, Salespeople
    Tulika Wadhwani Sep 19, 2022
    1,467  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.