Re: Why sending email programmatically must be so complicated?
- From: Frank Rizzo <nospam@xxxxxxxxxx>
- Date: Sun, 29 Jan 2006 23:55:49 -0800
Jack,
I can see your aversion to distributing 3rd party components, but I would just bite the bullet. You are already distributing a bunch of files in the VB runtime. So just include a 3rd party component. Typical email SMTP components are very small (the one I use is 144kb). This way you wouldn't have to worry about half-baed solutions, like relying on Outlook (who knows what version is installed) or Outlook Express (what if it isn't setup? I use Thunderbird and have never setup OE), which doesn't even have an automation lib exposed.
Just bite the bullet - 3rd party libraries in this case are gonna save you a whole lot of time.
Regards
Jack wrote:
I read few threads regarding sending email and found them lacking common sense.
All of them involve direct connection to Internet and extra other components.
I think is is safe to assume that user has one of following installed:
Outlook Express or Outlook and the computer is already connected to Internet.
Based on that assumption, is it possible to use functionality of one of these two programs to send email programmatically?
I do not want to use any extra components, and specially Winsock because such components tend Windows to warn potential user about hazards such program can bring to his computer and I want to avoid that.
I need very simple thing.
When my program reaches the alert state I want to sent simple email: no attachments, no body message only subject line filled in.
It should use a default email server and no other questions ask.
Is it possible to do it very simply or it has to be so complicated?
Your thoughts please,
Jack
.
- Follow-Ups:
- References:
- Prev by Date: Re: VB6---.NET
- Next by Date: Re: Why Randomize() won't work?
- Previous by thread: Re: Why sending email programmatically must be so complicated?
- Next by thread: Re: Why sending email programmatically must be so complicated?
- Index(es):
Relevant Pages
|