Re: [nsbasic-ce] Re: Sending Mail

2009-07-18 Thread George Henne
tmail.exe is a Microsoft program. I can't find official documentation on it. 

Please send again the your link from microsoft.

Yesterday I make research about tmail, I tested this parameters, not worked.

I try send mail to CC and BCC not worked too.

http://www.cjcraft.com/blog/2008/10/02/
HowToOpenAMailInInboxUsingPocketOutlook.aspx


 How to open a mail in Inbox using Pocket Outlook

I need to open a new email message in Pocket Outlook today. Keep in mind
that's different from just programmatically sending an email from my
application.

Here's how to programmatically send an email from your application:

   1: Microsoft.WindowsMobile.PocketOutlook.EmailMessage email = new
EmailMessage();

   2: email.From = From;

   3: email.BodyText = BodyText;

   4: email.To = To;

   5: email.Subject = Subject;

   6: email.Send(AccountName);

 Here's how to programmatically create a new mail message in Pocket
Outlook and more:

[Source: Open a Specific Email Account in Pocket Outlook? - WM Experts]

* To open inbox for MyMail:
  o tmail.exe -service MyMail
* To additionally launch a new message with no recipient for sending:
  o tmail.exe -service MyMail -to 
* To have the new message pre-addressed:
  o tmail.exe -service MyMail -to nob...@nowhere.com
* To add a cc (copy to):
  o tmail.exe -service MyMail -to nob...@nowhere.com -cc
someb...@somewhere.com
* To add a bcc (blind copy):
  o tmail.exe -service MyMail -to nob...@nowhere.com -bcc
someb...@somewhere.com
* To have the new message pre-addressed to multiple addresses:
  o tmail.exe -service MyMail -to
nob...@nowhere.com;someb...@somewhere.com;that...@thatplace.com
* To additionally add the subject line Call Me Tonight:
  o tmail.exe -service MyMail -to nob...@nowhere.com -subject
Call Me Tonight
* To additionally add a message in the body:
  o tmail.exe -service MyMail -to nob...@nowhere.com -subject
Call Me Tonight -body at 555-1212
* To attach the file Recipe.xls in the My Documents folder:
  o tmail.exe -service MyMail -to nob...@nowhere.com -subject
Call Me Tonight -body at 555-1212 -attach \My Documents\Recipe.xls



Yes I need help for this.

EMERSON VIER

--- In nsbasic...@yahoogroups.com, George Henne g...@... wrote:

 I can't find documentation for tmail anywhere on the Microsoft site,
 except for this:
 http://social.msdn.microsoft.com/Forums/en-US/windowsmobiledev/thread/
 17b05c07-1423-4c1a-add1-849352d3b6a8
 
 Probably nowhere but here are some:
 
 -service service name (You're choosing the service You want to use:
 SMS, MMS etc.)
 -bcc url or number
 -cc url or number
 -to url or number
 -subject text
 -body text
 -attach file path (attaches the file when using e-mail service)
 -RunInBKG (runs tmail.exe in background, used in \Windows\Startup)
 -sync (opens an Active Sync to synchronize the mail)
 -open folder name (opens tmail.exe in selected folder, like Inbox,
 OutBox etc.)
 
 I know that there's also a -transport parameter but don't know what's
it for.
 There should be also some params to send a message prepared from first 7
 parameters listed here.
 
 Let me know if this helps - the tech note should be updated.
 
 I use the Technote 32 for send mail, OK.
 
 But not send the attach FILE
 
 I use this code
 
 eTo=mailto:;  info© n...
 eSubject=?subject=  Email sent from NS Basic/CE on a 2002 device!
 eBody=body=  Hello, NS Basic people!
 eAttachment=attach=  benchmark.nsb
 shellExecute open,tmail.exe, eTo  eSubject  eBody
 
 I trys this too
 
 shellExecute open,tmail.exe, eTo  eSubject  eBody  eAttachment
 
 EMERSON VIER
 
 
 
 
 
 
 Yahoo! Groups Links
 
 
 







Yahoo! Groups Links






--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
nsb-ce group.
To post to this group, send email to nsb-ce@googlegroups.com
To unsubscribe from this group, send email to 
nsb-ce+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~--~~~~--~~--~--~---



[nsbasic-ce] Re: Sending Mail

2009-07-12 Thread EMERSON VIER
Please send again the your link from microsoft.

Yesterday I make research about tmail, I tested this parameters, not worked.

I try send mail to CC and BCC not worked too.

http://www.cjcraft.com/blog/2008/10/02/HowToOpenAMailInInboxUsingPocketOutlook.aspx


 How to open a mail in Inbox using Pocket Outlook

I need to open a new email message in Pocket Outlook today. Keep in mind that's 
different from just programmatically sending an email from my application.

Here's how to programmatically send an email from your application:

   1: Microsoft.WindowsMobile.PocketOutlook.EmailMessage email = new 
EmailMessage();

   2: email.From = From;

   3: email.BodyText = BodyText;

   4: email.To = To;

   5: email.Subject = Subject;

   6: email.Send(AccountName);

 Here's how to programmatically create a new mail message in Pocket Outlook and 
more:

[Source: Open a Specific Email Account in Pocket Outlook? - WM Experts]

* To open inbox for MyMail:
  o tmail.exe -service MyMail
* To additionally launch a new message with no recipient for sending:
  o tmail.exe -service MyMail -to 
* To have the new message pre-addressed:
  o tmail.exe -service MyMail -to nob...@nowhere.com
* To add a cc (copy to):
  o tmail.exe -service MyMail -to nob...@nowhere.com -cc 
someb...@somewhere.com
* To add a bcc (blind copy):
  o tmail.exe -service MyMail -to nob...@nowhere.com -bcc 
someb...@somewhere.com
* To have the new message pre-addressed to multiple addresses:
  o tmail.exe -service MyMail -to 
nob...@nowhere.com;someb...@somewhere.com;that...@thatplace.com
* To additionally add the subject line Call Me Tonight:
  o tmail.exe -service MyMail -to nob...@nowhere.com -subject Call Me 
Tonight
* To additionally add a message in the body:
  o tmail.exe -service MyMail -to nob...@nowhere.com -subject Call Me 
Tonight -body at 555-1212
* To attach the file Recipe.xls in the My Documents folder:
  o tmail.exe -service MyMail -to nob...@nowhere.com -subject Call Me 
Tonight -body at 555-1212 -attach \My Documents\Recipe.xls



Yes I need help for this.

EMERSON VIER

--- In nsbasic...@yahoogroups.com, George Henne g...@... wrote:

 I can't find documentation for tmail anywhere on the Microsoft site,
 except for this:
 http://social.msdn.microsoft.com/Forums/en-US/windowsmobiledev/thread/
 17b05c07-1423-4c1a-add1-849352d3b6a8
 
 Probably nowhere but here are some:
 
 -service service name (You're choosing the service You want to use:
 SMS, MMS etc.)
 -bcc url or number
 -cc url or number
 -to url or number
 -subject text
 -body text
 -attach file path (attaches the file when using e-mail service)
 -RunInBKG (runs tmail.exe in background, used in \Windows\Startup)
 -sync (opens an Active Sync to synchronize the mail)
 -open folder name (opens tmail.exe in selected folder, like Inbox,
 OutBox etc.)
 
 I know that there's also a -transport parameter but don't know what's it for.
 There should be also some params to send a message prepared from first 7
 parameters listed here.
 
 Let me know if this helps - the tech note should be updated.
 
 I use the Technote 32 for send mail, OK.
 
 But not send the attach FILE
 
 I use this code
 
 eTo=mailto:;  info© n...
 eSubject=?subject=  Email sent from NS Basic/CE on a 2002 device!
 eBody=body=  Hello, NS Basic people!
 eAttachment=attach=  benchmark.nsb
 shellExecute open,tmail.exe, eTo  eSubject  eBody
 
 I trys this too
 
 shellExecute open,tmail.exe, eTo  eSubject  eBody  eAttachment
 
 EMERSON VIER
 
 
 
 
 
 
 Yahoo! Groups Links
 
 
 




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
nsb-ce group.
To post to this group, send email to nsb-ce@googlegroups.com
To unsubscribe from this group, send email to 
nsb-ce+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~--~~~~--~~--~--~---