Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 07:31 AM
Prashanth
Guest
 
Posts: n/a
Default asp mail problem -- urgent

Hi,

I am trying to send a mail from the asp page. The page works fine
without error but i am not able to send any mails. I have set the To and
From Property to my email account. Is there any configurations i have to set
in IIS or anywhere else.

This is the code.

Set objMail = Server.CreateObject("CDONTS.Newmail")
objMail.From = "someone@xyz.com"
objMail.To = "someone@xyz.com"
objMail.Body = "Testing mail"
objMail.Send
Set objMail = Nothing

Thanx in advance




  #2  
Old July 19th, 2005, 07:32 AM
Seb
Guest
 
Posts: n/a
Default Re: asp mail problem -- urgent

Hi

What is your error message ?

With the same code, I have not problem !

Seb


"Prashanth" <someone@microsoft.com> a écrit dans le message news:
OScQA$9XDHA.2020@TK2MSFTNGP10.phx.gbl...[color=blue]
> Hi,
>
> I am trying to send a mail from the asp page. The page works fine
> without error but i am not able to send any mails. I have set the To and
> From Property to my email account. Is there any configurations i have to[/color]
set[color=blue]
> in IIS or anywhere else.
>
> This is the code.
>
> Set objMail = Server.CreateObject("CDONTS.Newmail")
> objMail.From = "someone@xyz.com"
> objMail.To = "someone@xyz.com"
> objMail.Body = "Testing mail"
> objMail.Send
> Set objMail = Nothing
>
> Thanx in advance
>
>
>
>[/color]


  #3  
Old July 19th, 2005, 07:32 AM
Alan
Guest
 
Posts: n/a
Default Re: asp mail problem -- urgent

Is the virtual SMTP server running on the web server? If not, you can pick
up the outgoing emails from the C:\inetpub\mailroot\pickup folder on the
server.

Cheers,

Alan

"Prashanth" <someone@microsoft.com> wrote in message
news:OScQA$9XDHA.2020@TK2MSFTNGP10.phx.gbl...[color=blue]
> Hi,
>
> I am trying to send a mail from the asp page. The page works fine
> without error but i am not able to send any mails. I have set the To and
> From Property to my email account. Is there any configurations i have to[/color]
set[color=blue]
> in IIS or anywhere else.
>
> This is the code.
>
> Set objMail = Server.CreateObject("CDONTS.Newmail")
> objMail.From = "someone@xyz.com"
> objMail.To = "someone@xyz.com"
> objMail.Body = "Testing mail"
> objMail.Send
> Set objMail = Nothing
>
> Thanx in advance
>
>
>
>[/color]


  #4  
Old July 19th, 2005, 07:32 AM
Tom B
Guest
 
Posts: n/a
Default Re: asp mail problem -- urgent

What kind of server is it? Does it have CDONTS?
Apparently Windows XP and Windows 2003 do not have CDONTS but rather CDO


"Prashanth" <someone@microsoft.com> wrote in message
news:OScQA$9XDHA.2020@TK2MSFTNGP10.phx.gbl...[color=blue]
> Hi,
>
> I am trying to send a mail from the asp page. The page works fine
> without error but i am not able to send any mails. I have set the To and
> From Property to my email account. Is there any configurations i have to[/color]
set[color=blue]
> in IIS or anywhere else.
>
> This is the code.
>
> Set objMail = Server.CreateObject("CDONTS.Newmail")
> objMail.From = "someone@xyz.com"
> objMail.To = "someone@xyz.com"
> objMail.Body = "Testing mail"
> objMail.Send
> Set objMail = Nothing
>
> Thanx in advance
>
>
>
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles