Maybe I'm just missing something but can't you set the TO and CC Fields to
contain more than one email address using System.Web.Mail?
What's the appropriate syntax?
What do I use to seperate the two addresses?
'Create an email to send
Dim objMM2 as New MailMessage()
objMM2.To =3D "one@e...;two@e..."
objMM2.From =3D ContactEmail.Text
objMM2.BodyFormat =3D MailFormat.HTML
objMM2.Priority =3D MailPriority.Normal
objMM2.Subject =3D "Subject"
objMM2.Body =3D "Test Body"
Thanks
Mitch
try "<me@h...>;<you@t...>"
----Original Message Follows----
From: "Mitchell Adams" <MADAMS@p...>
Reply-To: "ASP+" <aspx@p...>
To: "ASP+" <aspx@p...>
Subject: [aspx] Multiple email addresses in CC and TO fields
Date: Thu, 10 Oct 2002 11:26:35 -0400
Maybe I'm just missing something but can't you set the TO and CC Fields to
contain more than one email address using System.Web.Mail?
What's the appropriate syntax?
What do I use to seperate the two addresses?
'Create an email to send
Dim objMM2 as New MailMessage()
objMM2.To = "one@e...;two@e..."
objMM2.From = ContactEmail.Text
objMM2.BodyFormat = MailFormat.HTML
objMM2.Priority = MailPriority.Normal
objMM2.Subject = "Subject"
objMM2.Body = "Test Body"
Thanks
Mitch
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com