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

Delivery Status Notification Problem



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 31st 08, 10:51 PM posted to microsoft.public.outlook.program_vba
RobGMiller
external usenet poster
 
Posts: 3
Default Delivery Status Notification Problem

Using CDO from Access VBA.

The message will simply dissapear without a trace if DSN is turned on.

The message works perfectly without it.

the method used to activate notification is as follows.

objMessage.From = "
objMessage.To = "
objMessage.Subject = "Test Subject"
objMessage.CreateMHTMLBody "file://C:\FullpathOfFile.html"
objMessage.AddAttachment "FullPathOfFile.PDF"

objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2

objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "mail.server.com"

objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") =25

objMessage.Configuration.Fields.Update

************************************************** ****
objMessage.Fields("urn:schemas:mailheader:disposit ion-notification-to") =
"

objMessage.Fields("urn:schemas:mailheader:return-receipt-to") =
"

objMessage.Fields.Update

objMessage.DSNOptions = cdoDSNSuccessFailOrDelay(set to 14)

************************************************** ****

objMessage.Send



If the part between the ******* lines is left out the message is received.
With that part the messages is never heard of again.

My ISP claims they are not blocking Notification on their mail server which
is specified above. I get the same result using SMTP on windows XPPro-R2

Any thoughts would be welcomed.

RobGMiller
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
receiving massive delivery status notification (failure) emails JM Outlook - General Queries 1 April 10th 08 02:23 PM
Can't get Microsoft fax delivery notification Jatupong Outlook - Fax Functions 1 March 28th 08 03:40 PM
Delivery notification Bill Ridgeway Outlook Express 5 March 15th 07 09:24 PM
Email delivery notification Nakusp Bob Outlook - General Queries 2 January 12th 07 05:26 PM
no delivery notification thevine Outlook and VBA 0 May 21st 06 05:38 AM


All times are GMT +1. The time now is 06:15 AM.


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.