Some of you may already know how to do this but as something that I’ve only recently discovered I thought I’d share it with those of the community who may be interested.

In this tutorial I’ll be looking at how to receive an email notification each time a torrent finishes downloading. This relies on features and functions available in uTorrent. Other clients may also have these features but since I haven’t used them I can’t say.

Step 1:

Download the program sendEmail and extract it to your main drive (eg. C:\) or somewhere easy to get to.

Step 2:

For this process I will be using two separate email accounts, one to send the email (we’ll call that A), and the other to receive it (we’ll call that B). For email address A you need the following details. The SMTP address and port, your username, and your password. A simple Google search should provide the first two of those and you probably ought to know the latter two already.

Step 3:

Within uTorrent go to Options>Preferences>Advanced>Run Program
There is a field there headed: “Run this program when the download finishes”. Using some of the variables built into uTorrent, the account information from your email address, and the program sendEmail we’re now going to create a very simple command line to send our email.



Step 4:

The command line that we’re going to input will follow this template:

C:\sendEmail.exe -f emailA@domain.com -t emailB@domain.com -u “subject” -m “message” -s smtp.server.com:port -xu “username” -xp “password”

For those of you with some kind of coding experience that’s probably enough, but for the rest of us let me break it down a bit more:

The command line is comprised of several elements which we’ll look at one at a time

1) C:\sendEmail.exe : This is the location of the sendEmail executable. If you followed my earlier advice and extracted directly to the C Drive then you can keep this the same.

2) -f emailA@domain.com : This function (-f) specifies to the sendEmail program which email address you wish to send the email from. For this example my email address will be imaloser@aol.com. So in the command line I enter: -f imaloser@aol.com

3) –t emailB@domain.com : This function (-t) specifies which email address you wish to receive the notification that your download has completed. Let’s say that I want notifications coming to my mrloverman@gmail.com account. In the command line I would enter: -t mrloverman@gmail.com.

4) –u “subject” : This function (-u)indicates what you would like the subject line of the email to be. So if I wanted to receive emails entitled Download Completed then I would type –u Download Completed into the command line

5) –m “message” : This function (-m) indicates what you would like to see in the body of the email. For this part you might like to use the %N variable that is built directly into uTorrent. So for example we could have in the command line –m %N has finished downloading. Then, if the file we were downloading was “Body of Lies.720p.mkv” then the email message we would receive would be: Body of Lies.720p.mkv has finished downloading.

6) –s smtp.server.com:port: This function (-s) is for the outgoing email settings. If for example I were using an AOL email address I would enter: -s smtp.aol.com:587. You can usually find both the SMTP address and port with a simple Google search.

7) –xu “username”: This function (-xu) is for the email address A account username. Normally that is the email address upto the @ symbol. For example on my email account imaloser@aol.com the username would be imaloser. So in the command line I would type: -xu imaloser.

8) -xp “password”: This function (-xp) is for the email address A account password. With my example account imaloser@aol.com the password is lonely1 so in the command line I would enter: -xp lonely1

So those are the different fragments explained, and if we combine all of that together what we get would be a command line entry that looks like this:

C:\sendemail.exe –f imaloser@aol.com –t mrloverman@gmail.com –s Download Completed –m %N has finished downloading –xu imaloser –xp lonely1

Feel free to copy and paste the above example into uTorrent but don’t forget to change the details to those of your own email accounts (I really don’t want to know what you’ve been downloading)

Hopefully this guide has been of some use to you and is simple enough to follow. If there are any parts that you feel need simplifying just let me know and I’ll try my best to do so.

Enjoy!