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, 3 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

    Relationship Queries in SOQL

    Relationship Queries in SOQL | Salesforce Tutorial Guide

    Blog in Salesforce

    Relationship field contains at least 2 Objects i.e a Child Object and a Parent Object. These queries are used to fetch Data either from the…

    Child Object, Child to Parent Relationship, consultant, Consultant Object, custom object
    Vinay Jun 9, 2022
    4,577  Views
    Salesforce-community-from-visualforce1

    Salesforce Lightning on Your Mind? Here’s Everything You Need to Know About Migration Process

    Blog in Lightning

    Sixty-nine percent of users say that it is easier to use their Salesforce instance today than it was 12 months ago. But not everyone is convinced. A…

    Lightning Experience, Salesforce Classic, Salesforce Classic to Lightning, Salesforce Lightning, Salesforce Lightning Component
    Ankur Gupta Oct 30, 2018
    3,267  Views

    A Guide on Salesforce Live Chat

    Blog in Salesforce Products

    Introduction CRM, or Customer Relationship Management, is known to be the largest and fastest-growing enterprise application software category, and worldwide spending on CRM is expected…

    Applications or Website, Benefits of Salesforce, Business and Customer, Businesses, Chat Performance Metrics
    Des Jul 26, 2021
    4,299  Views

    Popular Salesforce Videos

    Security in Salesforce | Security Levels in Salesforce | Salesforce Training

    Security in Salesforce | Security Levels in Salesforce | Salesforce Training

    Video in Salesforce Security

    This "???????? ?? ??????????" video by Edureka will help you understand the different levels of security in Salesforce. It will also talk about some of…

    Salesforce Training, Salesforce Tutorial, Salesforce Security, Salesforce Video, Salesforce Learning
    Abhishek Aug 12, 2021
    3,089  Views
    8 Steps to Become a Salesforce Developer!

    8 Steps to Become a Salesforce Developer!

    Video in Salesforce Training

    Do you aspire to become a Salesforce developer? Are you stuck on what next steps you need to take to become a developer? Check out…

    Salesforce Training, Salesforce Development, Salesforce Developer, salesforce, Salesforce Video
    Rupal Kakkar Apr 9, 2020
    1,680  Views
    Practice Test and Questions for Salesforce Platform App Builder Certification Exam

    Practice Test and Questions for Salesforce Platform App Builder Certification Exam

    Video in Salesforce Certifications

    In this video, Shrey provides a practice test for the candidates who are preparing for the Salesforce Platform App Builder Exam. This test boosts your…

    Salesforce Training, Salesforce Tutorial, Salesforce Certifications, salesforce, App Builder
    S2 Mar 23, 2022
    1,861  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.