sending mails

Hi,

I'm trying to send mails from within VB6 code referencing outlook.application references. I've got 2 queries:
1. How can I modify the sender or sender's email address
2. Everytime it tries to send the mail, a message pops up saying...an external program is trying to send mail on my behalf & if I'm sure to send it? And this message will not go away unless I okay it!!
I require to send out regular mails at fixed intervals, without any intervention.

[477 byte] By [JasneetPaul] at [2008-1-13]
# 1
Post your code, so we can give answers with respect to code
AfzalKhan at 2007-8-21 > top of Msdn Tech,Visual Basic,Visual Basic Language...
# 2

Hi Jasneet,

Please read through the following Knowledge Base article:

Description of e-mail security features for developers
http://support.microsoft.com/kb/290500/EN-US/

It gives a clear guidance regarding #2 that you have mentioned and suggests the usage of a different API for sending mail known as CDO -
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html/_cdosys_about_cdo_for_windows_2000.asp?frame=true

Regards,
Vikram

Vikram at 2007-8-21 > top of Msdn Tech,Visual Basic,Visual Basic Language...
# 3
Hi, Vikram,

I met the same problem - the #2 problem, and can't find a solution for it. The link from you doesn't work now. Do you know the folder name in msdn library? or is it possible for you to brief the solution?

Hope to hear from you soon.

Thanks,

Richard

RichardGeng at 2007-8-21 > top of Msdn Tech,Visual Basic,Visual Basic Language...
# 4

Try changing your registry

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Security]
"CheckAdminSettings"=dword:00000001

BeckyE at 2007-8-21 > top of Msdn Tech,Visual Basic,Visual Basic Language...