
BodyText := 'this is a test email sent from Delphi project, do not reply' // Your SMTP server address oSmtp. Subject := 'simple email from Delphi project' // Set email body oSmtp. AddRecipientEx (, 0 ) // Set email subject oSmtp. FromAddr := // Add recipient email address oSmtp. LicenseCode := 'TryIt' // Set your sender email address oSmtp. Button1Click ( Sender : TObject ) var oSmtp : TMail begin oSmtp := TMail. Unit Unit1 interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, EASendMailObjLib_TLB // add EASendMail unit type TForm1 = class ( TForm ) Button1 : TButton procedure Button1Click ( Sender : TObject ) private procedure TForm1.
Delphi - Sample Projects for SMTP, SSL, TLS, Embedded Images, S/MIME, EWS, Email Queue. Send Email with Exchange WebDAV in Delphi. Manage Send As Permissions in Exchange 2007/2010/2013. Send Email with Exchange Web Service - EWS in Delphi. Send Mass Emails using Database Queue in Delphi. Send Email with Multiple Threads(Mass Mail) in Delphi. Encrypt Email in Delphi - S/MIME with RC2, 3DES and RSAES-OAEP. Send Email with Digital Signature in Delphi - S/MIME with SHA1, SHA256 and SHA512. Send Email with Embedded Images in Delphi. Send Email directly without SMTP server(MX DNS lookup) in Delphi. Send Email using Hotmail/Live/Outlook/Office 365 in Delphi.
SMTP Setting for Gmail, Yahoo, Hotmail and Office 365. Process Bounced Email (Non-Delivery Report). “No supported authentication marshal found!”.
“5xx Must issue a STARTTLS command first”. “5xx … IP address block or on black list or bad reputation” Exception. Using Telnet to detect networking connection to SMTP server. Common “Networking Connection” Exception. Email Address Syntax and Multiple Recipients. Where can I get my SMTP email server address, user and password?.