Topic RSS
1:10 am
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]
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.
1:40 am
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
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.
Most Users Ever Online: 18
Currently Online:
9 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Member Stats:
Guest Posters: 130
Members: 565
Moderators: 1
Admins: 1
Forum Stats:
Groups: 1
Forums: 7
Topics: 231
Posts: 802
Newest Members: Matteo, p.dobrogost, gaute, Mythobeast, terry, Livraria Notre Dame
Moderators: rkent (323)
Administrators: rkent (323)
Log In
Register
Members
Home
Add Reply
Add Topic
Quote
Offline

Recent Comments