dkim18
asked on
SMTP hostname on my webserver for asp.net page
Hi,
I am trying to create this asp.net web page which sends out email.
I need the smtp hostname of my webserver but my web server folks are not so helpful. Either they don't know where to find that name or don't know if that's been configured on the web server.
How can I look for this smtp hostname so I can write it in SmtpMail class in asp.net?
If I can't find it, I just do it in html.
I used Server.CreateObject('CDONT S.NewMail' ) object to email.
Why is it so hard for me to find this smtp hostname??
Is there a way I can guess it if know the domain name, say, something.com?
Thanks.
I am trying to create this asp.net web page which sends out email.
I need the smtp hostname of my webserver but my web server folks are not so helpful. Either they don't know where to find that name or don't know if that's been configured on the web server.
How can I look for this smtp hostname so I can write it in SmtpMail class in asp.net?
If I can't find it, I just do it in html.
I used Server.CreateObject('CDONT
Why is it so hard for me to find this smtp hostname??
Is there a way I can guess it if know the domain name, say, something.com?
Thanks.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
When you say client side, you mean that you're using the web browser to send the email?
> I guess I just have to do with the CDONTS class.
I don't understand. The way you are coding this, has nothing to do with the name of the server. You will have to configure that anyway. You say "you just do it in html", but it is impossible to send email by using html, what do you mean by that (this is a repetition of the question of oobayly, it is important to follow-up, so we can help you in the right direction).
What is the url of the website that you think also has an SMTP server behind it somehow?
I don't understand. The way you are coding this, has nothing to do with the name of the server. You will have to configure that anyway. You say "you just do it in html", but it is impossible to send email by using html, what do you mean by that (this is a repetition of the question of oobayly, it is important to follow-up, so we can help you in the right direction).
What is the url of the website that you think also has an SMTP server behind it somehow?
ASKER
Thanks guys.
Sorry for the confusion.
I said that because I don't remember putting any smtp information when I used the CDONTS.
It is running on the same webserver.
Anyway, I found another web developer who had the smtp sever name.
Thanks.
Sorry for the confusion.
I said that because I don't remember putting any smtp information when I used the CDONTS.
It is running on the same webserver.
Anyway, I found another web developer who had the smtp sever name.
Thanks.
glad you found it and got it working! Tx ;)
ASKER
I guess I just have to do with the CDONTS class.