ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcl-win
tcl-win
Re: [WINTCL] Send emails with TCL
by Kevin Kenny other posts by this author
Apr 30 2007 5:02PM messages near this date
[WINTCL] Send emails with TCL | Re: [WINTCL] Send emails with TCL
Sergio:
 > I'm writing a TCL application that will run in PC (Windows 200), it 
recieves
 >  and process some data. The results will be sent via email attachment 
to whom
 >  requeseted the analysis.
 >  Does anyone know how to send the email? Can I just call the default email
 >  client to handle the email?

You have two options:

One is to simply use raw SMTP with the SMTP module in tcllib. This works 
in plain Tcl, but requires whoever installs the software to configure it 
to find an SMTP server.

The other is to use MAPI.

Check out the "mapimail" extension at 
http://www.schwartzcomputer.com/tcl-tk/tcl-tk.html
I think it may have what you need.

-- 
73 de ke9tv/2, Kevin

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Tcl-win mailing list
Tcl-win@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-win
Thread:
Sergioanis
Kevin Kenny
Sergio Anis

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved