Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

faxing via outlook

Status
Not open for further replies.

JudyBarer

Programmer
Jan 13, 2004
23
US
I am trying to fax via outlook. Using the code I found in FAQ184-2557 which was very helpful. However I would like to know if there is a way to turn off the warnings in Outlook which says "A program is trying to automatically send email on your behalf. Do you want to allow this?"

The other warning that comes up is that outlook is not the default email program on all the machines in my office so it prompts the user to set as the default. ( I could just disable this prompt on everyones machine)

Thanks
Juidth
 
Juidth (Judith?),
You'll either have to use CDO or a product like Redemption to get around the patched/updated Outlook warnings. Just do a Search on these, and you'll find more information.

Rick
 
There is no way to shut off the Outlook Security. It is annoying for sure. The only way around this is to find another solution that avoids Outlook, or try a product like ClickYes ( or Outlook Redemption can be found at
If you need a good whitepaper on the subject, head over to TedRoche.com and look at this Outlook session presented in 2002.


_RAS
VFP MVP
 
JudyBarer

have you tried this as Rick suggests?

Code:
objSession = CreateObject('Mapi.Session')
objSession.Logon ()
objMessage = objSession.Outbox.Messages.Add 
objMessage.Subject = 'Test' 
objMessage.Text = 'This is a test' 
objRecipient = objMessage.Recipients.Add 
objRecipient.Name = '[FAX:5555551111]'
objRecipient.Type = 1 
objRecipient.Resolve ()
objMessage.Attachments.Add('test.txt',0,  1,'C:\test.txt' )
objMessage.Send ()
objSession.Logoff



Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Judy,

"A program is trying to automatically send email on your behalf. Do you want to allow this?"

Another solution to that problem is a utility called Express ClickYes ( In effect, it automatically clicks the Yes button each time the above message appears, without any user intervention.

Mike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
I have a client who FAX's 50 to 100 FAX's per day in an automated manner via Outlook.

I have them using Redemption ( ) as a means of eliminating the "A program is trying to automatically send email on your behalf. Do you want to allow this?" message.

I tried the ClickYes approach as well as Redemption and decided I liked Redemption better.

It requires that Redemption be Registered on all of the user's workstations, but that is no big problem.

As far as your "Outlook is not the default email program on all the machines" message....

This is due to the setting within the user's Internet Explorer - maybe they have set Outlook Express as their default email client. Have them transition over to "full" Outlook.
Go into IE's Tools, Options, Programs and set the Email to Outlook and then Apply.

Good Luck,
JRB-Bldr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top