Re: Send email from TCL program -without- requiring user to know smtp server?
- From: Twylite <twylite.crypt@xxxxxxxxx>
- Date: Wed, 30 Sep 2009 00:51:06 -0700 (PDT)
Basically, I just want a TO: and FROM: email address field for the
user to deal with--I don't want to place the burden of knowing what an
SMTP server is on the end user. Assuming an email client (ie, Outlook
or some other client) is installed on their system (Mac/PC), what is
the typical method of sending an email via tcl that automatically
picks up the SMTP server?
There is no standard or central location for this information on
Windows.
- Some businesses may deliver the SMTP address to clients via DHCP,
but this is uncommon (and I don't know what e-mail clients - if any -
support it).
- Outlook must be configured with an Exchange server or SMTP server
before it can be used.
- Other e-mail clients (Thunderbird, Pegasus, Eudora, ...) all
maintain their own configurations for this information, in different
places in the registry or in configuration files. For most of these
clients the configuration is user-specific rather than system-wide.
You could target a couple of common e-mail clients and have code to
detect their SMTP server configurations, but even then you can't be
sure that you're picking the right configuration. For example I can
talk to my company SMTP server from one client, and my home ISP's SMTP
server from another client.
Regards,
Twylite
.
- References:
- Prev by Date: Re: TCLODBC 2.3 and MSSQL Server problem writing VARBINARY data
- Next by Date: Re: Building a tclkit lite in 8.4
- Previous by thread: Re: Send email from TCL program -without- requiring user to know smtp server?
- Next by thread: Communicating with Tk widgets from an oo::class object
- Index(es):
Relevant Pages
|