mickythekiller Posted January 24, 2016 Report Share Posted January 24, 2016 Hi, is it possible to send a email with updated version please thanks Link to comment Share on other sites More sharing options...
shawn Posted January 26, 2016 Report Share Posted January 26, 2016 Are you wanting to receive notification when an update to Ketarin is released, or use Ketarin to notify an email address when it detects a software update? Link to comment Share on other sites More sharing options...
Guest mickythekiller Posted March 2, 2016 Report Share Posted March 2, 2016 when it detects a software update please Link to comment Share on other sites More sharing options...
shawn Posted March 8, 2016 Report Share Posted March 8, 2016 Download SwithMail and put it in your path: http://www.tbare.com/software/swithmail/ File, Settings, Commands, "Before updating an application". Set the Command type to "Batch script". Enter the following in the command box: swithmail.exe /s /from "sender@example.com" /pass "YourPassword" /server smtp.example.com /p 465 /ssl /toaddress "mickythekiller@example.com" /subject "Ketarin update {appname:replace:&:^&}" /body "{appname:replace:&:^&} {version:replace:&:^&}" If you want to send yourself a *list* of all the updates instead of send yourself a new message for each one, then generate a list first (with "echo {appname:replace:&:^&} {version:replace:&:^&}>>c:\path\file.ext") and use /bodytxt "c:\path\file.ext" to embed the contents of the file with the "after updating all applications" command. Link to comment Share on other sites More sharing options...
floele Posted March 8, 2016 Report Share Posted March 8, 2016 @shawn: Sending an e-mail would be a good example for https://wiki.ketarin.org/index.php/Commands btw. Would you like putting this into the wiki? At some point we should probably have a separate samples page. Link to comment Share on other sites More sharing options...
shawn Posted April 30, 2016 Report Share Posted April 30, 2016 Done. I also added torrent processing with aria2 and a few other minor text changes. Link to comment Share on other sites More sharing options...
Mike45 Posted June 15, 2016 Report Share Posted June 15, 2016 ok but mail only send with gui not in scheduled tasks (/silent argument) Link to comment Share on other sites More sharing options...
Anonymous Posted October 10, 2016 Report Share Posted October 10, 2016 It's also possible to do this without using a 3rd party app using the same method mentioned, but selecting C# script. Here's an example of what I do (modified to conform to shawn's example): System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage(); message.To.Add("mickythekiller@example.com"); message.Subject = app.Variables.ReplaceAllInString("Ketarin update {appname:replace:&:^&}"); message.Body = app.Variables.ReplaceAllInString("{appname:replace:&:^&} {version:replace:&:^&}"); message.From = new System.Net.Mail.MailAddress("sender@example.com"); System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient("smtp.example.com"); smtp.Send(message); Further details on how these .NET Framework classes work can be found here: https://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage https://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient Link to comment Share on other sites More sharing options...
shawn Posted October 11, 2016 Report Share Posted October 11, 2016 Thank you, @tsoutsas - I'll add this to the wiki. Link to comment Share on other sites More sharing options...
shawn Posted October 11, 2016 Report Share Posted October 11, 2016 Added: https://wiki.ketarin.org/index.php/Commands Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now