I am sending (successfully) email using CDO within my ASP application, as follows:
----------------------------
myMail.HTMLBody = eText
with myMail
.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.xxxxx.com"
.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
.Configuration.Fields.Update
end with
myMail.Send
-------------------------------
This works on my development server, and xxxxx is my domain name.
The question is:
My client will view the application on my development server. Can I make it so that the email will originate with them? (i.e.
[email protected] where cccccc is their domain).
I realise that when the application is transferred to their server, it will possible to change the smtpserver setting to smtp.ccccc.com, but at this development stage I want to keep the application on my development server but still have the emails originate with them.
Can this be done?
Thanks.