I.T. Discussion Community!
-Collapse +Expand
DBA
Search DBA Group:

Advanced
-Collapse +Expand DBA Store
PRESTWOODSTORE

Prestwood eMagazine

October Edition
Subscribe now! It's Free!
Enter your email:

   ► KBDesktop Data...   Print This     
  From the April 2015 Issue of Prestwood eMag
 
DBA Desktop Databases:
MAPI - or Something Better
 
Posted 12 years ago on 5/18/2007
Take Away: Most development tools give us easy access to MAPI. Some offer MAPI as the ONLY easy way to send email. Still, is MAPI the best way to go?

KB100544

 When a program you're developing needs to send emails, MAPI is a tempting approach.  Virtually every development tool affords easy access to MAPI.  On the other hand, virtually every development tool also allows you to utilize 3rd party DLLs.

So, is there a downside to MAPI? You bet! And several.

1) It requires a properly configured email client program to be installed on the machines that will use your program.  Users frequently manage to kink up their email configuration.

2) It can be slow.  Your program, essentially, has to wait for Windows to launch the email client.  If your end user happens to have many applications running, things can get real slow, real fast.

3) You, as the developer, have virtually no convenient way of knowing what happened to the intended email.  The end user, instead, has to monitor their email client program to see what happened.

4) You will quickly lard up your end users' "Sent" folders.

5) Every time an email is sent, your end users are taken to somebody else's program - and distracted from yours.

Is there a better way, then, to get you program to send email?

You bet!  It's called psSendMail, and you can get it at the Prestwood Store.

psSendMail is a sophisticated emailing "engine" with a simple programmer API..  It can send plain text email.  It can send HTML email.  It allows a virtually unlimited number of attachments with each email sent. It handles authentication. It gives you instantaneous feedback about the success or failure of each of its operations.

psSendMail is designed to give you, the developer, a fighting chance against the "spam police."

Best of all, your program's emailing tasks stay in your program.  Nobody else's program has to "pop up" to service your email needs.

Comments

1 Comments.
Share a thought or comment...
Comment 1 of 2

I have pssendmail and it worked great until I got a new computer.  The setup is exactly the same, but it will not connect to the smtp server.  I am sure that I am just missing something, but I have not been able to figure it out.

 Shannon

Posted 12 years ago

Comment 2 of 2

Shannon,

There is probably nothing wrong with your new computer - or with psSendMail.

Are you able to send and receive with an ordinary email program (Outlook, Outlook Express, etc.)?

If so, take a peek at your email account settings.  Are there a user name and password involved?

If so, it means your ISP's email server requires authentication, and that's something psSendMail v1 did not do.

I am putting the finishing touches on psSendMail v2 Beta.  Not only does it handle authentication, it offers several important new features.

 Wes

Posted 12 years ago
 
Write a Comment...
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1186A1
Enter key:
KB Post Contributed By Wes Peterson:

Wes Peterson is a Senior Programmer Analyst with Prestwood IT Solutions where he develops custom Windows software and custom websites using .Net and Delphi. When Wes is not coding for clients, he participates in this online community. Prior to his 10-year love-affair with Delphi, he worked with several other tools and databases. Currently he specializes in VS.Net using C# and VB.Net. To Wes, the .NET revolution is as exciting as the birth of Delphi.

Visit Profile

 KB Article #100544 Counter
7124
Since 4/2/2008

Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech