Send Email From Local Machine
i just wondering how to send email from my local machine. i mean the sending email by CDONTS is working good on the web server but not on my local machine. is it an IIS configration issue or some software i must install ?
View Replies
ADVERTISEMENT
I have written an asp page that is supposed to send email (using CDONTS). I think my code is correct, but I'm trying to test it from my local machine and although the ASP code runs I am not sure the email portion of the code works.
I have not yet received any messages from the code. Perhaps there is a delay of some sort - or perhaps it is because I am on a network behind a firewall. Whatever the case, could someone offer some suggestions in testing the emailing portion of my code? Code:
View Replies
View Related
I would like to evaluate some shopping cart software to use on my next project. I am new to asp and as yet my hosting does not support it. Before I go ahead and upgrade my hosting I wanted to see how the various packages work.
I am running XP Pro SP2 and have installed IIS. The folders seem to be where they should be and I have access to the settings through the Administrative Tools.
When I put a htm file in the wwwroot folder it loads fine if I type http://localhost but the asp files are either downloaded or opened in dreamweaver.
Do I need to do something special to enable asp files to open on my local machine??
View Replies
View Related
I'm not a networking/IT guy, but I was put in charge of figuring out how to use ASP to tap into an Oracle db for my office. I am using a windows 2000 laptop, and I want to be able to run ASP code on my local desktop (without being plugged into a network).
I need a lot of help here. I know I have to turn my computer into a webserver, but I'm not certain what I need to do with the IIS. What do I need to do in general to make my computer a webserver? In addition, I will be using a local Oracle database. So I wasn't sure what I would need to do to make that db available for querying with ASP. What is the best way to make that connection?
Anyone who can point me to useful documentation.
View Replies
View Related
have an SQL DB which clients access via asp pages through the internet, in the case of a power outage I need to write that data automatically in the background to a txt file on their local machine, I would imagine it would involve a script of some kind.
View Replies
View Related
Am I now setup to view .asp on my local machine, or do I have to "upload" the pages to IIS? If the latter, how do I do this?
View Replies
View Related
I copied one of our websites to a CD and wanted to run the website off of the CD. However, it won't run the index.asp on Windows XP machine. Do I need to install some dll's or something?
View Replies
View Related
when i export a dbf file from Local machine to Access in Webserver i get a message :
Microsoft JET Database Engine error '80004005'
'C:WINDOWSDesktop' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
what could be the reason.?
View Replies
View Related
I'm using WinXP Professional SP2, I've installed IIS, but am having a problem viewing the temp version of the ASP file IE makes when you go to view an ASP page.
So, I hit F12 to bring up IE and my ASP page, IE generates a URL something like, http://localhost/MyWeb/ACEI/TMP91g0dk4dw.asp ... but that always comes back as a "File Not Found" error, however if then I replace the TMP91g0dk4dw.asp part with the actual file name e.g demo1.asp..the page runs fine.
View Replies
View Related
im trying to create a intranet site which copies files to the server. im guessing i should use filesystemobject to achieve this but im not sure on how to accompish this.
View Replies
View Related
I have a cdo script to send an email from a web page hosted externally to my company. I want users to be able to attach multiple documents from their local machines.
How do I do this - do I need to upload them to the server first or does cdo do this automatically?
I tryed this: MyMail.AddAttachment "F:/images/test.gif" but get the error: 'The system cannot find the path specified.'
View Replies
View Related
Quick question - I would like to practice my ASP scripting and wish to be able to test my applications on my web browser on my local machine.
What piece or pieces of software would I need to enable this? I have Macromedia Studio MX and Edit Plus which I assume will act as suitable editors for ASP scripts?
Is it only some kind of Personal Web Server software that I will need to run my scripts on my local machine?
View Replies
View Related
I need to know how to write a text file to a local machine. Here is my code:
Set myFSO = Server.CreateObject("Scripting.FileSystemObject")
Set WriteText = MyDrive.CreateTextFile("C: est.txt", True, False)
Right now it writes the file to the C: drive on the server.
View Replies
View Related
I have one .asp page with form and <input file> field on it.I want to copy selected file from local machine on server.But it doesn't work.
Should I use some component?
View Replies
View Related
explain abt copy files from IIS image path to local client's machine.
View Replies
View Related
I am trying to prevent users from submitting HTML pages from their local machine to our website and I was wondering what the best way of doing this was.
I was thinking about using the HTTP_REFERER server variable (to check where the user has submitted a page from) as a blanket fix however when you use the javascript document.location on a page the HTTP_REFERER is always blank, which makes that a flawed fix.
I have seen other sites protect against this, so I know it can be done. Whats the best way.
View Replies
View Related
How will we convert the system date & time to other timezone for eg: Eastern Time zone using ASP?
View Replies
View Related
i used the following script but it won't send the email. any suggestions why?
<%
Dim TBdy
Dim MyCDO
CR = Chr(13)
Set MyCDO = Server.CreateObject("CDONTS.NewMail")
MyCDO.From = "person@something.org"
MyCDO.To = "allstar@aol.com"
MyCDO.Subject = "collegebound info"
TBdy = Request.Form("cb_name")
MyCDO.Body = TBdy
MyCDO.Importance = 1 (Normal)
MyCDO.Send
Set MyCDO = nothing
%>
View Replies
View Related
I have created a form that sends email thru my local server. What I want to do is send the email thru our corporate Exchange server. Does anyone know how I can accomplish this task? Please advise. Thanks.
P.S. I’m using Dreamweaver MX2004.
The code that sends email is shown below ....
View Replies
View Related
I'm new with asp and server thing so if somoene could help me to resolve my problems
it would be very great.
I'm trying to send myself an email but it doesn't work, no error message, I just don't receive any email.
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="bob@hotmail.com"
myMail.To="bob@hotmail.com"
myMail.TextBody="This is a message."
myMail.Send
I'm using IIS at my home to test this code.
View Replies
View Related
Our local educational host doesn't have any COMs on their servers so I need
to use the built-in (if there is one!!) mail/smtp component of ASP.net to
send web form data via email.
Is there such a thing in ASP.net? My apols for the newbie question, but I'm
still an ASP classic developer.
Could somebody post me an example of how to use it.
View Replies
View Related
We currently have a form that is in PHP that after the user fill out the form and hit submit, this form send all the information via email to us. I like to know if there is a similar feature or way to do this in ASP.
View Replies
View Related
using the code below is how to send email using asp;
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="martialdc@hotmail.com"
myMail.To="amboy416@yahoo.com.ph"
myMail.TextBody="This is a message."
myMail.Send
set myMail=nothing
%>
but i encounter this error;
There is a problem with the page you are trying to reach and it cannot be displayed.
attached with this thread is the file (send.asp) so that you can check it for sure.
View Replies
View Related
I am trying to develop a web site which involve in log in n to retrieve password. When a user forget their password they will use this service, after they enter their email address, i will send their user id and password to their email which allow them to see their user id and password, but i don know to to do this service which will automatically send email to user email address when they click the button .....
View Replies
View Related
I've got an asp page that uses CDO.Message and
CDO.Configuration to send an email.
I'm not receiving any of these emails normally (i.e. in
Outlook), instead they all end up in this folder :
Inetpub/Mailroot/Queue.
Could someone please explain what this means? Does this
mean the emails have been successfully sent?...or are they
waiting to be sent?
I'm pretty sure my smtpserver name is correct because i've
got the same thing going in .NET and it all works ok there
(as in I get an email thru Outlook). Just can't seem to
get it going in ASP.
Not sure if it this relevant...I'm behind a firewall, so
i'm assuming the smtpserver name is for a smart host,
which is fine in .NET, but i'm not sure how that'll work
out in ASP (eg. what do i set the serverport number to?)
View Replies
View Related
I've just downloaded a component called AspEmail (http://www.aspemail.com). When i tried to test my code using the localhost, it require sthe address of my SMTP server inorder to send the email.
I put "localhost" as the address but i cannot send the mail for some wierd reason. I check the badmail folder just to find some mails under the "queue" folder.
I've tried the same code in a different pc, and i got a different error: AspEmail: Simple.asp
Error occurred: Connection timed out.
Does any body know how to send email using that aspemail component on localhost
Appreciate it.
View Replies
View Related
I want to implement a function to send emails to the registered users from my web site using ASP. The problem is that the web server provider I'm using does not support any email components (such as CDO, CDONTS, or third-party) or SMTP server.
Therefore I'm looking for some free email/SMTP provider which enables me to send the email information from my ASP web page to their server and it will forward it as ordinary emails to the recipients.
One way to do it could be to set up a html form with fields to hold the email information (recipient addresses, sender address, subject and body) and send it to the service provider. Something like: ....
View Replies
View Related
<%
Set Mail=Server.CreateObject(“CDONTS.NewMail”)
Mail.To=”me@mydomain.com”
Mail.From=”testing-my@SP-Script.com”
Mail.Subject=”Just testing my script”
Mail.Body=”Hey! I am sending this email through an ASP Page and
guess what? I haven’t learnt much yet, but know that ASP is very
powerful.”
Mail.Send
Set Mail=nothing
%>
Can I use the above code, if my pc is running on Windows XP Professional Edition?
View Replies
View Related
I'd like to get opinions on how this can be done. The brief background is that there is someone who, on a daily basis, puts together an email with links and text related to immunization.Would it be possible to automatically: receive this email; fit it into a database; then have a web page read the contents of the page from the database?
e.g., the web page could be told to present the text with the highest record number (assuming each new email is entered in as a new record).
View Replies
View Related
I want to send an E-mail whoever registers to my website. How do I do it?
I visited www.w3schools.com but it is not working.
View Replies
View Related
How can we send email to the given email id with the current page text as the body text of the email.
View Replies
View Related
I try to send email, however i have a problem
set mailmsg = Server.CreateObject("CDONTS.NewMail")
mailmsg.To = "xxx@mail.com"
mailmsg.From = "yy@mail.com"
mailmsg.Body = "This is a test message."
mailmsg.Host = "xxx.host.com"
mailmsg.Send
With this code they work fine but if i do this code
Set oConfig = CreateObject("CDO.Configuration")
to do smtp authentication i received the error that object can be created, because pc of my web hosting have linux with operating sytems and have installed a package to run asp.
Can anyone know other object to do smtp authetication.
View Replies
View Related
i have created a form that emails the data once the submit button is pressed...however i am not recieving the email message. Im not sure if it is because im developing with IIS and its not able to send from my local computer or if it is my code. here is the basic action page
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="test@tvds.ca"
myMail.To="k.letendre@tvdsb.on.ca"
myMail.TextBody="This is a message."
myMail.Send
set myMail=nothing
%>
View Replies
View Related