Changing the From/Sender address, CDO and SMTP service
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS and SMTP > Changing the From/Sender address, CDO and SMTP service




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Changing the From/Sender address, CDO and SMTP service  
Des


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-19-04 12:48 PM

Hi all,

I'm new to IIS so apologies if the answer is obvious. I've created a simple
asp.net web app which uses the SMTP service of IIS on a Windows Server 2000
box to deliver messages. The SMTP service was configured previously by
someone who knew their onions - I don't. It works very well though. However,
the messages are delivered with a from address of a generic exchange account
.
I've been asked to make the messages appear to be sent from a more
descriptive account e.g. 'Marketing Communications' for which there is an
existing exchange account. That way people who receive the mails will reply
to the more relevant account.

Looking around the SMTP service properties I see the generic exchange
account specified in the Windows Security package option of the Outbound
Security dialog of the Delivery tab. I guess (?) I can change this to the
nicer 'Marketing Communications'  user account but I'd rather not interfere
with this setting (other apps might be affected).

My asp.net application creates the message as a CDO.Message object. I've
tried setting the From and Sender properties to the Marketing Communications
address but then they don't get delivered - they are only delivered when
these properties are set to the generic address.

Is there a way I can configure either IIS or the CDO messages to be
delivered from the generic account but appear to be from the Marketing
Communications address?

Thanks,

--
Des Geraghty





[ Post a follow-up to this message ]



    RE: Changing the From/Sender address, CDO and SMTP service  
Des


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-19-04 10:57 PM

Problem solved! In the CDO.Message object I had been setting different From
and Sender values. Once I set them both to the desired address all was well.
Technically I probably don't need to set the Sender property at all.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:28 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register