This would work but would require you to have a GMail account.
js code:
function OnEvent_ContactSignin(strEmail) {
if (strEmail === 'mygirlfriend@hotmail.com')
SendMail(strEmail, 'Online');
}
function SendMail(strEmail, strStatus) {
var strFromEmail = 'joesmith@gmail.com';
var strPassword = 'Testing01!';
var oEmail = new ActiveXObject('CDO.Message');
oEmail.From = strFromEmail;
oEmail.To = 'johnsmith@hotmail.com';
oEmail.Subject = 'Contact status is now: '+strStatus;
oEmail.TextBody = strEmail+' status is now: '+strStatus;
var oEmailConfig = oEmail.Configuration;
with (oEmailConfig) {
Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = 'smtp.gmail.com';
Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465;
Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2;
Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1;
Fields("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = true;
Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = strFromEmail;
Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") = strPassword;
Fields.Update;
}
oEmail.Send;
}