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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't fax via Microsoft Fax - permissions issue??

Status
Not open for further replies.

djayam

Technical User
Aug 16, 2005
95
GB
Hi all,

I am using a function in MS Access to send a fax via Microsoft Fax on a 2003 server with Exchange 2003 SP2, XP Pro SP2 client using Outlook 2007:
Code:
Public Function SendFax(strTo As String, strPath As String)
               
Dim MyOutlook As Outlook.Application
Dim MyMail As Outlook.MailItem

Set MyOutlook = New Outlook.Application
Set MyMail = MyOutlook.CreateItem(olMailItem)

MyMail.To = "[Fax: " & strTo & "]"

MyMail.Attachments.Add strPath, olByValue, 1, "Purchase Order from JS Burgess"
MyMail.Send

Set MyMail = Nothing
Set MyOutlook = Nothing

End Function
MS Fax is installed OK, MAPI Fax mail transport added as profile on user's Outlook.
If I log in as a Domain Admin everything works fine - the fax is sent via the server. If I log in as a user I get an Undeliverable Email with:

The Microsoft Fax transport failed to deliver the message to the recipient.
The print action to the Microsoft Fax Printer cannot be completed.


I have looked in vain at the security settings on the service manager on the server.
If I simply print to the fax from Word it goes OK when logged in as a user.
Can you help!!??
Thanks,
Jason
 
How are you getting around the built in outlook security issues?

Is it getting stuck in the draft or outbox folder?

I usually have to include something like
oNameSpace = oOutlook.getnamespace('MAPI')
just after the createobject line in my automation code, but i havent use acess to send, only vba and vfp, but since it works logged as admn that line may not be needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top