rejetto forum
May 25, 2012, 06:23:40 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: tip: get an email by your hfs  (Read 6606 times)
0 Members and 2 Guests are viewing this topic.
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« on: November 05, 2008, 06:09:02 AM »

WARNING: this requires version 2.3, won't work with 2.2

You can get emails by your HFS when, lets say, a file is uploaded.
Because HFS can run external programs with macro {.exec.}
You can read more about template macros on the documentation/wiki.

Just download a software like these, that will send an email in an automatic way (command line).

http://www.beyondlogic.org/solutions/cmdlinemail/cmdlinemail.htm
http://www.blat.net/

You can then run these programs by the template itself in section [upload-success]
or better you can use event scripts (to keep things separated) with section [upload completed]

Hope it helps
Logged
Fysack
Insane poster
*****
Offline Offline

Norway Norway

Posts: 378


present picture


View Profile WWW Email
« Reply #1 on: November 06, 2008, 04:06:08 PM »

I havent even click the links rejetto, man`o man! This is Star wars, this is 5`th element.
Do you realize all the things you can do with the mail today!!? (possibly yes  Grin) we talking cellphone my man..
*digging for lipshine* i love you rejetto  Kiss

Logged

it`s no greater pleasure, than someone is happy that you exist
Ken
Guest


Email
« Reply #2 on: November 30, 2008, 04:20:17 PM »

Does this feature work in the portable version of HFS?
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #3 on: December 01, 2008, 02:38:26 AM »

yes.

anyway: there's no "portable" version of hfs.
just tell hfs to save options on file, and now you are portable.
Logged
softbaked
Occasional poster
*
Offline Offline

United States United States

Posts: 3


View Profile
« Reply #4 on: December 01, 2008, 08:25:04 AM »

Thanks for the quick reply rejetto,

Quote
anyway: there's no "portable" version of hfs.

I'm guessing your not aware of the portable version of your great software? http://portableapps.com/node/11804
I have been using it on my usb stick for a couple weeks now from many different computers and it works great!

anyway: I was trying to get the "email trick" you were describing in this thread to work and I keep getting this error message when I try to run it from one of the templates

Quote
macro error: exec
not supported or wrong number of parameters

This is the line I have in the template.
Quote
{.exec|bmail.exe -s localhost -t myemail@address.com -f mycomputer@home.com -h -a Subject -b Body -d.}

I am using the command line email program you suggested, bmail, with a simple SMTP server (which works perfect if I run the command myself from the command line) and I have the file bmail.exe in the Data\Shared folder.

Am I using the .exec. macro correctly?
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #5 on: December 01, 2008, 09:51:05 AM »

I'm guessing your not aware of the portable version of your great software? http://portableapps.com/node/11804

nice to know.
it's not exactly a "version", it's just a pre-configuration, the program is the same.
this consideration won't affect its usefulness.

Quote
macro error: exec
not supported or wrong number of parameters

the version distributed by port.apps is rather old.
replace it with a newer one.
Logged
rejetto forum
« Reply #5 on: December 01, 2008, 09:51:05 AM »

Do you like this software? Consider even $2
 Logged
softbaked
Occasional poster
*
Offline Offline

United States United States

Posts: 3


View Profile
« Reply #6 on: December 02, 2008, 09:13:38 AM »

Thanks again for the quick reply.

 The 'pre-configuration' of HFS here http://portableapps.com/node/11804 is using version 2.3 beta Build #183 and I know your up to Build #216 now but one of the most important features to me for the 'pre-configuration' HFS package I'm using is it being portable. If I use Build #216 from your website and install it to my USB stick will it also be portable? It's important to me that no settings, files or registry settings are saved to the local computer, I need everything to be self contained on my USB stick.

 Thanks again for all your time and effort with this software.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #7 on: December 03, 2008, 04:26:33 AM »

as long as i know, asking (once) HFS to save options to file is the only thing needed to make it portable. (as i told you above)

I guess you can just replace the exe file. I cannot know if that's enough, the guy who made the package knows.
Logged
softbaked
Occasional poster
*
Offline Offline

United States United States

Posts: 3


View Profile
« Reply #8 on: December 03, 2008, 10:29:28 AM »

Thanks again for your prompt replies rejetto,

I'll make backups of what I have and do the update then I'll let you know the progress / status if you like.

I do have just one question though, can you tell me if I have properly formatted the following line for the {.exec.} macro

Quote
{.exec|bmail.exe -s localhost -t myemail@address.com -f mycomputer@home.com -h -a Subject -b Body -d.}
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #9 on: December 03, 2008, 01:19:19 PM »

i think you should put another | after bmail.exe

to be honest, i may have made it easier, to work without this pipe.
-_-
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #10 on: December 05, 2008, 10:36:24 AM »

i was wrong, your version will work too.
the | is not needed.
Logged
jlpelectronics
Occasional poster
*
Offline Offline

Panama Panama

Posts: 3


View Profile Email
« Reply #11 on: April 10, 2009, 02:22:46 PM »

Hi Rejjeto
To receive an email when a user receives a new file in his carpet I am using the save2ftp.exe together with HFS 2.3-232... save2ftp.exe is monitoring the user`s carpet for any changes, so save2ftp.exe can email as an advice to specific users... Also, save2ftp.exe can run any batch file. I have proof that both softwares (HFS & save2ftp.exe) make a excellent combination...
Congratulations for your HFS...
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #12 on: April 10, 2009, 03:53:51 PM »

thanks for sharing jlp.
Logged
mail2sc
Occasional poster
*
Offline Offline

India India

Posts: 2


View Profile
« Reply #13 on: January 29, 2012, 12:06:24 PM »

is it safe to use HFS to process emails? because nowadays email is the first victim of cyber attack and hfs is an open window to internet.

please help!
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #14 on: January 30, 2012, 11:40:23 AM »

if the content and destination of the emails are fixed or restricted, there's no problem
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 24, 2012, 05:33:59 PM