I want to send string to Computer on port 1000. in my project. I have to send IP:1000 e string. and the programme on computer. listining the port 1000. The programme on computeri call the another machine and get informaiton abouut sistem. So In asp can I send string to computer on port 1000 ? in php I think it is allowed ?? but I know ASP very well but ? is it posibble?
They both pass an argument to the “someASPpage.asp”. The URL that retrieves the passed argument should be one of two frames in a frameset. Therefore I also have the frameset called “frameset.asp” and frame1 (that should hold the “someASPpage.asp”) and frame 2 (that should hold “someOtherASPpage.asp”).
when I click either of the two links I get taken directly to the “someASPpage.asp” page (which unfortunately covers the whole screen) and the passed argument is displayed. I want the “yes” or “no” string to be displayed in one of the two frames instead. The other frame in the frameset should be empty for now. How can I display a frameset and at the same time pass an argument to one of the frames?
i am trying harder to mix this 2 solutions... but without success... the below on seen to be grabing a template and replace the data with the values posted in a form Code:
I'm developing an Asp.NET system to take a CSV file uploaded via the web, parse it, and insert the values into an SQL database. My sticking point comes when I try to split() the string returned by readline() on the file.
The following code snippet works for me: tokens = "one,two,three,four".Split(",") for each token in tokens response.write("<td>"+token+"</td>") next
However, if I take the next line in the CSV, read using StreamReader.ReadLine on the PostedFile.InputStream, I receive "Object reference not set to an instance of an object." which I have narrowed down to be my string holding the line. Further investigation reveals that no other string member functions work on my line (.ToCharArray, .ToString, etc).
I suspect that StreamReader.ReadLine is not correctly returning a string, even though Response.Write(line) displays what I would expect .....
I have a form in which several elements are expected to be all digits. Some of those elements can be left empty, but if specified they must be all digits. I have this Sub to edit them: ....
I am pulling info from a sql server By default the query pulls back the inforamtion as text.Therefore when I go to calculate some figures its giving me a type mismatch error. Is there a function in can call to convert a text string to an integer string using
rstSearch.Fields("name").Value .To pull back the info in a for loop
Error Type: Microsoft VBScript runtime (0x800A000D) Type mismatch
I've been researching how to send text messages and ringtones to cell phones. I've found out that one way is to use ASP which I can handle a bit. Thing is that it seems that you have to subscribe to a pretty costly service that will transmit your messages. The only exception I've found so far is http://smsonweb.www1.dotnetplayground.com/ksms.asmx?op=SendSMS but it doesn't seem to work. Does anyone know of any other free services for this or where I can find more info.I'm not looking to develop any commercial software just to learn something new.
Does anyone have an example of ASP streaming XML? Can I set content headers to indicate the page returns XML? Can this XML be a string or must it be prepared with DOM? I need to create an ASP that queries Access and Oracle,combines the data and returns it as XML.
I want to know something about how to send sms trough ASP,Any help regarding this very much appreciable,If some one have the Sending SMS Script then let me know.
I have the code for the sending mail but i do not know to loop it. I have been given specification saying that i should send mail after registration and deregistration.
so i have a asp page given the action function of the register form so the page updates the registration done. so i given after registration the send mail code and want to have the loop or condition for the mail to be sent to the person who updates registeration and code is as follows....
I'm 99.9999999999999999999% sure there haven't been any code changes, since the date stamps of the code are older than any email 'failures'
The email piece quit working using the mail.send. If there haven't been any changes made to previously working code, where do I look for the problem now? I restarted the SMTPservice in IIS. Our real email is hosted remotely, I checked with the admin and she said no changes were made, i.e., not blocking port 25 traffic from the gateway.
I guess this isn't ASP specific, but any ideas how to troubleshoot this?
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 am sending mail from ASP program. My server is win 2k, IIS 5. SMTP server is configured.
I am generating a report(purchase order) and the same sending as an email to the supplier. upto last week it was sending well. Now its returning bounce mail.
in the c:inetpubmailrootadmail contains the file(.bdr). The contents of the file are ....
I would like to know how can i nodify some users which are into my databese with an e-mail? How can i sent to them an "automate" e-mail using VB script.
<% Set Mail=Server.CreateObject("CDONTS.NewMail") Mail.To="rashwathama@yahoo.com" Mail.From="rashwathama@yahoo.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 response.write "DONE" %>
But it did not work
I use Windows 2000 Server and Internet Information Service (IIS).....
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.
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.
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.
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 .....
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?)
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.
I must send to the page below(MailBee.asp) the two parameters UserName and Password. The page MailBee.asp is a different page, the code below is from the page where I have done the form(login.asp), so MailBee.asp is the page where I must do the authentication.That's why I must send to this page the two parameters, but I don't know how can I do this with the method action.Code:
When I click submit, everything looks fine, but it doesn't seem to send an email. I'm now at a complete loss as to why it won't email and would be grateful if someone would have a look to see if they can see where I'm going wrong, here's what I have. I wonder if it's the HTML that's wrong or the ASP as I don't have any error messages: Code:
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: ....
thanks to sitepoint forum,i am requesting a problem about forgot password . if user forgot his/her password how can i retun his/her same password in email address? i did like this: ...................... <% Set myMail=CreateObject("CDO.Message") myMail.Subject="your password" myMail.From="codes" myMail.To=ml 'ml var return current email address myMail.TextBody=yrpass 'yrpass variable return password myMail.Send set myMail=nothing %> ...................
Where can i found the source code that allow me to key in myself email address and message and then key in friend's email address, after that my email address will be send out to my fren with my site URL and message that i typed?hope its asp file extension.