cdo email results in an email that displays blank sender in outlook

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

emebohw2_at_netscape.net
Date: 01/18/05


Date: 18 Jan 2005 10:06:51 -0800

I am using cdo and it is working, however in outlook the sender I
specify shows up blank. When I open the email (not preview) I can see
the sender I specify...whats up? Heres what I am doing:

'---- code begins
sub notify()
err.clear
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "my subject" & vMonth & vDay & vYear
objMessage.Sender = "me@mydomain.com"
objMessage.To = NotifyEmail
objMessage.TextBody = vLog
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver") =
SMTPServer
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25

objMessage.Configuration.Fields.Update
objMessage.Send
Set objMessage = nothing
Set NotfiyEmail = nothing
Set SMTPServer = nothing
end sub
'-----code ends



Relevant Pages

  • Re: cdo email results in an email that displays blank sender in outlook
    ... >I am using cdo and it is working, however in outlook the sender I ... > sub notify() ...
    (microsoft.public.scripting.vbscript)
  • Re: Exchange email showing read when popped
    ... I don't know that there is any way around this if the sender is reqeusting a ... read receipt...in Outlook, you can specify to not send a ...
    (microsoft.public.exchange.admin)
  • Re: Anonymous messages
    ... specify any senders for the messages, so that the recipient receive a ... There's no way I know in Outlook to not have a sender address, which, if there is no From field, will be interpreted by the recipient client as From. ...
    (microsoft.public.outlook)
  • Re: Display senders actual address in Outlook
    ... It only displays the name of the sender. ... sender mail agent's equivalent of the "Your Name" account property. ... If they specify nothing, the Outlook probably shows the sender's mail address. ...
    (microsoft.public.outlook)
  • Re: suffix .dat
    ... The only .dat files I've seen are winmail.dat attachments in email. ... These are sent from Outlook Windows whenever the sender sends mail in RTF ...
    (microsoft.public.mac.office.word)