DISPLAY EMAIL LINK

I have an Access table field that contains email data. I can display the contents of that field to a page, using, <%= (objRS("email")) %>, but I don't know how to make it a hyperlink when it's written to the page.how to display the data as a link on the page, instead of simple text? Do I have to modify the Db record, the page or both?

View Replies


ADVERTISEMENT

Display Dynamic Link In Address Bar

after the form has been posted I want to keep the querystring the same and not have it reset, i have this:

<form method=post name=main action="index.asp?MEMBER_ID=" <% Request.Querystring("MEMBER_ID") %>

but all i get in the address bar after "post" is this: index.asp?MEMBER_ID= without the member Id. how can i do that?

View Replies View Related

Email To Link

I am using this code

<table border="1">
<%
Do While Not rstSimple.EOF
%>
<tr>
<td><%= rstSimple.Fields("username").Value %></td>
<td><%= rstSimple.Fields("password").Value %></td>
<td><%= rstSimple.Fields("email").Value %></td>
</tr>
<%
rstSimple.MoveNext
Loop
%>
</table>

How can I make the email field a hyper link?

View Replies View Related

Send A Link In An Email With CDO

I have tried a simple asp page which send out an email with a message:"This is a testing". This has been done in CDO and it works fine. However, when I tried with:

objmail.htmlbody = "<a href=""http://www.hotmail.com"">Hotmail</a>"

it doesn't work pretty well. The following was the output:

Hotmail<http://www.hotmail.com>

How can I make it to display only the word "Hotmail" that links to http://ww.hotmail.com? Could anyone help me please?

View Replies View Related

Unsubscribe Link In Email?

I have an embedded piece of flash in a page, sending an email variable out to an asp page which is inturn sending an email out to subscriber email addy, and inserting into database, this worx fine.

in the email sent out I have included a link to the delete.asp page so they unsubscribe,carrying the email variable on the end, however i think my syntax is slightly out with the quotes and double quotes and although with the email recieved in my inbox and then view source, the correct email is there, BUT when you click the link, it is not appearing after the .asp?email2=. and then obviously my delete is returning not found in database.

If i have the asp running in DreamW on the live mode and put the email in it recognises and deletes fine, so i'm guessing it is my syntax in the body/asp before sending the email. Code:

View Replies View Related

Email Confirmation Link

I'm using CDO mail in my asp scripts, and I need to find a script that whereas a user signs up for your website.

when he hits submit,an email goes to his email box with a confirmation link for him to click so to ensure he has a valid email address. Does anyone know of a package or series of scripts that works with this?

View Replies View Related

Access Record From Link In An Email

Ok.. I have a form the user fills out. An email is sent to them and one to our office with a link to the DB so they can view all the info. My form works fine, my emails work fine. The info gets inserted in to the DB fine.

What I would like to do is:
When the link is sent to our office, I would like it so when they click the link it opens the DB right to the info from the link. You know, like when you get an email from here saying someone posted your link has it set so when you click it, it will go right to that post.

So there you have it, any takers.. I sure could use this, otherwise they open the DB and have to search for the info and they do not like having to do much work..

View Replies View Related

Sending An Email On Click Of A Link

What is the best way to be able to add a function to my advert at the bottom of a clients site, so that when clicked an email is sent to me, without having to refresh the page to do so.

Its so that I can do a survey on the amount of clicks my links are getting in the footer depending on the message i put there.

View Replies View Related

Email A Link Of A Website To A Friend

I am just wondering how the function that we see on website that says "email this page to a friend" work.

I know that all the info is passed on via an email, but how is it actually code in asp?

View Replies View Related

Email Address Link Question

I can't remember the code for email address link. The program will open up default email service when the user click on an email. Do you know what I'm talking about?

View Replies View Related

Email Link In Message Through Msgbox

I am trying to include an email link in the message displayed through a msgbox function. How can I do that? or can I?

View Replies View Related

Send Email With Link To Current Page

How would I send an email to someone from a webpage with a link to the
current page? I've seen this where you can put in your email, the person's
email that you are sending teh page to, a subject for the email, and a
message along with the link.

View Replies View Related

Need To Do 2 Tasks Based On User Click On Email Link

My app lists jobs for a recruiter. He wants to track members who have
replied directly to job postings. So instead of simply making the client's
email address an <a href="mailto:...> link, I need to do 2 things:

- add a record of their posting to a database table
- open the email client to the job

Howe do I do this? The first part is easy, but I don't know how to open the
email client in an ASP command (I don't really want to auto-sed email, just
open the client and let the user attach their resume and add their cover
latter). Do I have to get my Web Hosting company to install CDO, or is that
standard with all IIS? I get an error when I try to run 'Set MailObj =
CreateObject("CDONTS.NewMail")'

View Replies View Related

How To Transfer A Data Display On 1st Page To 2nd Page Upon Clicking On The Link

I like to know how to write this specifc function on ASP where the user eg: display a set of records on the webpage. Example the data are ID, Name and address.

Lets say i display the data on the webpage and i set the Name as the <a href>. So when i click on the name, it will move to another page with the id of the specific name. Code:

View Replies View Related

Dynamic Email Display

i have this output from a recordset

<%=(RS1.Fields.Item("EMAIL").Value)%>

how can i change this so that it's a hyperlink and when a user clicks on it, it will show the email address in "send to:" in outlook.?

View Replies View Related

How To Display Multiple Form Fields In Email Using This Script?

I am using this script to submit my form fields into the body of my email:

***********************************************
Dim strBody
dim ix, formElementName, formElementValue
strBody = "Results of form submitted at " & Now() & vbCrLf & CrLf
For ix = 1 to Request.Form.Count
formElementName = Request.Form.Key(ix)
formElementValue = Request.Form.Item(ix)
strBody = strBody & (formElementName & ": " & formElementValue & vbCrLf)
Next

***********************************************
I'm completely new to vbscript and have been searching all over the net for an example of this script being used with mutliple fields with absolutely no luck.

The closest I've come to getting something back from this thing is when I tested the script with these elements:

FormElementName = Request.Form.Key("Name")
formElementValue = Request.Form.Item("Name")
formElementName = Request.Form.Key("Telephone")
formElementValue = Request.Form.Item("Telephone")
formElementName = Request.Form.Key("Email")
formElementValue = Request.Form.Item("Email")

Which produced this result:

Email: Email
Email: Email
Email: Email

Its seems the answer to my problem lies in defining the 'Key' and possibly the 'Item' parameters but I haven't been able to find any documentation on these terms. Can someone out there please save me from what probably is a very simple solution?

View Replies View Related

Email Validation Of Email Address Within An Access Database

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

CDONTs - Problem Formatting An Email, From Form To Email

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

Generating Email Address And Textarea To Be Inlcluded On Email

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

Asp Email Verification Check Valid Email Thru Mx Record

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

Cdonts Email Script Won't Send Email

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

Email Form - Verify Email Address

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

ASP Email Form: Sends To Some Email Addresses But Not Others..

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

Link In Asp

Does anyone know how to hide and show a link depending on the level of the user. Like I want the link to show if the person loging in is an admin, but if the person is a user than I dont want the link to show?

View Replies View Related

Link / Url In A Var

How to get a link / url in a var ? This is what I need to do :

newmsg = " <a href="http://www.my-url"?pa=<%=userid%>> Click here </a> "

View Replies View Related

Link To Exe

Clicking url that points to an exe pops up Open/Save dialog box. But I want
only the Open option to be enabled

View Replies View Related

Css Link

How display a link like a plain text (not underlined) with css code.

View Replies View Related

.asp Url Link

Having a problem getting my asp url to work. Im trying to pass a var and some of them have the & in them. This is breaking my url since it looks for another var with the &. If i put the %26 instead of the & manually it works fine. How do I get that to encode that on the link ?

I know the problem is the data that is in the heading field has & in them. I can not fix that part. Is there a way to force the & in the url to go to %26 ? Code:

View Replies View Related

Dynamic Link

I would like to build a dynamic link based upon a value returned from a db

There is data in the db because objRS("Description") returns a value.

something like

Code:

if objRS.EOF then
%>
<a href="/somepage.asp?id="<% objRS("Id") %> "><%response.write(objRS("Description"))%></a>
<%
else
end if

I get

http://localhost/somepage.asp?id=

Nothing else at the end.

What am i doing wrong?

View Replies View Related

Link Alias

To secure files on a site with authentication we have put the
attachments in a folder outside the IIS web site like this:

D:Documents<ItemID>filename.doc

where ItemID is a number which we use to check permissions inside our
application.

In order to download the file from the site we have made a binary
reader component (we could probably use SAFileUp or something instead,
but this works) to send the file through an ASP-file:

http://mysite/Docs/ShowDoc.asp?ID=<ItemID>

This works well.

So to my problem:
If I right click the link to save the file on my local computer (Save
target as), it will save the file properly, but the filename in the
Save As-dialog is ShowDoc.asp. I want it to be filename.doc instead.
Is it possible?

I've heard that on a Apache web server you can write the link like
this:

http://mysite/something/filename.doc?ID=<ItemID>

but then the server knows that it's
http://mysite/Docs/ShowDoc.asp?ID=<ItemID> it should load. If this is
possible in IIS, the Save As-problem will be solved.

View Replies View Related

ASP Link Query...

I have the following link:

<A HREF=""Schedule.asp?JobNumber=" & RS("JobNumber") & "&PONumber=" &
RS("PONumber") & """>" & RS("JobNumber") ONCLICK= popup() & "</a>


I want the link to reference a function in the <Script> tag as
follows:

<script>

function popup() {
window.open( "Schedule.asp" , ""
,"top=40,left=40,width=200,height=100" ) ;
}

</script>

I am not sure where to place the ONCLICK code in the hyperlink as this
link is written out via response.write......Its all the " " & ' ' that
get me ...

View Replies View Related

Search For Link

I have a database of literature and I've created a search page that pulls up the records matching the search criteria. However, I'd like to create a link to the article in pdf format, if it exists. I have a field in the database that contains the file name (and path), but not all records have a corresponding pdf file.
Code:

<td><a href="<%=(rs.Fields.Item("Article").Value)%>"><%=(rs.Fields.Item("Title").Value)%></a></td>

How do I check whether there is a corresponding pdf file before displaying the title with a link?

View Replies View Related

Href (link)

I would like to have a link that when clicked, sends info to an ASP page to process, but does not submit the entire page. This way, the user will
click on a link and will not be taken to another page, but precessing will occur.
This is mainly for a 'Rating' Application.
Amazon.com does this and I want to know how they do it. Here is the link to the amazon page (you may need to be logged in)
http://www.amazon.com/exec/obidos/t...5480771-6490552.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved