Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

setting reply-to with cdonts

46 views
Skip to first unread message

rt

unread,
Jul 12, 1999, 3:00:00 AM7/12/99
to
I've looked at quite a few different refrences on cdonts but none seems
to specify a way to set the "reply-to" field seperate from the "from"
field. I tried MyCDONTSMail.Reply-To= and MyCDONTSMail.ReplyTo= and
MyCDONTSMail.Reply= but none of them work. Has anyone ever done this?

TIA

RT

Michael Harris

unread,
Jul 12, 1999, 3:00:00 AM7/12/99
to
CDONTS doesn't any sort of "reply to" field on the NewMail object...

http://msdn.microsoft.com/library/sdkdoc/cdo/amsmtp_0qzj.htm

--
Michael Harris


rt <rtr...@gte-es.com> wrote in message news:378A3DD3...@gte-es.com...

Michael Fitzgerald

unread,
Jul 13, 1999, 3:00:00 AM7/13/99
to
Michael,

Actually, I believe CDONTS does allow a "reply-to" field for the NewMail
object as
found here ->
http://msdn.microsoft.com/isapi/msdnlib.idc?theURL=/library/partbook/asp
20/html/aspinternetmail.htm
under the paragraph heading of 'Adding Custom Headers'.

Be careful; the above url probably wrapped.

In part, the document notes the following:
<excerpt>
If we want, however, we can add our own headers to the message we are
sending. The reason for doing this is that many messaging systems are
able to interpret certain other headers which are not automatically
added by the NewMail object. Details of these headers, such as the
Keywords, References and Reply-To headers, can be found in the document
entitled Standard for the Format of ARPA Internet Text Messages (STD011)
located at http://ds1.internic.net/std/std11.txt.

To add a custom header to the message we use the Value property of the
NewMail object. So if we want to add a Reply-To header, we would do so
like this.

Set objMail = CreateObject("CDONTS.Newmail")
objMail.Value("Reply-To") = "ste...@ivory.co.uk"
objMail.Send ("r...@here.com", "j...@there.com", "Bad news", "I owe you
£50")
Set objMail = Nothing
</excerpt>

Mike


Michael Harris wrote in message
<#wbiD8Jz#GA....@cppssbbsa02.microsoft.com>...

Michael Harris

unread,
Jul 13, 1999, 3:00:00 AM7/13/99
to
Here's a more precise link...

http://msdn.microsoft.com/library/partbook/asp20/html/usingcdofornts.htm

--
Michael Harris


Michael Fitzgerald <mfitz...@icsystem.com> wrote in message
news:eHz0uwTz#GA....@cppssbbsa02.microsoft.com...

0 new messages