Hello all.. Since my last project was not the style that suits these forums, I decided to continue..
I am writing my own email client - And i'm wondering if there is a way to send the email without outlook giving me a prompt.. I've tried MAPI, and it's just too much. I've looked into SMTP, and jsut couldn't get it working..
Here is what I have at the moment:
Set ol = CreateObject("Outlook.Application")
Set Mail = ol.CreateItem(0)
Mail.to = "
[email protected]"
Mail.Subject = "Testing"
Mail.Body = "txtEmail.text"
Mail.Send
I have the main interface with a textbox "txtEmail" , and a "send!" button that performs the above.
When I run it like this, It prompts me with "A Program is Trying to send an Email on your behalf! Do you want to allow this?" Yes - No
Also, when I run it this way, even if I hit "yes" on the prompt, I do not recieve an email to that email address (my email obviously, for testing).
I don't want that message to appear, I dont' want to have to verify everytime, (because eventually, I will be working on my own Messenger program, just for fun).
If there is just a .hide, or .message = false command I could add, I would greatly appreciate it if anyone could help me out on this one...
Thanks..
glyphed