--- In tmail2000@yahoogroups.com, "Jerry" <jerbear197@y...> wrote:
>
> I'm sure these TMAIL components are good, but I'm surprised at the
> lack of documentation/demo's for them. Then demo supplied is not very
> well documented and is therefore very much redundant. My apologies if
> I hurt anyone's feelings with this comment, the author included, but
> if we can't figure out how to use it then it's not much good.
> I've scrolled through a lot of messages on here and it seems I'm not
> on my own with this request, nor have I found a soloution to this
> problem below.
>
> I just want to know, by way of code samples please, how or which of
> the 3 components I should drop on the form to preform one simple task.
>
> I wish to have my application send out an e-mail, preferably in HTML
> format, to one or more people on a daily basis without the need for
> user intervention. The e-mail will only consist of 3 maybe 4 lines of
> text, will include a link to a website and maybe, at a later date, a
> photograph.
>
> I already have a piece of code that does this but it does require me
> to click the send button every e-mail and this is unacceptable.
>
> So if anyone out there has an answer to this problem I'd be grateful
> for the solution. In the meantime I guess I'll just keep looking for
> a simple component that will allow me to accomplish this.
>
> Regards
>
> JerBear
>
First off, these components have not been easy for me to use either
and I have years of Delphi and decades of coding experience. With
that said though they do work and they work well.
I have seen many ActiveX mail controls out there that are never free,
require a wrapper, and add to possible installation problems should
the OCX/DLL not get installed or registered.
I'd add the TImgParser (for embedding images to email) control that
can be found here:
http://www.torry.net/pages.php?id=211
Make sure you get the one at the bottom (v1.4) for use with the latest
version of Mail2000. This will allow you to create embedded images
for MIME encoding in the e-mail.
For your problem there are many options available to fix it. One,
make a loop and call the button click in code. If your e-mail is not
going to change between the people you are sending it to use BCC and
add all the names at once (don't add more then 127 accounts to
maintain compatibility with older SMTP relays and servers) that way
you send a single e-mail to everyone.
I have written several programs with these controls and although the
documentation is lacking they do work.