Aifei Software Limited
  • PRODUCTS
    • EASendMail SMTP Component
    • EAGetMail POP3/IMAP4 Component
    • DKIM for Exchange Server and IIS SMTP Service
    • S/MIME and Disclaimer for Exchange Server and IIS SMTP Service
    • Sender Based Routing for Exchange Server
    • Opportunistic TLS Router for IIS SMTP Service
    • EA SMTP Server for Windows (beta)
    • EA Oauth Service for Office 365 and Gmail
    • EmailArchitect Email Server
    • All Products
  • DEVELOPER CENTER
  • DOWNLOADS
  • SUPPORT
    • Technical Support
    • Community Forums
  • PURCHASE
  • ABOUT US
    • Latest News
    • Company
    • Contact
  1. Home
  2. EASendMail SMTP Component
  3. KB
  4. Example Codes
  5. C++/CLI

Send Email in C++/CLI - Example Codes

The following example codes demonstrate how to send email using SMTP/SSL/EWS/Queue, it also demonstrate how to sign email, encrypt email and add embedded images to email.


C++/CLI

  • Send email using SMTP server - General
  • Send email over SSL on 465 port
  • Send email over TLS on 25 or 587 port
  • Send email using Gmail SMTP server
  • Send email using Yahoo SMTP server
  • Send email using Hotmail, Outlook.com, Office 365
  • Email Queue with EASendMail Service - General
  • Email Queue with EASendMail Service - Database
  • Send email using MX DNS lookup - smart host
  • Request delivery receipt and read receipt - email trace
  • Validate email address syntax and test email address
  • DomainKeys and DKIM signature
  • Send HTML email
  • Send email with attachment
  • Send HTML email with embedded images
  • Sign email - S/MIME
  • Encrypt email - S/MIME
  • Send EML file
  • Sign email (RSASSA-PSS + SHA256) and encrypt email (RSAES-OAEP + AES 128/196/256 + SHA256) based on EDIFACT rule - S/MIME
  • Send email using Google/Gmail OAuth 2.0 authentication
  • Send email using Gmail/G Suite OAuth 2.0 in background service (service account)
  • Send email using Microsoft OAuth 2.0 (Modern Authentication) from Hotmail/Outlook account
  • Send email using Microsoft OAuth 2.0 (Modern Authentication) + SMTP/EWS/Ms Graph API protocol from Office 365 account
  • Send email using Microsoft OAuth 2.0 (Modern Authentication) + EWS/Ms Graph API protocol from Office 365 in background service
Share
  • Facebook
  • Google+
  • Twitter
  • LinkedIn
See Also
  • C#
  • VB.NET
  • C++/CLI
  • VB 6.0
  • Delphi
  • Visual C++
  • All Languages
  • Download

.NET Tutorials

  • Send Email in C# - Tutorial
  • Send Email in VB.NET - Tutorial
  • Send Email in Managed C++ - Tutorial

ActiveX Tutorials

  • Send Email in VB 6.0 - Tutorial
  • Send Email in Visual C++ - Tutorial
  • Send Email in Delphi - Tutorial
  • Send Email in SQL Server - Tutorial

UWP Tutorials

  • Send Email in C# - Windows Store App
  • Send Email in VB - Windows Store App
  • Send Email in JavaScript - Windows Store App

SDK Document

  • EASendMail SMTP Component SDK

FREE EMAIL SUPPORT

Not enough? Please contact our support team by the following email address:

  • support@emailarchitect.net

COMMUNITY

Exchange user-skills, report bugs, provide solutions and promote in-depth and focused discussion

LATEST NEWS

  • EAGetMail POP3/IMAP4 Component 5.3.5.3 Apr 12, 2025
  • Opportunistic TLS for IIS SMTP 1.0.0.7 Mar 18, 2025
  • EASendMail SMTP Component 7.9.2.7 Mar 1, 2025
  • EAOauth Service 1.0.1.5 Dec 12, 2024
  • Sender Based Routing for Exchange Server 1.1.0.7 Sep 12, 2024
  • S/MIME and Disclaimer for Exchange Server and IIS SMTP 3.1.2.0 May 14, 2024
  • DKIM for Exchange Server and IIS SMTP Service 3.8.0.6 Apr 25, 2024
  • EmailArchitect Email Server 11.0.3.9 Mar 30, 2024
  • Learn more ...

KEEP IN TOUCH

© All Rights Reserved, AIFEI & AdminSystem Software Limited.About us