Outlook emails

  • Thread starter Thread starter Nak
  • Start date Start date
N

Nak

Hi there,

I'm currently using Outlook to send email in a VB.NET app but I would
like more control over which email address the email is sent from. Is it
possible to enumerate the available addresses for the current user and
select one that is more appropriate? Thanks loads in advance. BTW I'm
using the Microsoft Office 11.0 Object Library. Thanks again!

Nick.
 
Hi Nick,

Do you mean you want to set the From field of the mail message?
I think it is hard to get such a list, because if we wants to send mail on
behalf of another user's account, that user must give me the
send-on-behalf-of privilege, if that user did not give me the privilege, I
can not send mail on behalf of that user's account.

If I have any misunderstanding, please feel to let me know.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Peter,

I think we are referring to 2 different things. My Outlook profile has
3 email accounts, and at current I can only seem to get it to send email
from the default account, I can change the default account to the required
one via Outlook but I would like my application to have the choice of which
account to send it from.

The other alternative I have is to make another profile and set the
desired email account as the only accout in the profile, then use that one
to send my emails. But I only wanted to use that as a last resort as it
requires far too much interaction outside my application. Any ideas?
Thanks loads in advance again.

Nick.
 
Hi Jay,

This code appears to just change a drop down menu, which is great, with
the exception that Outlook is not always visible when I send the email, and
I never actually see the email appear on the screen. I get a message box
telling me that an application is attempting to send email through outlook
and if I should allow it or not, then it just flies out into the ether and
jumps into my sent items.

But anyways, I shall delve into the site you have posted because it
looks quite formative. Thanks loads for your help! :-)

Nick.
 
Hi Nick,

I am sorry for misunderstanding, as for the security dialog you may take a
look at the link below.
290499.KB.EN-US OL2002: Administrator Information About E-Mail Security
Features
http://support.microsoft.com/?id=290499

If you still have any concern on this issue, please feel free to post here.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Peter,

Hey you have nothing to appologise for, sometimes my wording can be a
little off target! Thanks loads for the link! I have read elsewhere that
this was impossible to achieve, Im really glad I can get rid of that damn
box now! :-D

Nick.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top