Send emails when torrent is done – Windows & uTorrent

Here’s a snippet of PHP code to help you send emails from Windows machine when a torrent has downloaded through uTorrent.I am using Outlook.com to send and receive email but you can easily use GMail or any other internet mail service. You will need PHPMailer class $argOpts = “n:e:”;$argVal = getopt($argOpts);$torrent_name = $argVal[‘n’];$to_email = $argVal[‘e’];require(“phpmailer/class.phpmailer.php”);$mail = new PHPMailer();$mail->Username = “Your outlook.com username”;$mail->Password = “Your outlook.com password”;$mail->Host = “smtp-mail.outlook.com”;$mail->Port = 587;$mail->IsSMTP();$mail->SMTPSecure=”tls”;$mail->SMTPAuth = true;$mail->setFrom(“From address”, “From name”);$mail->addReplyTo(“Reply …

Read moreSend emails when torrent is done – Windows & uTorrent

Don’t wait in line for Windows 10 upgrade

Here’s how to skip the line, if you have not figured it out already… Go to Windows 10 download page: https://www.microsoft.com/en-us/software-download/windows10 Download the right version of Media Creation tool (32bit or 64bit). Afterwards,  run the tool and select appropriate option from the two options: “Upgrade this PC now” or “Create installation media for another PC”. If you select “Create installation media for another PC”, then you will be presented with option to select Language, Edition …

Read moreDon’t wait in line for Windows 10 upgrade

Fix Sending emails from Webmin

If Webmin is unable to send emails, for example, from automated backups, then following fix may work for you. Before this ensure you have some kind of mail configured on your system. If not, here’s a guide to configure ssmtp Basically, you need to go to Webmin Configuration and check “Sending Email” configuration. For me, it was a matter of setting “From” address. Quite simple, but took me hours to figure out..