Re: CDO questions

Tech-Archive recommends: Fix windows errors by optimizing your registry



wolfing1@xxxxxxxxx wrote in news:1126551076.618165.164440
@f14g2000cwb.googlegroups.com:
> Not sure if this is the group to post these questions, but I got a
> couple:
> - How do I specify an alias for the 'from' address? I tried using
> "alias" test@xxxxxxxx but the smtp/exchange server would change it to
> the first name/last name of the user account

If you mean CDO1.21, then that's entirely correct -- the server will
authenticate you. You need to set PR_SENT_REPRESENTING_EMAIL_ADDRESS et
al, but you'll still only be able to do this for people that have set
you as a delegate for sending on behalf of them.

> - When using CDO and creating a message object, how could I set a
> message to have a different address for replies and one for bounces? I
> mean, is it possible to specify different addresses for "From", "Reply
> To" and "Bounce to"?

I don't think so, no.

You probably want to use either raw SMTP, in which case you can do
whatever you want with the headers as there's no authentication (but
you'll need to be able to find a server from somewhere), or CDOWin2K,
which gives you more control.

-- dan
.



Relevant Pages

  • CDO questions
    ... - How do I specify an alias for the 'from' address? ... - When using CDO and creating a message object, ... message to have a different address for replies and one for bounces? ...
    (microsoft.public.win32.programmer.messaging)
  • Re: Shared Fax Service Not Emailing Users
    ... I wanted to know how to get Fax to use the default CDO SMTP ... server, it must have a default. ... > Please do not send email directly to this alias. ... >> However, i nver specify a server, it must use a default. ...
    (microsoft.public.win2000.fax)
  • Re: dcdiag - advertising errors on newley promoted domain controller
    ... DNS server: uksccmads02.jw-uk.jameswalker.co.uk ... Alias and glue records for forest GUIDs from server: ... Skipping site UK-CCM, this site is outside the scope provided ...
    (microsoft.public.windows.server.active_directory)
  • Re: dcdiag - advertising errors on newley promoted domain controller
    ... You should run dnslint on uksccmads01. ... DNS server: uksccmads02.jw-uk.jameswalker.co.uk ... Alias and glue records for forest GUIDs from server: ...
    (microsoft.public.windows.server.active_directory)
  • Re: Email Programming using System.Web.Mail
    ... With System.Web.Mail,, the book for the SmtpMail class says that if you do not specify a value for SmtpServer then it uses the local SMTP server. ...
    (microsoft.public.dotnet.languages.vb)