All your suggestions, requests and ideas for future development
Hire
Posts: 7 Joined: 21 Oct 2012, 16:29
Post
by Hire » 24 Aug 2013, 20:04
Hi,
I don't know if this is the right section but in that case move this topic
However, I have a problem with --def mailto ( --def gmail works instead ). I want filebot send an email to a local email ( ie xbmc@localhost ) but doesn't work. I cannot say how because any traceout about that. How can I get any log about that? How can I resolve this?
Thank you
rednoah
The Source
Posts: 24015 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 25 Aug 2013, 02:44
Can't work because the mail gets sent via GMail SMTP. Now GMail mail server will of course immediately scrap any mails sent to @localhost.
You'd have to modify the script to send mails to localhost.
Hire
Posts: 7 Joined: 21 Oct 2012, 16:29
Post
by Hire » 25 Aug 2013, 10:40
And how? I don't know
Thank you
rednoah
The Source
Posts: 24015 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 31 Aug 2013, 07:05
Learn a bit of Groovy. Save the script as local file and then make your edits. Then call filebot -script /path/to/script.groovy
Read this:
http://prolificworks.blogspot.tw/2012/0 ... ilder.html
Though I already predefine helpers for this:
http://filebot.net/scripts/lib/ant.groovy
e.g.
Code: Select all
sendmail(mailhost:'smtp.gmail.com', mailport:'587', ssl:'no', enableStartTLS:'yes', user:'[email protected] ', password:'correcthorsebatterystaple', from:'[email protected] ', to:'[email protected] ', subject:'Hello Ant World', message:'Dear Ant, ...')