topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday December 15, 2024, 9:36 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: email client and a special feature  (Read 7946 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
email client and a special feature
« on: May 04, 2015, 11:42 AM »
How to enter from the command line in a email client (outlook, thunderbird, .....) by a predefined inbox account predefined in the command line ?

Best Regards

 :-*

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: email client and a special feature
« Reply #1 on: May 04, 2015, 07:15 PM »
Owww. this is a difficult one. I am trying with other email clients like Alpine .
Or launch a dedicate portable version of a email client like Thunderbidr. And after chante the icon of the shortcut.  :-*

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Re: email client and a special feature
« Reply #2 on: May 05, 2015, 04:14 AM »
First you should make more clear what you want to achieve, as it's totally unclear to me :huh:

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,644
    • View Profile
    • Donate to Member

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: email client and a special feature
« Reply #4 on: May 05, 2015, 07:43 PM »
Contro, I think you need to understand that application commandline support is not some sort of standard thing.  That is, a program has to have commandline options written into its code -- you don't just magically pass parameters and have things work.  In other words, what you want might not be available in some email clients (if any at all).
« Last Edit: May 05, 2015, 09:16 PM by skwire »

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,644
    • View Profile
    • Donate to Member
Re: email client and a special feature
« Reply #5 on: May 05, 2015, 09:11 PM »
outlook.exe /select foldername
thunderbird.exe -mail mailbox://[email protected]/foldername
Alpine -f foldername

Aside from that:
First you should make more clear what you want to achieve, as it's totally unclear to me :huh:

What he said!

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,939
    • View Profile
    • Donate to Member
Re: email client and a special feature
« Reply #6 on: May 05, 2015, 09:41 PM »
To my (limited) knowledge it is possible to start Thunderbird with a batch script where you can specify which profile it should open. These profiles must exist, you cannot create these on the fly.

skwire is also right, applications need command-line support before you can use them in a batch script. Never, ever expect this support and even if your application has command-line support, don't expect too much usable options/parameters to be included. Besides, the use of batch is dwindling and there is some push towards PowerShell for the persons that make use of the command-line. With good reason, PowerShell is much more powerful and allows you to access applications in ways batch scripts cannot even dream of.

There is nice freeware (Idera) around that enables you to make scripts yourself. It comes with auto-complete, descriptions of all commands and their parameters + working example scripts, a debugger and access to community where you can download scripts as well.

Whatever time you dedicate to PowerShell with this software, it will be time well spent.  

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: email client and a special feature
« Reply #7 on: May 19, 2015, 10:01 AM »
http://kb.mozillazin...starting_Thunderbird

This is the point. Now is clear for me.
Sorry, sometimes i am not able to express better my needs.
Best Regards
 :-*

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: email client and a special feature
« Reply #8 on: May 19, 2015, 10:03 AM »
Contro, I think you need to understand that application commandline support is not some sort of standard thing.  That is, a program has to have commandline options written into its code -- you don't just magically pass parameters and have things work.  In other words, what you want might not be available in some email clients (if any at all).

Understood. Skwire. I agree. Even sometimes the programs have not command line parameters at all. Only the good ones or that merely needs for automation.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: email client and a special feature
« Reply #9 on: May 19, 2015, 10:03 AM »
outlook.exe /select foldername
thunderbird.exe -mail mailbox://[email protected]/foldername
Alpine -f foldername

Aside from that:
First you should make more clear what you want to achieve, as it's totally unclear to me :huh:

What he said!

My God !!!!!!!! This is wonderfullll !!!!!!!!!!!!!!!!!!!!!
 :tellme:

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: email client and a special feature
« Reply #10 on: May 19, 2015, 10:10 AM »
To my (limited) knowledge it is possible to start Thunderbird with a batch script where you can specify which profile it should open. These profiles must exist, you cannot create these on the fly.

skwire is also right, applications need command-line support before you can use them in a batch script. Never, ever expect this support and even if your application has command-line support, don't expect too much usable options/parameters to be included. Besides, the use of batch is dwindling and there is some push towards PowerShell for the persons that make use of the command-line. With good reason, PowerShell is much more powerful and allows you to access applications in ways batch scripts cannot even dream of.

There is nice freeware (Idera) around that enables you to make scripts yourself. It comes with auto-complete, descriptions of all commands and their parameters + working example scripts, a debugger and access to community where you can download scripts as well.

Whatever time you dedicate to PowerShell with this software, it will be time well spent. 

At the time passing by sometimes I catalog my behaviour as a beggar. Just because for programmers like you or the most part of donarioncoder.com understand that most of my questions are solved with codes that solves a beginner.
It's true. i recognize.

I have a strong list of easy scripting environments. I have tried many of them . I understand the first day and foget the second....
Even I try adopting one of them and study deeper. But usually when i try i can't or even that tool is not the appropiate for the task.

So I came here and obtain the answer. That is the truth .

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: email client and a special feature
« Reply #11 on: May 19, 2015, 10:33 AM »
I have downloaded Idera.

Why ?   :o :-\ :-*

Very simple. I am not obtaining answers in the forum to a series of questions. And is not a fault of the magnificency of the donarioncoder members...
It's simply that some questions requires personalyzed scripts that only matters my needs.

I am doing now that deeper prospection with iMacros.
Other times may be AutoHotkey. Just because DC is full of good programmers in that metalanguage.

 :tellme:

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: email client and a special feature
« Reply #12 on: May 19, 2015, 12:30 PM »
jajajajajajaja
About Microsoft Powershell
By the way :
My notes on my diary june 29, 2010 at 10:42 am
I am not interested in this language.
If I mess will be worst....

 ;D

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: email client and a special feature
« Reply #13 on: May 30, 2015, 07:16 PM »
 :-[

I have problems with the command line.

I am trying with a portable version of Thunderbird.

http://forums.mozill...p?f=39&t=2937893

Now I don't understand nothing ...
 :-[


Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: email client and a special feature
« Reply #14 on: May 30, 2015, 07:34 PM »
I find this :

http://www.markus-ba...bird/index.php#totop

But is for sending emails, not receiving
 :-*

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,644
    • View Profile
    • Donate to Member
Re: email client and a special feature
« Reply #15 on: May 30, 2015, 08:49 PM »
:-[

I have problems with the command line.

I am trying with a portable version of Thunderbird.

http://forums.mozill...p?f=39&t=2937893

Now I don't understand nothing ...
 :-[

Report it as a bug and use one of the add-ons suggested in the meantime.