473,405 Members | 2,294 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

System.Net.Mail Namespace issues

I have created a wrapper for the system.net.mail that allows a program to
send emails. I have set some properties in the headers with great success,
had the reply-to work find and the disposition to also work to notify
someone when the mail was read. However, I am having problems when is comes
to the deliverynoification. If I use my email address in the return-path
header and the from field, I get a notification the email was sent
correctly. However, if I use a group email address as the from email (it is
our IT group) and my email as the return-path (yes I am part of the IT group
in the to field), I do not receive any notifications. Does anyone know how
to fix this. I have include the line of code that I set the header for
reference. I have stepped through the code and it creates the header and I
can see the header in the email. Lastly, does anyone know how you can be
notified of more than one notification (for instance I want to know of any
delays, successes and failures).

Thanks.

John

If _DeliveryNotification <DeliveryNotificationOptions.None AndAlso
_ReturnPath.Trim <"" Then

..Headers.Add("Return-Path", "<" & _ReturnPath & ">")

..DeliveryNotificationOptions = _DeliveryNotification

Else

..DeliveryNotificationOptions = DeliveryNotificationOptions.None

End If
Feb 13 '07 #1
0 1118

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Andreas von Linden | last post by:
Hello all, i'am using VS .NET 2003 Prof (new installed with .NET 1.1) on WinXP Prof (SP2). I need to programm an small SMTP Client in C#. When i try using System.Web.Mail i get the Errormsg...
3
by: Eric | last post by:
When I use system.web.mail namespace in most of my integration programs and in windows application programs it doesn't work. it normally gives an exception "Could not access 'CDO.Message' object."...
9
by: MDoyle | last post by:
Here is the easiest question you’ll get all day from a complete newbie. I installed Visual Studio on my laptop last night and have been tryin to write my very first C# programs this morning. I’m...
3
by: Phil Mc | last post by:
Hi has anyone come accross the problem.... with referance to System.Web.Mail.MailMessage and System.Web.Mail.SmtpMail THIS WORKS FINE mail=new MailMessage(); mail.From =...
5
by: martin | last post by:
Hi, I have created a class that is totally seperate from my web application. However this class is used extensivly by the web application for stuff like data access. I wish to add a function to...
1
by: John Hamilton | last post by:
I am writing a client app that communicates with a legacy system via email. The legacy system uses very primative mail messaging and thus doesn't support MIME or Base64 Encoded attachments. ...
3
by: Fetty | last post by:
I need to send the email with an email address that is not in my domain, but it will not do that. Can this be done
10
by: Frank | last post by:
Hi, I am hoping to find out the differences between the System.Net.Mail and System.Web.Mail. Can some nice folks post the differences; or some urls which show the differences? Great Thanks...
12
by: kimiraikkonen | last post by:
Hello, I'm trying to create a basic SMTP mail sender using that code, i'm using VB.NET 2005 "express" but this namespace wasn't recognized... (system.web.MAIL) I'm only allowed to declare under...
11
by: Ed Bitzer | last post by:
I have been able using the namespace System.Web.Mail and its method Smtp.mail.send to mail simple text messages to a small group within our 55 and older community. I need help expanding the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.