Toggle Side Panel

  • Blogs
  • 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
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • 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
    • 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 8 years, 4 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

    Popular Salesforce Blogs

    The Role of Salesforce’s Impact Fund in Developing Startups

    Blog in Salesforce

    Today, there is an increasing number of cloud companies trying to impact the industry and the world. Salesforce has been one of them for years,…

    Business Operations, Cloud Companies, Cloud Company Development Salesforce Ventures Impact Fund, Cloud Industry, Cloud Startup Companies
    Apphienz Sep 22, 2021
    3,131  Views
    salesforce certification

    Salesforce App Builder Certification: Bridging the Gap Between a Programmer and an Administrator

    Blog in Salesforce Certifications, Salesforce Training

    Salesforce has been coming up with new certifications every now and then to evaluate and test the knowledge of individuals on different functionalities and features…

    App Builder Training, App Development Lifecycle, app-builder-in-salesforce, Application Securities, Build Applications Using Visualforce
    Arpit Aug 6, 2020
    3,277  Views

    How Can Integrating Your Business Processes with Salesforce Deliver Great User Experience

    Blog in Others

    There have been plenty of celebrities that have used this famous saying to try to get preferential treatment at a restaurant, to get VIP treatment…

    AppExchange, Sales Cloud, Salesforce APIs, Salesforce Automation, Salesforce Cloud
    KeyNode Sep 3, 2019
    8,711  Views

    Popular Salesforce Videos

    Drive Adoption with In-App Guidance and our Prebuilt Salesforce Package!

    Drive Adoption with In-App Guidance and our Prebuilt Salesforce Package!

    Video in Salesforce Admin

    With In-App Guidance generally available in the Winter ‘20 release, there’s no better time to start taking advantage of the easiest way to add informative…

    salesforce, Salesforce Admin, Salesforce Video, Salesforce Features, In App Guidance
    Manpreet Apr 14, 2020
    3,082  Views
    Video in
    Forcetalks Jun 26, 2024
    549  Views
    How to Add Custom Fields on Custom Object in Salesforce?

    How to Add Custom Fields on Custom Object in Salesforce?

    Video in Salesforce Admin

    Watch this video to learn all about how to add custom fields on custom objects in Salesforce. If you have any doubts do let us…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Learning
    Prafull Feb 2, 2022
    2,406  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®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.