Git Product home page Git Product logo

mailer4delphi's Introduction

Mailer For Delphi

Mailing tool aimed for simplicity, for sending e-mails of any complexity in Delphi. This includes e-mails with plain text and/or html content, embedded images and separate attachments, SMTP, SMTPS / SSL and SMTP + SSL. The Mailer4Delphi provides a driver-independent framework to build mail and messaging applications.

The e-mail message structure is built to work with all e-mail clients and has been tested with many different webclients as well as some mainstream client applications such as MS Outlook or Mozilla Thunderbird.

Mailer Adapters Drivers

The Mailer4Delphi is available for the following drivers:

  • Indy
  • MAPI
  • Synapse
  • Outlook

You can use the driver that suits you best.

Using Mailer4Delphi

Using this API will is very simple, you simply add the Search Path of your IDE or your project the following directories:

  • Mailer4Delphi\src

Of course, you must add the path the units of the chosen driver.

Example of use:

uses
  Mailer4D, 
  Mailer4D.Driver.Indy;

var
  mailer: IMailer;
begin
  // Here you can create from any driver.
  mailer := TIndyMailer.Create;
  mailer.Host('smtp.example.com')
	.Port(587)
	.Username('[email protected]')
	.Password('password')
	.From('Test', '[email protected]')
	.ToRecipient('[email protected]')
	.CcRecipient('[email protected]')
	.BccRecipient('[email protected]')
	.Attachment('C:\File.txt')
	.Subject('Subject Test')
	.Message('Message Test')
	.Send;
end;

mailer4delphi's People

Contributors

ezequieljuliano avatar oneideluizschneider avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.