PC Review


Reply
Thread Tools Rate Thread

Access 2007 stops working in Vista sending SMTP mails

 
 
lars
Guest
Posts: n/a
 
      12th Feb 2009
I have problem with the following code sending SMTP mails and using cdoex.dll
with Mail Delivery Notification (MDNRequested = True) in Access 2007 and
Vista. It works fine in Windows XP. It also works in Vista if I set
MDNRequested = False. I have looked on the Internet but not found any reports
on this problem. Does anybody know if this is a bug in Vista?

Dim leMsg As New CDO.Message
Dim lBp As CDO.IBodyPart
Dim leFlds As ADODB.Fields

If GeMailConf Is Nothing Then
Set GeMailConf = New CDO.Configuration

Set leFlds = GeMailConf.Fields

leFlds(cdoSendUsingMethod) = cdoSendUsingPort
leFlds(cdoSMTPServer) = "server2000.domain.com"
leFlds(cdoDispositionNotificationTo) = "(E-Mail Removed)"
leFlds.Update
End If

With leMsg
Set .Configuration = GeMailConf
.MimeFormatted = False
.AutoGenerateTextBody = False
.To = "(E-Mail Removed)"
.From ="(E-Mail Removed)"
.Subject = "Any subject"
.TextBody = "Any text body"

.MDNRequested = True 'PROBLEM: True - Request Read Receipt

.Send 'Access 2007 stops working in Vista after sending the message
'with MDNRequested = True. Works fine in Windows XP.
'Also works in Vista with MDNRequested = False
End With
--
/Lars
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2007 stops working sending SMTP mails in Vista lars Microsoft Access VBA Modules 0 11th Feb 2009 04:10 PM
Outlook 2007 stops working on Vista Y.A Microsoft Outlook Installation 10 31st Mar 2007 02:46 AM
Why Outlook 2007 stops working under Vista? =?Utf-8?B?Q2hhcmxpZQ==?= Microsoft Outlook Discussion 0 16th Oct 2006 06:08 PM
Sending via secure SMTP suddenly stops working Per-Olof Litby Microsoft Outlook 1 24th Nov 2004 04:35 PM
Sending via secure SMTP suddenly stops working Per-Olof Litby Microsoft Outlook Interoperability 1 24th Nov 2004 04:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:58 PM.