Can you choose among multiple SMTP servers? 
Author Message
 Can you choose among multiple SMTP servers?

To send or receive email.  I looked in the archives, and up to 2001,
it looks like you cannot.  How about now?


Sun, 15 May 2005 00:59:51 GMT  
 Can you choose among multiple SMTP servers?
This functionality is not exposed by Outlook.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool



Quote:
> To send or receive email.  I looked in the archives, and up to 2001,
> it looks like you cannot.  How about now?



Sun, 15 May 2005 06:58:50 GMT  
 Can you choose among multiple SMTP servers?

Quote:

> This functionality is not exposed by Outlook.

> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool



> > To send or receive email.  I looked in the archives, and up to 2001,
> > it looks like you cannot.  How about now?

Couldn't something like the following work:

CREATE "mapi.session" ComSession1.
CREATE "outlook.application" chOutlook.
ComSession1:logon("MyChosenProfile", NO, YES, YES).

Note, "MyChosenProfile".



Sun, 15 May 2005 20:32:06 GMT  
 Can you choose among multiple SMTP servers?
Yes, that will work as long as you have separate profiles set. You will need
to make sure that Outlook completely exits before you can start it with a
new session.
You cannot however programmatically specify which SMTP transport to use in a
single session if you have several instances of the POP3/SMTP service in a
single profile.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool




Quote:
> > This functionality is not exposed by Outlook.

> > Dmitry Streblechenko (MVP)
> > http://www.dimastr.com/
> > OutlookSpy  - Outlook, CDO
> > and MAPI Developer Tool



> > > To send or receive email.  I looked in the archives, and up to 2001,
> > > it looks like you cannot.  How about now?

> Couldn't something like the following work:

> CREATE "mapi.session" ComSession1.
> CREATE "outlook.application" chOutlook.
> ComSession1:logon("MyChosenProfile", NO, YES, YES).

> Note, "MyChosenProfile".



Mon, 16 May 2005 05:33:09 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Multiple smtp servers in Outlook

2. Allowing outlook to choose smtp address

3. **FREE Make your applications SMTP compliant with an SMTP server and Sendmail Program for FREE**

4. **FREE Make your applications SMTP compliant with an SMTP server and Sendmail Program for FREE**

5. **FREE Make your applications SMTP compliant with an SMTP server and Sendmail Program for FREE**

6. Identify/Kill specific process among multiple instances of the same app

7. Sharing one instance of a TCP Active X Ctrl among multiple Active X data controls

8. Data sharing among different VB apps by a common in-process OLE server

9. POP3 server and SMTP server cannot be found dialog box

10. how to choose between multiple email accounts to send from

11. Multiple Dates by choosing Start and End Date

12. Send an SMTP email to multiple recipients??

 

 
Powered by phpBB® Forum Software