473,320 Members | 1,580 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Sending email via localhost

Is there a way to send email generated from asp scripts run on localhost for
testing purposes?
Running XP pro, but would like to test client pages on //localhost first
before transfering to the domain.

(using CDOSYS and localhost for testing)

What setup is possible with the SMTP server of XP pro to allow email to be
sent (and then recieved from my ISP)

Thanks
Jul 22 '05 #1
4 8125
On Mon, 10 Jan 2005 09:42:31 +1300, "dave" <no**@test.com> wrote:
Is there a way to send email generated from asp scripts run on localhost for
testing purposes?
Running XP pro, but would like to test client pages on //localhost first
before transfering to the domain.

(using CDOSYS and localhost for testing)

What setup is possible with the SMTP server of XP pro to allow email to be
sent (and then recieved from my ISP)


CDO works fine, see:

http://www.aspfaq.com/show.asp?id=2026
http://www.aspfaq.com/show.asp?id=2119

Jeff
Jul 22 '05 #2

"Jeff Cochran" <je*********@zina.com> wrote in message
news:41****************@msnews.microsoft.com...
On Mon, 10 Jan 2005 09:42:31 +1300, "dave" <no**@test.com> wrote:
Is there a way to send email generated from asp scripts run on localhost fortesting purposes?
Running XP pro, but would like to test client pages on //localhost first
before transfering to the domain.

(using CDOSYS and localhost for testing)

What setup is possible with the SMTP server of XP pro to allow email to besent (and then recieved from my ISP)


CDO works fine, see:

http://www.aspfaq.com/show.asp?id=2026
http://www.aspfaq.com/show.asp?id=2119

Jeff


And if it doesnt work fine?
Does the local SMTP service need any configuration?
Are you saying it should 'just work' ?

No errors - no mail in any pickup directory - nothing

Jul 22 '05 #3
I have the same problem Dave using CDO. If I don't have the server set up
(with my domain name in the alias) I get a token error, if I do it acts like
it's sent but I never get the mail in.
I was hoping it would 'just work' but think you do need to configure it, but
not sure of the settings.

Stu
Jul 22 '05 #4
On Mon, 10 Jan 2005 23:31:33 +1300, "dave" <no**@nospam.com> wrote:

"Jeff Cochran" <je*********@zina.com> wrote in message
news:41****************@msnews.microsoft.com...
On Mon, 10 Jan 2005 09:42:31 +1300, "dave" <no**@test.com> wrote:
>Is there a way to send email generated from asp scripts run on localhostfor >testing purposes?
>Running XP pro, but would like to test client pages on //localhost first
>before transfering to the domain.
>
>(using CDOSYS and localhost for testing)
>
>What setup is possible with the SMTP server of XP pro to allow email tobe >sent (and then recieved from my ISP)
CDO works fine, see:

http://www.aspfaq.com/show.asp?id=2026
http://www.aspfaq.com/show.asp?id=2119

Jeff


And if it doesnt work fine?


Then you would have a problem. Unfortunately, you need to tell us
*what* the problem actually is. Maybe if you posted the code you're
using to send the email.
Does the local SMTP service need any configuration?
Possibly.
Are you saying it should 'just work' ?
Normally, yes.
No errors - no mail in any pickup directory - nothing


Nothing? As in there's no information in the SMTP logs? Have you
tested the SMTP service? See:

HOW TO: Test Windows 2000 IIS SMTP Services Manually
http://support.microsoft.com/default...b;en-us;286421

And if that doesn't work, post in the SMTP group, it's not an ASP
issue.

Jeff
Jul 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: praba kar | last post by:
Dear All, I have doubt regarding mail sending smtplib module. The below code is I used to send a mail. ########################################## import email.Message import email.Utils...
1
by: mark | last post by:
I need to send order confirmation emails through my asp.net storefront. With my Asp 3.0 sites I use cdonts with no issues. I've researched the system.web.mail asp.net way and haven't got it to...
5
by: Pascal Cloup | last post by:
Hello, I just want to send an e-mail from my windows form application without specifying SmtpServer. On my computer, when i specify my smtpserver, SmtpMail.Send( aMail ) works fine, but...
2
by: barry | last post by:
The code below is in a button but though there is no error message of any kind I am not getting the email which I am sending to myself. Any help would be appreciated. ...
5
by: cashdeskmac | last post by:
I am writing a web application will will be hosted on a few peoples laptops as a local application. It will send e-mails once the user connects to the internet. How can I set up the "Mail.From"...
3
by: Ant | last post by:
Hi, I'm using the MailMessage & smtpMail classes in System.Web.Mail to send mail, however it's not sending any emails. I'm using it on a Windows 2003 server. The simplest way to use this is...
8
by: Robert Dufour | last post by:
Dim message As New MailMessage("mymail@mydomain.com", "mymail@mydomain.com", "Test", "Test") Dim emailClient As New SmtpClient("localhost") emailClient.Send(message) The IIS server is...
7
by: undbund | last post by:
Hi I am creating a newsletter system. The software should run from desktop computer (localhost) but be able to send email to anyone on the internet. Can you guys give me some ideas on how to...
2
ThatThatGuy
by: ThatThatGuy | last post by:
Hello reader,, This might be a very simple question, but what to just say about it, i'm facing it Actually i'm developing a web App and i want email feature in that.... I'm sending mail from my...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.