A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

VBA & Outlook 2003 objMail.Send Security problem



 
 
Thread Tools Search this Thread Display Modes
  #11  
Old April 24th 08, 02:08 PM posted to microsoft.public.outlook.program_vba
Jeremy Melvin[_2_]
external usenet poster
 
Posts: 4
Default VBA & Outlook 2003 objMail.Send Security problem

Sorry for the confusion and thanks for the help. Everything is working now
with Redemption and using a Rule for new incoming message from a specific
person. Here is the code I'm using.

Sub SendMobileAlert(Alert As MailItem)

Dim SafeItem, oItem
Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance
of Redemption.SafeMailItem
Set oItem = Application.CreateItem(0) 'Create a new message

Dim objMail As MailItem
Dim AlertingMessage As Redemption.SafeMailItem

Set AlertingMessage = CreateObject("Redemption.SafeMailItem")

AlertingMessage.Item = Alert

SafeItem.Item = oItem 'set Item property
SafeItem.Recipients.Add "
SafeItem.Subject = "Subject Here"
SafeItem.Body = AlertingMessage.Body
SafeItem.Send

Set objMail = Nothing
Set Alert = Nothing
Set AlertingMessage = Nothing

End Sub

"Sue Mosher [MVP-Outlook]" wrote:

I'm saying that because Outlook 2002 is the version, not 2003, the security mode is largely irrelevant. If I'd known that 2002 was the version in the first place, I wouldn't even have asked about it, and this discussion would have been much shorter because the answer to your original question would have been immediately apparent -- unless the Exchange administrator is your buddy, you need a third-party tool.

If you got a prompt while using Redemption, then you didn't use it correctly. Show some code, please. Or use what Ken posted.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Jeremy Melvin" wrote in message ...
Sue, Are you saything that "Security Mode: Default" is an elevated security
level? Or just that it being default is enough to always prompt me for auto
sending messages?
I will read more on the 3rd party solutions, but if I tried the Redemption
one and it still gave me a prompt, is that just me messing something up or is
it from the Security Mode: Default setting?

Thanks

"Sue Mosher [MVP-Outlook]" wrote:

Yes, that makes all the difference in the world. Native VBA code will always raise prompts unless an Exchange administrator loosens security for you. The only solutions available to you as an individual are the third-party solutions listed at http://www.outlookcode.com/article.aspx?ID=52



"Jeremy Melvin" wrote in message ...
Thanks for that information. And it might help to clear up the problem as
well. I had THOUGHT that it was Outlook 2003, but it is actually Outlook
2002.. would that raise a different set of problems?

As for the Security Mode, it is Default.

I'll do some digging on Outlook 2002 and sending emails via VBA.. sorry
about that.

"Sue Mosher [MVP-Outlook]" wrote:

To determine whether your computer is locked down, as Ken describes, display the Help | About Microsoft Outlook dialog and check the Security Mode value. If it is "Administrator-controlled," your VBA code will be subject to security prompts unless you can persuade the network administrator to change that just for you -- highly unlikely.


"Ken Slovak - [MVP - Outlook]" wrote in message ...
In Outlook 2003 using the intrinsic Application object you should not be
getting the security prompts at all. Are you getting those security prompts?
Is your computer locked down in a corporate setting? If it is then you'd
have to speak to your admins about changing the security settings in the
public folders security form.

"Jeremy Melvin" Jeremy wrote in message
...
I am wanting to take an incoming email from 'someone' and then resend it
automatically. I am using a Outlook Rule to start the VBA program when
the
email comes in, and using the VBA program to copy the body and resend to a
mobile number.
I keep reading conflicting statements from my searches on the web and
these
fourms about being able to send without getting the Security prompt from
OMG.
Could some one please let me know if it is possible for me to do this
using
the native VBA in Outlook by changing my code without using a third-party
or
sendkeys program?



Ads
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook security prompt - having problem getting rid of it Sue Mosher [MVP-Outlook] Outlook - General Queries 0 June 4th 07 12:28 PM
Outlook security prompt - having problem getting rid of it Sue Mosher [MVP-Outlook] Outlook - Installation 0 June 4th 07 12:28 PM
Outlook security prompt - having problem getting rid of it Sue Mosher [MVP-Outlook] Outlook and VBA 0 June 4th 07 12:28 PM
Send-Receive problem in Outlook 2003 [email protected] Outlook - General Queries 1 July 9th 06 06:42 PM
Outlook 2003 Send problem trasmus Outlook - General Queries 3 January 17th 06 09:06 PM


All times are GMT +1. The time now is 11:35 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.