"Email To Your Freind", Functionality
I have a main asp page, and i need to send the link to a friend, via an email. Say if i click the link "Email this to a friend", what i like is to make a pop up window and ask to enter username email address and freinds email address and click send, i need to send the link as i have on top ,is it possible to get the link which i have on top of the page as a paramter from the pop up window other than sending all values by url. Code:
View Replies
ADVERTISEMENT
i have a server that has x number of pdf's. from time to time people are wanting to print one or more of those pdf's. right now they have to open up each pdf individual and then print. which can get annoying and time consuming after 3 or 4 pdf's.
i'm going to setup a simple screen where they can use a checkbox to select which pdf's they want to print, hit print, and then combine the selected pdf's into a temporary pdf where they can go through the process one time.
do yo all know of perhaps some functionality built into asp or some third party deal that will allow me to do this?
View Replies
View Related
i have this search textbox and i want to search the likeness of the value
i've entered in the box i created a query but i notice that when i type small caps letters it returned no results...
no matching record but when i capitalized the first character records were found
e.g i type San the query returned results... i entered san and it returned nothing....this is my code "select * from profile where name='varname%'"
help please?
View Replies
View Related
I am really interested in creating a search the site.I am unsure how to actually approach such a task, but would rather do this using ASP, without the use of third party search tools, taht I know can be used.Can anyone give me some direction for actually developing one.I hope to add one to my site in the future, as the site will mainly be focussed towards offering tutorials etc, and it would be cool to actually have a serach utility, that could make things a lot easier for the viewer.
Any advice.
I have briefly looked at one offered on: http://www.stardeveloper.com/
But the complexity of it is overwhelming, and includes code that I dont think would be required for the search I actually have in mind.
View Replies
View Related
Im trying to finish off this project, but obviously I need a way for them to edit the database through asp. Does anyone know a good place to get some code or tutorial help for this?
View Replies
View Related
point me to some code/pointers that would pull down the HTML of a page as a string, a little like ASPTear?
View Replies
View Related
I made an application using asp using help from fellow members. This application allows user to download files uploaded through ftp through a web page. they can select the check-boxes and download all the files in a single zip file.
Now some users want that some search functionality should be put on so that they can type a part of file name and all the files having the searched words in their name should come on a separate page so that they can select and download in one go.
View Replies
View Related
InterDev 6 IntelliSense functionality is gone. IntelliSense is when you type Response. and it automatically pops up a menu with Response Methods:
Write
End
Redirect
...
Anybody knows which Windows DLL's or EXE are responsible for this functionality?
View Replies
View Related
I want to give Excel functionality. like copy/paste functionality in a web page and similarly I want to update the respective values at the backend after some action is taking by the user. like save/upadate data.
View Replies
View Related
I need to read information from a delimitered text file and list it in a specified format on a web page.
I have no access to a database so have to use the method above, I am wondering though, how much of a strain this sort of function would be (ie. load times etc) for a very large list?
If someone could point me in the right direction of which functions i need to be learning about (Old hand at PHP brand new to ASP),
View Replies
View Related
I am trying to figure out a good way to go by protecting from sql injections, but still letting people be able to post those symbols etc...
View Replies
View Related
I want to add a "quick search" functionality in ASP or ASP.NET page. I heard
we can use Microsoft Indexing Service to accomplish the task, but not sure
how to do it. Is this the correct approach? Code:
View Replies
View Related
I want to redirect users who DO NOT SUPPORT sessions to another page.
Think this will work? PSEUDO CODE:
-------------------------------------------------------------------
<asp vbscript>
<session("test")="true">
<if session("test")="true" then do nothing else
response.redirect(www.domain.com/nosessions) end if>
-------------------------------------------------------------------
This is setting a session state of "true", and I presume if sessions are
disabled for security reasons, that the site will redirect accordingly?
View Replies
View Related
I am trying to create a very simple search functionality on my site. But I keep getting syntax error. Any one knows what I am doing wrong? Code:
View Replies
View Related
I'm pretty new to this and im in the process of developing a site for a wildlife photographer in ASP and i need to implement an image search on the site including the functionality to add images to a lightbox etc. And to be honest i just dont know where to start... been searching and currently still searching .....
View Replies
View Related
Im running a simple mail system program which emails newsletters to a database list of 3000+ users.
The program loops through a database containing the emails and sends them out using ASPEmail.
My question is, is there some way i can validate each email address so that if there are invalid characters e.g. the space in "blah @blah.com"
it will skip the record and continue the loop.
At the moment i have a working program however, whenever the program comes across an invalid email address it stops at that record and prevents the program from emailing any further.
View Replies
View Related
I am having a problem formatting an email message which comes from a form.
I am currently having difficulty with the <br> tag which I am using for line spaces within my email. I am getting an expected statement error message which is pointing to the line which is underlined below. I can't think what is causing this.
The code for my processing page is below:-
View Replies
View Related
1. I want users to type in their email address on a textfield, and after users press the "Submit" button. The info will automatically go to another person's email to receive a compliment, suggestion, etcetera.
2. Another is how to include the message written on a textarea of a form with the ASP code supplied below: Code:
View Replies
View Related
how to write to check verification valid email thru nslookup or mx record or dns record. Is it possible to do that. Is there any tutorial from sitepoint, previously found it but i lost the link.
example to check assume test@domain.com is not a real email, abc@domain.com is real email
how do u check it.
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
Just starting to play with scripts, and need a little guidance. I want to check to make sure that the email addresses users enter in a form are identical before it will allow them to submit. here's what i have:
the variable for the second email address is EmailFrom2
'validation
Dim validationOK
validationOK=true
If (Trim(EmailFrom)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("emailerror.htm?" & EmailFrom)
If (Trim(Name)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("nameerror.htm?")
If (Trim(CityState)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("citystateerror.htm?")
If (Trim(SchoolName)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("schoolnameerror.htm?")
View Replies
View Related
here is the script i use:
Set myMail=server.CreateObject("CDO.Message")
myMail.Subject="subject"
myMail.From="me"
myMail.To=request.form("email")
myMail.TextBody="hello"
myMail.Send
set myMail=nothing
this script sends emails to some addresses but not others--and its based on the email service it's sending to. for instance, hotmail email addresses get the email, but mail.com email addresses dont get the email. i have tried sending it to other email hosts, too, and still, some work, some don't. what is going on here?
View Replies
View Related
I am using CDONTS component to send email in ASP.
The code is some thing like this:
Dim Mail
Set Mail = Server.CreateObject("CDONTS.Newmail")
mail.From = "abc@hotmail.com"
mail.to = "xyz@hotmail.com"
mail.subject = "Test Email Subject"
mail.body = "This is Email body message"
mail.send
Now the question is that this code will use the Default Virtual SMTP Server in IIS, but I want to use my ISP's SMTP server. please tell me how to do this. I have used my ISP's email server in Outlook express and it is working fine. Please do not suggest to use "CDO" or "CDOSYS" to use for sending emails because I must have to use "CDONTS".
View Replies
View Related
has anyone got a function or subroutine which will remove blank out or remove email addresses.
i've wrote a function which will remove valid email addresses, it's pseudo addresses such as "blah @ blah.com" or "blah_at_blah_dot_com" or "blah_at_blah_._com"
the function is basically to stop users posting an email address in a message.
View Replies
View Related
I've created an com+ application for sending emails with multiple attachments.The component looks like this:
Public Function SendMail3(toAddr, whoAddr, docSubj, docMsg, ByVal docType As Integer, Optional cc = "", Optional bcc = "", Optional sFolder = "", Optional user = "")
On Error GoTo MailErr
Set oFlds = oConf.Fields
oFlds(cdoSendUsingMethod) = cdoSendUsingPort
oFlds(cdoSMTPServer) = SMTPSrvr
oFlds(cdoSMTPServerPort) = SMTPPrt
oFlds(cdoSMTPAuthenticate) = cdoBasic
oFlds.Update
Set oMail = New CDO.Message
oMail.From = whoAddr
oMail.To = toAddr
If (cc <> "") Then
oMail.cc = cc
If (bcc <> "") Then
oMail.bcc = bcc
If oFSO.FolderExists(sFolder) Then
Set oFolder = oFSO.GetFolder(sFolder)
For Each oFile In oFolder.Files
If InStr(oFile.Name, "_" & user) > 0 Then
oMail.AddAttachment oFile.Path
FileSize = Format((FileLen(oFile) / 1024) / 1024)
SumSize = SumSize + FileSize
oFSO.DeleteFile (oFile)
End If
Next
End If
End If
End If
If ((docType Mod 2) = 0) Then
oMail.TextBody = docMsg
Else:
oMail.HTMLBody = docMsg
End If
If (SumSize > 10) Then
ErrorStrMail = "Attachment size too large!"
GoTo MailFlee
End If
oMail.Subject = docSubj
Set oMail.Configuration = oConf
oMail.Send
MailFlee:
Exit Function
MailErr:
ErrorStrMail = Err.Number & ":" & Err.Description
Resume MailFlee
End Function
When I call this component from an asp page,I don't get any error,but the mail doesn't work.....did I do something wrong?
View Replies
View Related
I have set up an interactive database with a .asp page requesting information to include an email address. After receiving a response and viewing the database no email address is entered. How do I set up my table to except an email address?
View Replies
View Related
can you use free email accounts (hotmail. yahoo) too send emails with CDO?
View Replies
View Related
Is there anyway to send email with ASP without downloading a bunch of stuff? I am new to ASP and I am using IIS on my computer and I can find anyway to send emails from my site.
View Replies
View Related
I need to be able to email to all email addresses in db (like a newsletter) I have seen some code samples but really need something simple and web based.
View Replies
View Related
I am sending email using CDO..the code I am using sends an ASP page,
the HTMLpart is recognised,but<%code %> is not(basically I am passing some query strings to ASP page),
SUB SENDEMAIL(refno1)
Dim myMail
dim mailmessage
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="mymail@mydomain.com"
myMail.To="ravi@v.com"
myMail.CreateMHTMLBody "http://localhost/mailer/thank_you.asp"
myMail.Send
'mymail.AttachFile
'mymail.Send
end sub
View Replies
View Related
Does anyone knows about any sample code that I may be able to use to send email when an user click the submit button?
View Replies
View Related
I'm a php guy being forced to work with asp. I have a csv file that is going to have 100 names e-mail addresses. I need to create a script that will read thru the file and then send out one e-mail per name. I've had success adapting brainjar's scriipt for my needs in the past but am not sure on how to read a csv file to get the names and addresses.
I'm looking for some advice on reading a csv file to load the values into an array and then how to handle looping thru it 100 times.
View Replies
View Related
I need help sending an email.
This is what I'm using to process it:
<%
my_from=request("mail-fromName")
my_fromAddress=request("mail-fromaddress")
my_to=request("mail-toName")
my_toAddress=request("mail-toaddress")
my_subject=request("mail-subject")
my_relay=request("mail-relay")
I want to be able to redirect and I don't know if this is the best way to do it or not. I also want to include it in my project but when I try to place it inside my project it gives me an error that there can only be one declarative. Please help as I am new to ASP
View Replies
View Related