Samples for ExeOutput for PHP

Send Mail With PHP Sample

This sample is a simple demo about creating console apps to send emails thanks to the PHPMailer class and ExeOutput for PHP.

 ‌ ExeOutput for PHP can produce stand-alone console apps that do not require any PHP distribution. We converted a PHP script that uses PHPMailer to a single app EXE file:

Download the sample

Download the Send Mail sample

👉 Click the following button to download the Send Mail sample. Alternatively, you can run the Web Update utility of ExeOutput for PHP to download the sample.

File Size: 182 kb.

How to Use the Sample

Unpack the 7z archive to the folder of your choice. The sample comes with full source code (PHP code and ExeOutput for PHP project file).

  Make necessary modifications to the sendmail.php code file to configure the SMTP server that will be used and what email message you want to send.

Open the sendmail.exop project file with ExeOutput for PHP and compile it yourself.

About PHPMailer: https://github.com/PHPMailer/PHPMailer, License: LGPL

Start Converting Your PHP Websites into Desktop Apps Today!

Turn your PHP projects into incredible products and boost your sales. Try ExeOutput now and join hundreds of satisfied developers.

Stay Informed About Future Versions

 Follow Us on X

 Visit Our News Blog

 Subscribe to Our Newsletter