Email sender name wont display from automatically generated email


I have the below code to automatically send an email using the CDO object, it works fine however when the email arrives in the uses inbox (in outlook 2003) the from address does not show a sender name, when they open the email is does show in the from field: Auto Mailer [] which is ok but it does not display anything in the from field in the preview view of the emails. Also when they get the email notification ballon box popop it says "Unknown sender"  is there any way to fix this what seems to be quite a minor issue so that the sender from name is always displayed?

Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "NPD Date changes"  
objMessage.Sender = """Auto Mailer"" <>"
objMessage.To = ""
objMessage.TextBody = "Test"

objMessage.Configuration.Fields.Item _
("") = 2
 objMessage.Configuration.Fields.Item _
("") = "email.ourdomain.local"
objMessage.Configuration.Fields.Item _
("") = 25

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I'd include:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kevin1983Author Commented:
Thanks Cookre, thats done the job fine.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.