How to attach multiple files in the Mail. Currently I use the below code but the Macro only attach single file into the sheet

Option Explicit Sub Send_Multiple_Email() Dim sh As Worksheet Set sh = ThisWorkbook.Sheets(“Sheet1”) Dim OA As Object Dim msg As Object Set OA = CreateObject(“Outlook.Application”) Dim i As Integer Dim last_row As Integer last_row = Application.WorksheetFunction.CountA(sh.Range(“A:A”)) For i = 2 To last_row Set msg = OA.createitem(0) msg.to = sh.Range(“A” & i).Value msg.cc = sh.Range(“B” & i).Value…

Details

UFW + fail2ban not working with `nginx` to block attack scripts

my server is currently attacked by some script kiddies. I have set up fail2ban which correctly bans the IP. 2020-01-07 05:51:45,639 fail2ban.actions [1656]: WARNING [nginx-botsearch] 123.207.92.128 already banned 2020-01-07 05:51:47,802 fail2ban.filter [1656]: INFO [nginx-botsearch] Found 123.207.92.128 – 2020-01-07 05:51:47 2020-01-07 05:51:48,026 fail2ban.filter [1656]: INFO [nginx-botsearch] Found 123.207.92.128 – 2020-01-07 05:51:48 2020-01-07 05:51:48,242 fail2ban.actions [1656]: WARNING…

Details

unable to download updates failed to refresh cache

I have Ubuntu 19.10 and I am getting this message: Unable to download updates – failed to refresh cache: w: ignoring file ‘wir’ in directory ‘/etc/apt/sources.list.d/’ as it has no filename extension. Any ideas? Thanks $ ls -1 /etc/apt/sources.list.d/ brave-browser-beta.list brave-browser-beta.list.save brave-browser-release.list brave-browser-release.list.save brave.list brave.list.save windscribe-repo.list windscribe-repo.list.save wir

Details