Forum

Share

Please consider registering
guest

Log In RegisterMembers
Or log in with

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
RUN File
April 14, 2009
1:10 am
Dj Daddylanz
Guest

Is this possible:

SendEmail.exe -s smtp.1and1.com -xu admin@xxx.com -xp password -u @AUTHOR@ -t @SUBJECT@ -f TEST@MAILER.COM -m "TEST1"

or

SendEmail.exe -s smtp.1and1.com:25 -xu admin@xxx.com -xp password -u @AUTHOR@ -t @SUBJECT@ -f TEST@MAILER.COM -m @MESSAGEBODY@

Trying to use line command mail client to process mail for flexible outside of client

getting errors

Error: uncaught exception:[Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIProcess.init]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: chrome://filtaquilla/content/filtaquilla.js :: anonymous :: line 337"  data: no]

Share
April 14, 2009
1:36 am
Admin
Forum Posts: 323
Member Since:
July 12, 2008
Offline

The first should be possible as far as I can tell. The error you are getting is complaining that the file cannot be found. I assume it is SendEMail.exe that is not found. Perhaps you need a fully qualified file path.

For the second, @MESSAGEBODY@ is not supported. I know that sucks, but the message body is not generally available at filter run time without a complex async operation. I hope to eventually try to make that work. There is also the secondary problem that the size of messages can be much larger than is normally permitted as part of a command line.

Share
April 14, 2009
1:37 am
Dj Daddylanz
Guest

Further more…

I can not RUN file  cmd.exe  or  xxx.bat…in order to execute a line command client…

Please help..

TB will crash I try teh top two method

Share
April 14, 2009
1:40 am
Dj Daddylanz
Guest

In that case..do you forsee as Save File function…

Then using and external client that message body envelop can be forwarded..

I tried the qualified path, it works..but can not pass parameters to SendEmail.exe with commas…

So I tried passing parameters into a batch file since is accept %1, %2  list

TB crashes

Share
April 14, 2009
1:46 am
Dj Daddylanz
Guest

If I runfile  sendemail.exe by itself..no errors…no dos windows pop…it is a line command client.

How to I pass parameters to it?

It parses dashed parametes…

Share
April 14, 2009
2:09 am
Admin
Forum Posts: 323
Member Since:
July 12, 2008
Offline

xxx.bat will not work, since the RUN command is running a process. xxx.bat is some kind of text file, not a process. The .exe files should run.

As to passing parameters, you need to understand that when you are entering a command line into the RUN filter action, you are not entering a line just like you would give on the command prompt. The commas in the RUN command are being processed by my software, not the cmd.exe program. The individual fields (which are command-delimited) are then passed into the generic Mozilla code to run a process, as an array of parameters.

I realize that is somewhat cryptic, but this command is really only intended to be used by advanced users (of which you are probably one). Just try using commas to separate parameters, even though the normal cmd.exe uses spaces for that purpose. Perhaps I should try switching to space delimited, but that will force me then to deal with quoted file names to handle the all-too-common spaces in file names, which is a bit more work.

I suggest that you test the RUN command with something simple like a text editor first.

Share
April 15, 2009
7:05 pm
djdaddylanz
Guest

The .bat file does work but limited.  I place a one line cmd.exe in the bat fille and trigger the RUN file, and the cmd window will pop.

I will try you suggestion with passing parameters.

Share
April 25, 2011
4:39 am
Alehanro
Guest

I try but the .bat file does work

Share
Forum Timezone: UTC -8

Most Users Ever Online: 18

Currently Online:
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

bobkatz: 8

BigMike: 8

t2m: 7

zabolyx: 7

taa: 6

onlyme: 6

Member Stats:

Guest Posters: 130

Members: 565

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 7

Topics: 231

Posts: 802

Moderators: rkent (323)

Administrators: rkent (323)