How to obtain email server name associated with default mail clien

  • Thread starter Thread starter C. Rose
  • Start date Start date
C

C. Rose

I have an Access 2002 application which produces client invoices. These
invoices are reports which include a sub-report.

I am currently enhancing the application to allow users to email invoices to
customers. This means sending emails to customers with the invoice as an
attached file.

I have decided to base my solution on John Rhoton’s method enhanced by
Klaus Oberdalhoff - Thanks guys!

The reason for my decision is:
1. The application is used in an “uncontrolled environments†– ie. I do know
whether an email client is installed or what email client is used on the
client’s machine.
2. I need to programmatically attach a file to the email.

Since most of my users are lay users (and also for ease of use), I would
like to automatically set up the Email Server Name in the program instead of
requesting the information from the user.

Does anyone know how I can get the Email Server Name (I guess this must be
associated with the default mail client on the users machine) so that I can
achieve the above???

Many thanks in advance for your help.
 
hi i am also trying to do the same can you give me this info you have on the
John Rhoton's method enhanced?
thanks
 
Back
Top