[{"data":1,"prerenderedAt":967},["ShallowReactive",2],{"article-20211203-laravel-mailer-log-eml":3},{"article":4,"surround":956},{"id":5,"title":6,"authorKey":7,"body":8,"codeLinks":924,"createdAt":928,"description":929,"excerpt":930,"extension":944,"image":945,"meta":946,"navigation":422,"path":947,"published":948,"readingTime":133,"revisedAt":949,"seo":950,"stem":951,"tags":952,"__hash__":955},"articles\u002Farticles\u002F20211203-laravel-mailer-log-eml.md","Log emails as *.eml in Laravel Mailer","philip",{"type":9,"value":10,"toc":919},"minimark",[11,37,61,66,75,81,88,207,213,241,248,286,289,296,306,378,398,405,645,653,813,874,877,903,906,915],[12,13,14,15,19,20,30,31,36],"p",{},"How to log full email messages into ",[16,17,18],"code",{},"*.eml"," files on filesystem in your Laravel project? We would like to log full message bodies for all messages, no matter if they are sent out directly using Laravel's ",[21,22,26,29],"a",{"href":23,"rel":24},"https:\u002F\u002Flaravel.com\u002Fdocs\u002F8.x\u002Fmail",[25],"nofollow",[16,27,28],{},"Mail"," facade"," or as ",[21,32,35],{"href":33,"rel":34},"https:\u002F\u002Flaravel.com\u002Fdocs\u002F8.x\u002Fnotifications#mail-notifications",[25],"Mail Notifications",". That can actually be implemented in a super easy way, but it was so hard to find any good documentation or tutorial about this.",[38,39,40],"blockquote",{},[12,41,42,43,48,49,54,55,60],{},"NOTE: ",[21,44,47],{"href":45,"rel":46},"https:\u002F\u002Fswiftmailer.symfony.com",[25],"Swift Mailer"," is no longer maintained since Nov 2021. In Laravel 9 LTS, which is going to be released on Jan 25th 2022, Swift Mailer is going to be swapped out with ",[21,50,53],{"href":51,"rel":52},"https:\u002F\u002Fsymfony.com\u002Fblog\u002Fthe-end-of-swiftmailer",[25],"Symfony Mailer",", see ",[21,56,59],{"href":57,"rel":58},"https:\u002F\u002Fgithub.com\u002Flaravel\u002Fframework\u002Fpull\u002F38481",[25],"PR #38481",". Below presented solution seems to be compatible with the new Mailer, though. I'll keep this post updated, if any changes are needed for Laravel 9.",[62,63,65],"h2",{"id":64},"simple-log-channel-implementation-dont","Simple log channel implementation (DON'T)",[12,67,68,69,74],{},"In this ",[21,70,73],{"href":71,"rel":72},"https:\u002F\u002Fstackoverflow.com\u002Fa\u002F64463470\u002F5982842",[25],"Stackoverflow post",", I have presented a simple way of logging email messages.",[12,76,77,78],{},"Create logdir ",[16,79,80],{},"logs\u002Femails",[12,82,83,84,87],{},"Add an extra channel configuration to ",[16,85,86],{},"config\u002Flogging.php",":",[89,90,95],"pre",{"className":91,"code":92,"language":93,"meta":94,"style":94},"language-php shiki shiki-themes github-light-default github-light-default github-dark-default","    'channels' => [\n        \u002F\u002F ...\n        'emails' => [\n            'driver' => 'single',\n            'path' => storage_path('logs\u002Femails\u002F' . \\Illuminate\\Support\\Str::uuid() . '.eml'),\n            'level' => 'debug',\n        ],\n","php","",[16,96,97,114,121,131,145,188,201],{"__ignoreMap":94},[98,99,102,106,110],"span",{"class":100,"line":101},"line",1,[98,103,105],{"class":104},"s-BGO","    'channels'",[98,107,109],{"class":108},"s5nWI"," =>",[98,111,113],{"class":112},"s_bOF"," [\n",[98,115,117],{"class":100,"line":116},2,[98,118,120],{"class":119},"s9BHP","        \u002F\u002F ...\n",[98,122,124,127,129],{"class":100,"line":123},3,[98,125,126],{"class":104},"        'emails'",[98,128,109],{"class":108},[98,130,113],{"class":112},[98,132,134,137,139,142],{"class":100,"line":133},4,[98,135,136],{"class":104},"            'driver'",[98,138,109],{"class":108},[98,140,141],{"class":104}," 'single'",[98,143,144],{"class":112},",\n",[98,146,148,151,153,157,160,163,166,170,173,176,179,182,185],{"class":100,"line":147},5,[98,149,150],{"class":104},"            'path'",[98,152,109],{"class":108},[98,154,156],{"class":155},"sd69k"," storage_path",[98,158,159],{"class":112},"(",[98,161,162],{"class":104},"'logs\u002Femails\u002F'",[98,164,165],{"class":108}," .",[98,167,169],{"class":168},"sDkKp"," \\Illuminate\\Support\\Str",[98,171,172],{"class":108},"::",[98,174,175],{"class":155},"uuid",[98,177,178],{"class":112},"() ",[98,180,181],{"class":108},".",[98,183,184],{"class":104}," '.eml'",[98,186,187],{"class":112},"),\n",[98,189,191,194,196,199],{"class":100,"line":190},6,[98,192,193],{"class":104},"            'level'",[98,195,109],{"class":108},[98,197,198],{"class":104}," 'debug'",[98,200,144],{"class":112},[98,202,204],{"class":100,"line":203},7,[98,205,206],{"class":112},"        ],\n",[12,208,209,210,87],{},"And then simply use the following in your ",[16,211,212],{},".env",[89,214,218],{"className":215,"code":216,"language":217,"meta":94,"style":94},"language-bash shiki shiki-themes github-light-default github-light-default github-dark-default","MAIL_MAILER=log\nMAIL_LOG_CHANNEL=emails\n","bash",[16,219,220,231],{"__ignoreMap":94},[98,221,222,225,228],{"class":100,"line":101},[98,223,224],{"class":112},"MAIL_MAILER",[98,226,227],{"class":108},"=",[98,229,230],{"class":104},"log\n",[98,232,233,236,238],{"class":100,"line":116},[98,234,235],{"class":112},"MAIL_LOG_CHANNEL",[98,237,227],{"class":108},[98,239,240],{"class":104},"emails\n",[12,242,243,244,247],{},"That way, you get wonderful ",[16,245,246],{},"logs\u002Femails\u002F\u003CUUID>.eml"," files. But this solution has several drawbacks:",[249,250,251,262,269,280],"ul",{},[252,253,254,255,258,259],"li",{},"There is no easy way of sending out emails both through ",[16,256,257],{},"MAIL_MAILER=log"," and some other mailer, e.g. the standard ",[16,260,261],{},"MAIL_MAILER=smtp",[252,263,264,265,268],{},"Writing more than one message to the ",[16,266,267],{},"email"," log channel during the same run would not trigger an updated UUID, so the second message would get appended to the same logfile. This happens e.g. if you trigger a notification in Tinker.",[252,270,271,272,275,276,279],{},"The first line (before ",[16,273,274],{},"Message-ID: ...",") of the email header is prefixed with log formatting prefix ",[16,277,278],{},"[_TIMESTAMP_] local.DEBUG: ",". As a non-standard email header is ignored by all\u002Fmost email clients, this should be no issue in development. But definitely not cool!",[252,281,282,283,285],{},"The ",[16,284,18],{}," message body is scrambled, somehow. The MIME multipart content type boundary gets lost, so the email client has no idea where the HTML part of the message body starts and which part to treat as plaintext.",[12,287,288],{},"So, this solution is rejected! We need some slightly more sophisticated logging!",[62,290,292,295],{"id":291},"logsentmessage-event-listener",[16,293,294],{},"LogSentMessage"," event listener",[12,297,298,299,302,303,87],{},"Let's forget about the ",[16,300,301],{},"emails"," log channel from above solution and create the following disk configuration instead, ",[16,304,305],{},"config\u002Ffilesystems.php",[89,307,309],{"className":91,"code":308,"language":93,"meta":94,"style":94},"return [\n    \u002F\u002F ...\n    'disks' => [\n        \u002F\u002F ...\n        'emails' => [\n            'driver'     => 'local',\n            'root'       => storage_path('logs\u002Femails'),\n        ],\n",[16,310,311,318,323,332,336,344,356,373],{"__ignoreMap":94},[98,312,313,316],{"class":100,"line":101},[98,314,315],{"class":108},"return",[98,317,113],{"class":112},[98,319,320],{"class":100,"line":116},[98,321,322],{"class":119},"    \u002F\u002F ...\n",[98,324,325,328,330],{"class":100,"line":123},[98,326,327],{"class":104},"    'disks'",[98,329,109],{"class":108},[98,331,113],{"class":112},[98,333,334],{"class":100,"line":133},[98,335,120],{"class":119},[98,337,338,340,342],{"class":100,"line":147},[98,339,126],{"class":104},[98,341,109],{"class":108},[98,343,113],{"class":112},[98,345,346,348,351,354],{"class":100,"line":190},[98,347,136],{"class":104},[98,349,350],{"class":108},"     =>",[98,352,353],{"class":104}," 'local'",[98,355,144],{"class":112},[98,357,358,361,364,366,368,371],{"class":100,"line":203},[98,359,360],{"class":104},"            'root'",[98,362,363],{"class":108},"       =>",[98,365,156],{"class":155},[98,367,159],{"class":112},[98,369,370],{"class":104},"'logs\u002Femails'",[98,372,187],{"class":112},[98,374,376],{"class":100,"line":375},8,[98,377,206],{"class":112},[12,379,380,381,383,384,386,387,389,390,181],{},"Instead of changing the Mailer in ",[16,382,212],{}," (keep whatever ",[16,385,224],{}," you are used to!), we build our ",[16,388,294],{}," event listener and use Laravel's ",[21,391,394,397],{"href":392,"rel":393},"https:\u002F\u002Flaravel.com\u002Fdocs\u002F8.x\u002Fmail#events",[25],[16,395,396],{},"MessageSent"," event",[12,399,400,401,404],{},"Create ",[16,402,403],{},"app\u002FListeners\u002FLogSentMessage.php",", which is going to write the full message:",[89,406,408],{"className":91,"code":407,"language":93,"meta":94,"style":94},"\u003C?php\n\nnamespace App\\Listeners;\n\nuse Illuminate\\Mail\\Events\\MessageSent;\nuse Illuminate\\Support\\Facades\\Storage;\nuse Illuminate\\Support\\Str;\n\nclass LogSentMessage\n{\n    public function handle(MessageSent $event)\n    {\n        $messageId = $event->data['__laravel_notification_id'] ?? Str::uuid();\n        Storage::disk('emails')->put(\n            sprintf('%s_%s.eml', now()->format('YmdHis'), $messageId),\n            $event->message->toString()\n        );\n    }\n}\n",[16,409,410,418,424,436,440,450,459,468,472,481,487,506,512,548,575,608,627,633,639],{"__ignoreMap":94},[98,411,412,415],{"class":100,"line":101},[98,413,414],{"class":108},"\u003C?",[98,416,417],{"class":168},"php\n",[98,419,420],{"class":100,"line":116},[98,421,423],{"emptyLinePlaceholder":422},true,"\n",[98,425,426,429,433],{"class":100,"line":123},[98,427,428],{"class":108},"namespace",[98,430,432],{"class":431},"sQJ0q"," App\\Listeners",[98,434,435],{"class":112},";\n",[98,437,438],{"class":100,"line":133},[98,439,423],{"emptyLinePlaceholder":422},[98,441,442,445,448],{"class":100,"line":147},[98,443,444],{"class":108},"use",[98,446,447],{"class":168}," Illuminate\\Mail\\Events\\MessageSent",[98,449,435],{"class":112},[98,451,452,454,457],{"class":100,"line":190},[98,453,444],{"class":108},[98,455,456],{"class":168}," Illuminate\\Support\\Facades\\Storage",[98,458,435],{"class":112},[98,460,461,463,466],{"class":100,"line":203},[98,462,444],{"class":108},[98,464,465],{"class":168}," Illuminate\\Support\\Str",[98,467,435],{"class":112},[98,469,470],{"class":100,"line":375},[98,471,423],{"emptyLinePlaceholder":422},[98,473,475,478],{"class":100,"line":474},9,[98,476,477],{"class":108},"class",[98,479,480],{"class":431}," LogSentMessage\n",[98,482,484],{"class":100,"line":483},10,[98,485,486],{"class":112},"{\n",[98,488,490,493,496,499,501,503],{"class":100,"line":489},11,[98,491,492],{"class":108},"    public",[98,494,495],{"class":108}," function",[98,497,498],{"class":155}," handle",[98,500,159],{"class":112},[98,502,396],{"class":168},[98,504,505],{"class":112}," $event)\n",[98,507,509],{"class":100,"line":508},12,[98,510,511],{"class":112},"    {\n",[98,513,515,518,520,523,526,529,532,535,538,541,543,545],{"class":100,"line":514},13,[98,516,517],{"class":112},"        $messageId ",[98,519,227],{"class":108},[98,521,522],{"class":112}," $event",[98,524,525],{"class":108},"->",[98,527,528],{"class":112},"data[",[98,530,531],{"class":104},"'__laravel_notification_id'",[98,533,534],{"class":112},"] ",[98,536,537],{"class":108},"??",[98,539,540],{"class":168}," Str",[98,542,172],{"class":108},[98,544,175],{"class":155},[98,546,547],{"class":112},"();\n",[98,549,551,554,556,559,561,564,567,569,572],{"class":100,"line":550},14,[98,552,553],{"class":168},"        Storage",[98,555,172],{"class":108},[98,557,558],{"class":155},"disk",[98,560,159],{"class":112},[98,562,563],{"class":104},"'emails'",[98,565,566],{"class":112},")",[98,568,525],{"class":108},[98,570,571],{"class":155},"put",[98,573,574],{"class":112},"(\n",[98,576,578,581,583,586,589,592,595,597,600,602,605],{"class":100,"line":577},15,[98,579,580],{"class":168},"            sprintf",[98,582,159],{"class":112},[98,584,585],{"class":104},"'%s_%s.eml'",[98,587,588],{"class":112},", ",[98,590,591],{"class":155},"now",[98,593,594],{"class":112},"()",[98,596,525],{"class":108},[98,598,599],{"class":155},"format",[98,601,159],{"class":112},[98,603,604],{"class":104},"'YmdHis'",[98,606,607],{"class":112},"), $messageId),\n",[98,609,611,614,616,619,621,624],{"class":100,"line":610},16,[98,612,613],{"class":112},"            $event",[98,615,525],{"class":108},[98,617,618],{"class":112},"message",[98,620,525],{"class":108},[98,622,623],{"class":155},"toString",[98,625,626],{"class":112},"()\n",[98,628,630],{"class":100,"line":629},17,[98,631,632],{"class":112},"        );\n",[98,634,636],{"class":100,"line":635},18,[98,637,638],{"class":112},"    }\n",[98,640,642],{"class":100,"line":641},19,[98,643,644],{"class":112},"}\n",[12,646,282,647,649,650],{},[16,648,294],{}," event listener can now be hooked into  ",[16,651,652],{},"app\u002FProviders\u002FEventServiceProvider.php",[89,654,656],{"className":91,"code":655,"language":93,"meta":94,"style":94},"\u003C?php\n\nnamespace App\\Providers;\n\nuse App\\Listeners\\LogSentMessage;\nuse Illuminate\\Foundation\\Support\\Providers\\EventServiceProvider as ServiceProvider;\nuse Illuminate\\Mail\\Events\\MessageSent;\n\nclass EventServiceProvider extends ServiceProvider\n{\n    \u002F**\n     * The event listener mappings for the application.\n     *\n     * @var array\n     *\u002F\n    protected $listen = [\n        MessageSent::class => [\n            LogSentMessage::class,\n        ],\n    ];\n}\n\n",[16,657,658,664,668,677,681,690,705,713,717,730,734,739,744,749,760,765,777,789,798,802,808],{"__ignoreMap":94},[98,659,660,662],{"class":100,"line":101},[98,661,414],{"class":108},[98,663,417],{"class":168},[98,665,666],{"class":100,"line":116},[98,667,423],{"emptyLinePlaceholder":422},[98,669,670,672,675],{"class":100,"line":123},[98,671,428],{"class":108},[98,673,674],{"class":431}," App\\Providers",[98,676,435],{"class":112},[98,678,679],{"class":100,"line":133},[98,680,423],{"emptyLinePlaceholder":422},[98,682,683,685,688],{"class":100,"line":147},[98,684,444],{"class":108},[98,686,687],{"class":168}," App\\Listeners\\LogSentMessage",[98,689,435],{"class":112},[98,691,692,694,697,700,703],{"class":100,"line":190},[98,693,444],{"class":108},[98,695,696],{"class":168}," Illuminate\\Foundation\\Support\\Providers\\EventServiceProvider",[98,698,699],{"class":108}," as",[98,701,702],{"class":168}," ServiceProvider",[98,704,435],{"class":112},[98,706,707,709,711],{"class":100,"line":203},[98,708,444],{"class":108},[98,710,447],{"class":168},[98,712,435],{"class":112},[98,714,715],{"class":100,"line":375},[98,716,423],{"emptyLinePlaceholder":422},[98,718,719,721,724,727],{"class":100,"line":474},[98,720,477],{"class":108},[98,722,723],{"class":431}," EventServiceProvider",[98,725,726],{"class":108}," extends",[98,728,729],{"class":168}," ServiceProvider\n",[98,731,732],{"class":100,"line":483},[98,733,486],{"class":112},[98,735,736],{"class":100,"line":489},[98,737,738],{"class":119},"    \u002F**\n",[98,740,741],{"class":100,"line":508},[98,742,743],{"class":119},"     * The event listener mappings for the application.\n",[98,745,746],{"class":100,"line":514},[98,747,748],{"class":119},"     *\n",[98,750,751,754,757],{"class":100,"line":550},[98,752,753],{"class":119},"     * ",[98,755,756],{"class":108},"@var",[98,758,759],{"class":108}," array\n",[98,761,762],{"class":100,"line":577},[98,763,764],{"class":119},"     *\u002F\n",[98,766,767,770,773,775],{"class":100,"line":610},[98,768,769],{"class":108},"    protected",[98,771,772],{"class":112}," $listen ",[98,774,227],{"class":108},[98,776,113],{"class":112},[98,778,779,782,785,787],{"class":100,"line":629},[98,780,781],{"class":168},"        MessageSent",[98,783,784],{"class":108},"::class",[98,786,109],{"class":108},[98,788,113],{"class":112},[98,790,791,794,796],{"class":100,"line":635},[98,792,793],{"class":168},"            LogSentMessage",[98,795,784],{"class":108},[98,797,144],{"class":112},[98,799,800],{"class":100,"line":641},[98,801,206],{"class":112},[98,803,805],{"class":100,"line":804},20,[98,806,807],{"class":112},"    ];\n",[98,809,811],{"class":100,"line":810},21,[98,812,644],{"class":112},[38,814,815,821,852,855],{},[12,816,817,818,87],{},"To generate the listener class, you could simply add these lines to ",[16,819,820],{},"EventServiceProvider.php",[89,822,826],{"className":823,"code":824,"language":825,"meta":94,"style":94},"language-diff shiki shiki-themes github-light-default github-light-default github-dark-default","    protected $listen = [\n+        MessageSent::class => [\n+            'App\\Listeners\\LogSentMessage',\n+        ],\n    ];\n","diff",[16,827,828,833,838,843,848],{"__ignoreMap":94},[98,829,830],{"class":100,"line":101},[98,831,832],{},"    protected $listen = [\n",[98,834,835],{"class":100,"line":116},[98,836,837],{},"+        MessageSent::class => [\n",[98,839,840],{"class":100,"line":123},[98,841,842],{},"+            'App\\Listeners\\LogSentMessage',\n",[98,844,845],{"class":100,"line":133},[98,846,847],{},"+        ],\n",[98,849,850],{"class":100,"line":147},[98,851,807],{},[12,853,854],{},"... and then fire:",[89,856,858],{"className":215,"code":857,"language":217,"meta":94,"style":94},"$ php artisan event:generate\n",[16,859,860],{"__ignoreMap":94},[98,861,862,865,868,871],{"class":100,"line":101},[98,863,864],{"class":431},"$",[98,866,867],{"class":104}," php",[98,869,870],{"class":104}," artisan",[98,872,873],{"class":104}," event:generate\n",[12,875,876],{},"This works great! Email notifications\u002Fmessages are now getting sent out normally and at the same time a copy of the full message is stored here:",[89,878,880],{"className":215,"code":879,"language":217,"meta":94,"style":94},"storage\u002Flogs\u002Femails\n├── 20211203131816_385ce6e8-437c-427e-828c-7464a4a48ca2.eml\n└── 20211203132656_757c62b6-b6fa-45d0-99e3-6caf5be6a9f3.eml\n",[16,881,882,887,895],{"__ignoreMap":94},[98,883,884],{"class":100,"line":101},[98,885,886],{"class":431},"storage\u002Flogs\u002Femails\n",[98,888,889,892],{"class":100,"line":116},[98,890,891],{"class":431},"├──",[98,893,894],{"class":104}," 20211203131816_385ce6e8-437c-427e-828c-7464a4a48ca2.eml\n",[98,896,897,900],{"class":100,"line":123},[98,898,899],{"class":431},"└──",[98,901,902],{"class":104}," 20211203132656_757c62b6-b6fa-45d0-99e3-6caf5be6a9f3.eml\n",[12,904,905],{},"You can open or even import them with any mail client and they are just 100% valid emails, including all headers (also Bcc). Just make sure this storage path is never publicly exposed.",[12,907,908,909,914],{},"Thanks ",[21,910,913],{"href":911,"rel":912},"https:\u002F\u002Fstackoverflow.com\u002Fa\u002F60147190\u002F5982842",[25],"@davewood"," for this simple trick.",[916,917,918],"style",{},"html pre.shiki code .s_bOF, html code.shiki .s_bOF{--shiki-light:#1F2328;--shiki-default:#1F2328;--shiki-dark:#E6EDF3}html pre.shiki code .s5nWI, html code.shiki .s5nWI{--shiki-light:#CF222E;--shiki-default:#CF222E;--shiki-dark:#FF7B72}html pre.shiki code .s-BGO, html code.shiki .s-BGO{--shiki-light:#0A3069;--shiki-default:#0A3069;--shiki-dark:#A5D6FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sQJ0q, html code.shiki .sQJ0q{--shiki-light:#953800;--shiki-default:#953800;--shiki-dark:#FFA657}html pre.shiki code .s9BHP, html code.shiki .s9BHP{--shiki-light:#6E7781;--shiki-default:#6E7781;--shiki-dark:#8B949E}html pre.shiki code .sd69k, html code.shiki .sd69k{--shiki-light:#8250DF;--shiki-default:#8250DF;--shiki-dark:#D2A8FF}html pre.shiki code .sDkKp, html code.shiki .sDkKp{--shiki-light:#0550AE;--shiki-default:#0550AE;--shiki-dark:#79C0FF}",{"title":94,"searchDepth":116,"depth":123,"links":920},[921,922],{"id":64,"depth":116,"text":65},{"id":291,"depth":116,"text":923},"LogSentMessage event listener",[925],{"link":926,"desc":927},"https:\u002F\u002Fgist.github.com\u002Fonlime\u002F79ec3693281066c5fa997e34bf05f00a","Gist","2021-12-03","Log complete email messages that are sent out by Laravel's Mailer.",{"type":9,"value":931},[932],[12,933,14,934,19,936,30,941,36],{},[16,935,18],{},[21,937,939,29],{"href":23,"rel":938},[25],[16,940,28],{},[21,942,35],{"href":33,"rel":943},[25],"md","\u002Fimages\u002Fcovers\u002Flaravel-mailer.jpg",{},"\u002Farticles\u002F20211203-laravel-mailer-log-eml",false,null,{"title":6,"description":929},"articles\u002F20211203-laravel-mailer-log-eml",[953,93,954,267],"laravel","backend","qCaRFkz-a2c-yk-v0mramx6byzAJvaxMUZRgZEWMOeA",[957,962],{"title":958,"path":959,"stem":960,"createdAt":961,"children":-1},"Fail2ban jail to mitigate DoS attacks against Apache","\u002Farticles\u002F20210915-fail2ban-apache-dos","articles\u002F20210915-fail2ban-apache-dos","2021-09-15",{"title":963,"path":964,"stem":965,"createdAt":966,"children":-1},"Configure ESLint and Prettier for Vue.js 3 in VS Code","\u002Farticles\u002F20220103-eslint-prettier-vue3","articles\u002F20220103-eslint-prettier-vue3","2022-01-03 17:30",1794961390516]