1st, i want to auto check my db to see if there's any mails to be sent on that day, at 12am everyday... i should create a batch file or create a asp script and use vbscript to call my asp file? How to create a batch file?
2nd, i go a search function..
In my db, i got a column with data like this "a , b , c"
When the user entered "a", i want the information that have "a" in that coulmn to be taken out... i want an exact match of the word (seperated by the comma).. But when i search, how do i seperate the data in the column by a comma to see if i have an exact match?
using asp and vbscript is it possible to send auto emails to the engineers who r assigned that work if the text box contains their name and we can also retreive their email ids.how can u send auto emails to them by clicking a button on the asp form?
I am trying to add to a web site I am currently designing the function of automatic email sending. I want users to be able to sign up to a mailing list by completing a form (easy enough) and when they click 'Submit', the information is sent to my clients email address. I can quite happily programme everything described here and to auto launch the users email editor (Outlook/Thunderbird etc) with Subject and Body automatically completed but cannot send the information WITHOUT launching the email editor! I see this function on many web sites - no fuss, not even having to click the SEND button, just Submit and it's gone! This is obviously important for people with hotmail accounts etc who don't use Outlook/Thunderbird.
Set cdoMessage = Server.CreateObject("CDO.Message") Set cdoMessage.Configuration = cdoConfig cdoMessage.From = "admin@nyc-discusfanatics.com" cdoMessage.To = strEmail cdoMessage.Subject = "NYC-Discusfanatics.com User Registration" cdoMessage.HTMLBody = "<html>" &_ "<body>" &_ "Hello "&strUName&"<br/><br/>" &_ "Thank you for registrating with NYC-DiscusFanatics.com Please activate your account by clicking the link below.<br/><br/>" &_ "<a href='http://www.nyc-discusfanatics.com/face/dragonball/AccountActivate.asp?UserID="&strID&"'>Activate my account.</a>" &_ "<br/><br/>Thanks for your registration." &_ "<br/><br/><br/>Vincent" &_ "<br/><br/>Administrator of NYC-Discusfanatics.com" &_ "</body>" &_ "</html>" cdoMessage.Send Set cdoMessage = Nothing Set cdoConfig = Nothing
I got return email that the mail fail to deliever to AOL user. I assuming AOL email doesn't accept ASP script embedded in the email?
I doing my sistem in localhost. I try to use the method below to auto send mail to the mailbox. But why i didn't receive any mail from it?
Dim objCDO Set objCDO = Server.CreateObject("CDO.Message") With objCDO .To = "spch2o@yahoo.com.sg" .From = "spch2o@hotmail.com" .Subject = "Pemberitahuan Perjanjian Perbualan Sistem Penilaian Perisian Khusus Matematik" .HtmlBody = "perjanjian anda telah ditetapkan pada...." End With Set objCDO = Nothing
I am working on a script and I have a form to a page to be submitted (POST-ed) to an external site.
I need that when the user submits the form, first step is to send an email using an asp script and only after that to post the information to the web site. I can send the email but I don't know how to post the form automatically after I send the email. I think I can use javascript, but maybe there is a better way of doing it?
We are planning to improve the present search (Product DB search). Is there any way on ASP script to make an auto complete text box, loaded with the product names (like in google suggest). I hear AJAX, can that be used with ASP scripts?
I've got an asp page that populates a listbox with info from a db.
The list box ends up being pretty big, so I want to be able to search it effectively. I like the method wherein the user types the letters of the word they are looking for from within the listbox and the control automatically scrolls to the item matching the chars they have typed thus far.
Example:
If the listbox were to contain states Alabama, Alaska, and Louisiana, when the user clicked in the listbox and typed "Ala" the box would scroll to Alabama, and when they typed an additional 's', so the typed string was "Alas", the box would scroll to Alaska.
Problem:
I've got javascript that does this very well, but the listbox control default search behavior overrides my javascript. So, the javascript will correctly index to Alaska when "Alas" is typed, but when the javascript function is done running, the list moves down to Louisiana, because the asp control thinks that by typing 'l' the user wants to move to the first item in the box beginning with an 'l'.
Question:
Can I disable the default search behavior in the control? If so, how? If not, does anyone have any thoughts on how else I might get around this problem?
we have an Access database of our clients. It has fields for email addresses and date of expiry of their rents. I would like to write an application that would email our clients automatically according to the dates in the database fields, giving notice that their rent is about to expire like for example, within one month.
I just would like to ask if you could somehow give me some idea or point me to a website that will give me insights. Thanks very much indeed and hoping for your kind response.
I have my edit page set so that, at a later date when payment comes in, I change the field "Confirmation of Funds" to Yes, which has a value of 1, which automatically sends an email to the customer whose funds I've received.
The problem is, if I go into the edit page later, to change an address or whatever, the email will get sent again, since the Confirmation of Funds field is still set to 1.
Is there a code I can stick in, after the code which sends the email, that will change the Confirmation of Funds field to 3, which I have as "Email Sent"? I already have that as a selection in my dropdown box, but I need to automatically change it after the email is sent.
I'm thinking something along the lines of
If COnfirmation of Funds = 1 Then Confirmation of Funds = 3 End If
Obviously that's wrong (I even tried it!) Can someone give me the proper syntax?
i required to auto send confirmation email after user registered..(like registration process in aspFree)...I read a lot n the solution is by using CDOSYS...i've found one example of the cdosys script...but i need some explanation on how to test it in localhost...how do we know its work or not...or is there any subtitute from using cdosys for sending email to user?
ken any 1 enlighten me on wat to do for the following:
im suppose to allow user to enter their particulars in this registration for, following which Im suppose to auto generate a password and email it to them at the same time(after they have submitted their registration form).
point me to some resources about Email Auto Verification. I'm using ASP.What my system is doing is after the user sign up, my system need to send an email automatically back to the user's email. The user only can login after he receives that email from our system. This is to make sure the email he keys in is valid.
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
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 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: ....
<% 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?
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).
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.
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 %>
I have developed a website in ASP 3.0 and Acesss 2000/SQl Server.
I wan my web site sent invoices to my customer automatically ...at some specified time (lets say it execute ceratain ASP page at 3:00 am that send emails)
how can i schedule that?
Should i write some program (EXE) that will run on web seerv to do this task or do we have soem other decent solution?
Basically I have a page and I would like to have several forms on this page where a user can input thier email address and a short comment, then click on send and i get n email with the details.
I know how to set up a basic form but I have no idea how to send it, can anyone help me and show me what to put where to set this up on brinkster please.
Oh and I would prefer to use ASP if thats possible.