PC Review


Reply
Thread Tools Rate Thread

ATTN MVPS - Sending Emails From Access

 
 
David C. Holley
Guest
Posts: n/a
 
      3rd Jan 2010
I ran across this blog post and was a bit intrigued by it.

http://www.intelliadmin.com/index.ph...-command-line/

It details a .DLL that's available which allows emails to be sent via a
command line. It intrigues me because I'm wondering if it would be less
prone to fail as opposed to the other techniques for sending an email, such
as Outlook Automation. Granted you wouldn't be able to trap any errors from
the .DLL, but would it be more likely to succeed even though you'd still
have to have VBA code to run the command line.

Thoughts?


 
Reply With Quote
 
 
 
 
Banana
Guest
Posts: n/a
 
      4th Jan 2010
David C. Holley wrote:
> I ran across this blog post and was a bit intrigued by it.
>
> http://www.intelliadmin.com/index.ph...-command-line/
>
> It details a .DLL that's available which allows emails to be sent via a
> command line. It intrigues me because I'm wondering if it would be less
> prone to fail as opposed to the other techniques for sending an email, such
> as Outlook Automation. Granted you wouldn't be able to trap any errors from
> the .DLL, but would it be more likely to succeed even though you'd still
> have to have VBA code to run the command line.
>
> Thoughts?
>
>


FWIW- If I don't want to depend on having Outlook or whatever, I use
CDO, which is going to be much more robust than using command line.

A well-designed .dll is supposed to return errors to the calling
clients, and since CDO can be used directly in VBA without resorting to
command line... why not CDO?

You can even expose a simple interface to enable custom configuration
(e.g. set up the SMTP server) so it can then be used by whatever email
they use.
 
Reply With Quote
 
Stuart McCall
Guest
Posts: n/a
 
      4th Jan 2010
"David C. Holley" <David.C.Holley> wrote in message
news:(E-Mail Removed)...
>I ran across this blog post and was a bit intrigued by it.
>
> http://www.intelliadmin.com/index.ph...-command-line/
>
> It details a .DLL that's available which allows emails to be sent via a
> command line. It intrigues me because I'm wondering if it would be less
> prone to fail as opposed to the other techniques for sending an email,
> such as Outlook Automation. Granted you wouldn't be able to trap any
> errors from the .DLL, but would it be more likely to succeed even though
> you'd still have to have VBA code to run the command line.
>
> Thoughts?
>


I echo Banana's comments re CDO. In case you'd like to try it out, here is a
'starter pack':

http://www.smccall.demon.co.uk/Downloads.htm#cdo


 
Reply With Quote
 
theDBguy
Guest
Posts: n/a
 
      4th Jan 2010
Hi David,

In my humble opinion, that utility is perfect for network admins who use a
lot of command line tools. But if you're using Access, I agree with the
others that there are better options available without having to Shell out to
the OS for a simple send email task.

Just my 2 cents...


"David C. Holley" wrote:

> I ran across this blog post and was a bit intrigued by it.
>
> http://www.intelliadmin.com/index.ph...-command-line/
>
> It details a .DLL that's available which allows emails to be sent via a
> command line. It intrigues me because I'm wondering if it would be less
> prone to fail as opposed to the other techniques for sending an email, such
> as Outlook Automation. Granted you wouldn't be able to trap any errors from
> the .DLL, but would it be more likely to succeed even though you'd still
> have to have VBA code to run the command line.
>
> Thoughts?
>
>
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Attn MVPs: MS Access Issues Imposed By IT Dept. =?Utf-8?B?VGlmZmFueQ==?= Microsoft Access 9 12th Sep 2005 09:07 PM
attn: MVPs... Sockets.. Killing!! Slappy White Microsoft C# .NET 17 9th Aug 2004 03:33 PM
attn:MVPs Slappy White Microsoft Dot NET Framework 4 5th Aug 2004 10:26 AM
ATTN: tarowe&mvps.org Diana Microsoft Frontpage 2 29th Feb 2004 04:24 AM
ATTN: tarowe&mvps.org Diana Microsoft Frontpage 1 27th Feb 2004 05:52 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:34 PM.