How to add e-mail address to blocked senders list programmatically?

  • Thread starter Movses Asatryan via OfficeKB.com
  • Start date
M

Movses Asatryan via OfficeKB.com

I am using MS Outlook 2003 and want to write code wich can allow me to add current e-Mail's senders address or it's domain to blocked senders list. Everything is OK, except the last part. I can't find a way to add addres to blocked senders list.
How can I do it?
Thanks.
 
M

Michael Bauer

Hi Movses,

first you might read "manipulating outlook 2003(not express) blocked
senders list with vba - macro" from 2004/03/17 in this NG.

Regarding to this there may be one solution by simulating clicks on the
export and import buttons. For that you would need some Win32 APIs and
an asynchronous running sepearate thread, because the junk options
dialog is shown modal. For the latter there is no way with VBA, but with
VB e.g.

--
Viele Grüße
Michael Bauer


Movses Asatryan via OfficeKB.com said:
I am using MS Outlook 2003 and want to write code wich can allow me to
add current e-Mail's senders address or it's domain to blocked senders
list. Everything is OK, except the last part. I can't find a way to add
addres to blocked senders list.
 

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

Top