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

    Zendesk to Salesforce

    Zendesk and Salesforce Connector - Hassle-free Data Migration from Zendesk to Salesforce

    Blog in Salesforce Data integration

    From small businesses to large organizations, data migration is a challenge. Also, keeping the data secure during different phases of the migration process has been…

    Case in Salesforce, Contact in Salesforce, Custom Data Fields, Customers, Data in Salesforce
    Sukhwinder Singh Aug 17, 2022
    2,439  Views

    Salesforce Security Interview Questions

    Blog in Salesforce Security

    These questions cover a range of topics related to data security in Salesforce and should help you prepare for various aspects of Salesforce security management. …

    Apex Sharing Rules, Audit Trails, connected app, Criteria-Based Sharing Rules, Cross-object Formula Fields
    SF Nov 1, 2023
    3,631  Views
    How to leverage NetSuite and Salesforce's Analytics Capabilities hand in hand?

    How to leverage NetSuite and Salesforce's Analytics Capabilities hand in hand?

    Blog in Analytics

    NetSuite and Salesforce are today's most popular cloud-based business management software solutions. While each platform has its strengths and unique features, many businesses use both…

    Business Performance, CRM, CRM Solutions, Custom Integration, Customer Relationship Management
    Charulatha Mar 27, 2023
    1,468  Views

    Popular Salesforce Videos

    How To Filter Salesforce Reports via URL Parameters - Learn Salesforce Series By Algoworks

    How To Filter Salesforce Reports via URL Parameters - Learn Salesforce Series By Algoworks

    Video in Salesforce Stories

    How To Filter Salesforce Reports via URL Parameters In this video, the following points will be covered - 1. Introduction Get a brief introduction to…

    Salesforce Training, Salesforce Reports, Salesforce Video, Salesforce Learning, Salesforce Series
    Algoworks Sep 16, 2020
    1,850  Views
    How Cross Channel Marketing Can Drive More Engagement ? | Salesforce Marketing Cloud

    How Cross Channel Marketing Can Drive More Engagement ? | Salesforce Marketing Cloud

    Video in Marketing, Salesforce Training

    Cross-channel marketing is a customer-focused digital marketing technique used by marketers globally to provide an integrated experience across all paid, owned, earned media, and digital…

    Salesforce Training, Salesforce Tutorial, Salesforce Marketing Cloud, Salesforce Webinar, Salesforce Video
    Cyntexa Jan 11, 2023
    1,368  Views
    Driving Gamified Interactions on Salesforce Communities With ScoreNotch | Use-Cases

    Driving Gamified Interactions on Salesforce Communities With ScoreNotch | Use-Cases

    Video in Lightning, Salesforce Training

    A Salesforce-native, Lightning-ready solution, ScoreNotch enables you to dynamically gamify Salesforce communities. Watch this video to learn more about its use-cases. For more, please visit…

    Salesforce Training, salesforce, Salesforce Video, Salesforce Learning, Salesforce Communities
    Sushmita Mehta Mar 29, 2022
    1,901  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.