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

    How to Choose CRM for Your Organization

    Blog in Others

    Organizations always prefer a single platform that is able to support all the business needs ... Organizations always prefer a single platform that is able…

    Cloud Based CRM, CRM, CRM For Business, CRM Solutions, CRM Technology
    William Apr 9, 2019
    2,890  Views
    Salesforce Sales Cloud

    Salesforce Sales Cloud - All You Need To Know

    Blog in Sales, Salesforce Cloud Platform

    Sales Cloud by Salesforce is the perfect platform for organizing and streamlining your sales processes. From creating product logs to creating campaigns and managing contacts,…

    Artificial Intelligence, Basic Internet Browser, Better Strategies, Business, Business Deal
    SP Oct 5, 2020
    2,969  Views
    What are the Top 10 Useful Extensions In Salesforce in 2023?

    What are the Top 10 Useful Extensions In Salesforce in 2023?

    Blog in Salesforce

    The top 10 useful extensions for Salesforce in 2023 are:  Salesforce Inspector Productivity tools for Salesforce administrators and developers to inspect data and metadata directly…

    APEX Programming Language, Apex SOAP API, Apex Tests, Apex Trigger, Apex Triggers
    SF Jan 19, 2023
    2,299  Views

    Popular Salesforce Videos

    Salesforce Work.com Overview Demo Video

    Salesforce Work.com Overview Demo Video

    Video in Salesforce Products

    Salesforce Work.com provides you with essential solutions designed to help businesses reopen the workplace as quickly as possible, while keeping employees, customers, partners, and communities…

    Salesforce Demo, salesforce, Customers, Corona Virus, Covid19
    Prafull May 13, 2020
    2,197  Views
    Data Access for Apex, Visualforce, and Lightning

    Data Access for Apex, Visualforce, and Lightning

    Video in Salesforce Apex

    Apex is a development platform for building software as a service (SaaS) applications on top of Salesforce.com's customer relationship management (CRM) functionality. Apex allows developers…

    Salesforce Apex, Salesforce Visualforce, Salesforce Lightning, Salesforce Visualforce Page, Salesforce Data
    Nauman May 18, 2018
    2,131  Views
    Top 5 Marketing Tips to Reach Millennials | Salesforce Guide

    Top 5 Marketing Tips to Reach Millennials | Salesforce Guide

    Video in Salesforce Products, Marketing

    The word “millennials” has become a buzzword in recent years Millennials or members of Generation Y (also known as Gen Y) were born between 1982…

    salesforce, CRM, Salesforce Video, Salesforce Customer 360, Salesforce Marketing
    Kcloud Feb 19, 2021
    2,390  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.