A Href Mailto From String

I have an asp page that is pulling data from a access database. The data will always be a complete email address. I am trying to make the email address on the page a simple hyperlink that opens the default email program upon click. I cannot make it work for the life of me!

<TD align=left><FONT face=Gautami size=2><%=addrRS.Fields("E_Mail")%></font></TD>

View Replies


ADVERTISEMENT

How Do You Insert A Message In The Body Of A "<a Href="mailto:" Email..

Hey there, I have a few links in my site similar to this one.

<a href="mailto:contactus@timber.com?Subject=Contact%20Us">

When a site visiter clicks on to this link, it starts up your default browser.

Anyone know how to insert a message in the body of the email?

Something like...

View Replies View Related

Form Mailto Vs CDO?

What are the advantages/disadvantages of using this form submission approach as opposed to eg: Cdo, aspEmail - it appears to harness the MS standard mailto capability?:

<FORM ENCTYPE="text/plain" NAME="test" METHOD='POST'
ACTION='mailto:info@examle.com?subject=Resume' onSubmit="return
submitForm()">

View Replies View Related

Mailto - Question

I have to use mailto so the pages opens up the users default client. I need
to format the body of the email in HTML format so I can show some the text
in bold, italics and underlined? Is this possible to do? if so how?

View Replies View Related

Add Body To Mailto

I'm just learning ASP. I have a mailto and I have a lot of text that I want to display in the body. Is there a way to store that text in a variable & then add it to the mailto tag?

View Replies View Related

Function For Mailto

This may be a daft question, but if I wanted to use a simple mailto, i.e Code:

<a href="mailto:joe@bloggs.co.uk"></a>

Is this wise? from a spamming point of view. I am aware of encoders out there that basically make jargon from an email address which fools the robots, am i talking rubbish or what? Basically! Is it wise to use standard mailto links or is there a better way?

View Replies View Related

Too Long Mailto: Link?

ok I have a page that displays all of the 3000+ records of people, phone numbers, and email addresses. on this page I have added a link that combines all of the e-mail addresses into one mailto: link so that we can mass notify these people of upcoming projects. the problem is that i think the link is too big for the browser to handle. the view source shows that everything is there but i cannot click the link. i have tried both IE and FireFox to no avail. The code is below just in case i have a typo or something...

sql = "Select * from people WHERE (IsNull(m_idstatus) OR m_idstatus <> 'id2') AND (m_email Like '%@%')"
...

y = 0
do while not rs.eof
If (rs("m_email") = "" OR IsNull(rs("m_email"))) Then
e_email = e_email
Else
e_email = e_email & rs("m_first_name") & "&nbsp;" & rs("m_last_name") & "(" & rs("m_email") & "); "
y = y + 1
End If
rs.movenext
loop
...

<a href="mailto:?bcc=<%= e_email %>">E-MAIL ALL</a>&nbsp;&nbsp;|&nbsp;&nbsp;

I have also tried changing the format of the link by adding test@test.com before the ?bcc= but get the same results on both browsers. Like I said in the beginning I assume that the link is just too big for the browser; does anyone have any ideas besides making a mail form in the page? I would prefer to stick with a mailto link so that we can keep internal Outlook features.

View Replies View Related

Send Asp Page Using Mailto

I have created simple .asp page and i would like to send my page as email using my outlook. is it possible to send form body as new email outlook body using mailto
command or any other way.

View Replies View Related

MailTo With Microdoft Outlook

I am using
<a href="mailto:....@....."> it opens the Outlook express but I want it to open the Microsoft Outlook how can I do this

View Replies View Related

How To Get Current Page As Attachment In Mailto Tag

i have a page and i have mailto tag in it. when i click on that i has to get that page (page containing mailto tag) in the outlook express body . or the URL of the current page in body of the mail.

View Replies View Related

Displaying Mailto Link In A Database

I am developing a simple little application for a client that allows them to do an employee lookup. This small Access database contains only a few fields such as name, job, email address etc.

However, when the data is pulled from the database, I would like my ASP pages to create the email as a mailto command when pressed. I'm not sure how to go about this.

I tried creating a mailto: link on the dynamic text but that hasn't worked.

Can anyone assist?

View Replies View Related

Aspx Page With Mailto And French Characters

I've got an aspx page with a 'mailto' with accented characters in the
subject field, when the mail is created the accented characters aren't
displayed correctly.

The mailto looks like this:....

View Replies View Related

Mailto: Get Email Address Form Field?

In my page, i have 6 textbox field:

name, id, email address, age and bookingStatus, bookingMessage.

when i click a button in the page(mailto), the ms outlook will opened, and all the information in the field(name, id, email address, bookingStatus, and bookingMessage) will be displayed in the ms outlook in the message part before i send the email.

I want to use the "mailto" code!

The form will be emailed to the user according to the email field, that means, the "mailto" address will come from the form "email address field" in the form

The subject of the email will be: fixed as "BOOKING STATUS"

View Replies View Related

Encoded Mailto-link In Combination With Outlook

We have a customer who uses utf-8 encoded websites and wants mailto-link on some websites with integrated subject/content.

Website is written in ASP (.NET is not available at customer site).

So according to RFC (as far as I could interpret it), we created a mailto-link like this: ....

View Replies View Related

Href In Asp

Have you ever been on ebay-You know when you are checking a persons feedback history, you see a href link to go and see that particular item.

I would like to do the same. If i have a table which i populate with information, if the user clicks on view, i would like to go and show that particular item on another page. Ebay has one unique key (item number), unfortunatley i have a composite key.

How can i do this by adding a href in an asp table and also by having the ability to go directly to the full information about that specific item?

I have done something similar in vb but i used a mshflexgrid but i don't think thats a possibility in asp.

View Replies View Related

If Then With HREF?

I have a master table of records from a recordset on which thereis a link to a detail page as follows: Code:

<td width="10%" align="left" class="langdetail"><a href="Advanced_Search_detail_template1.asp?<%= Server.HTMLEncode(MM_keepBoth) & MM_joinChar(MM_keepBoth) & "TeacherID=" & rsViewMusic.Fields.Item("TeacherID").Value %>"><%=(rsViewMusic.Fields.Item("LastName").Value)%></a> </td>

Is it possible to have to include an if then statement to have 2 different detail pages according to an access level (a field in the recordset)?

View Replies View Related

HREF

I saw an url like this

<a
href="{nocache:426d6de96f848e23f89ef8d2a557145f#0}&p=http://www.isbuluyorum.
com>CLICK</a>

What is the purpose of using href="{nocache:1321sdsa . Does anyone have idea about it ?

View Replies View Related

A Href

Can anyone tell me the proper syntax for this statement:

Response.Write "<a href=""Showevent.asp?eventid=<%= objrs.Fields("eventdate").Value %>""">(objRS("eventcaption"))</a>

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

Base Href

I'm using W2k Pro, ASP 3, IIS 5 & DWMX 6.1 and code in VBSCRIPT
I currently use the <BASE href=XXXX> in all my pages and just read
that this tag is no longer supported so will soon vanish
I have a couple of sites that I'm working on and to make all my links
work right etc I need to use the base href tag

http://localhost/site1/
http://localhost/site2/
http://localhost/site3/

where online the base href would be

http://www.site1.com/
http://www.site2.com/
http://www.site3.com/

all my links are like <img src=images/mylogo.gif> or <a
src=info/info.asp>Info</a>

Now my problem is how else would I design my sites if I cant use the
Base href tag so the site would work both on LOCAL & REMOTE servers as
needed in the above paths?I'm sure other people develop on a WIN 2k PRO system where you canonly have ONE site (c:inetputwwwrooot) Which was fine when I only
had one site... but when I needed a second I had to change my first to
use the Base href so I could check the sites out locally (offline)
before uploading them to a live server.

View Replies View Related

Href Problem

when i click the a link i want to see a thing which is like save as target
...

it can be a word doc or xls or whatever. i want to make it dowloadable when
a user click a link.. Code:

View Replies View Related

Putting A # In A Href With The ?

If you have a href such as this,

href="somepage.asp?home=alpha&street=beta, how would you include a reference to a bookmark on that page, such as <li id="bookmark">Some List Item</li>

View Replies View Related

Using If Then Statements In Href Tag

Is it possible to use If Then statements in an a href tag? What I am trying to do is I am using a server side include page of navigation inside of a content management system. I have limitations on what I can manipulate and change. So just using style sheets won't do me the trick. I want to have a navigation link change a different color when you are on that section. I have the menu expanding also using if then statements. When a variable is passed somewhere else on the page as true, the menu expands. I figured I could use this in the same way to make the link change colors. I want to do something like:

<A href="#" <% If Variable_name then%> id="link <% end if %>>Link Here </a>

Is that possible? I know that i can do an If then statement and have 2 different links, one with the id and one without, but I wanted to see if I could simplify it at all. I'm not the best with ASP so there might even be better ways then that...I was just using from the little that I knew.

View Replies View Related

Using Variable Name In Href

How can i use the variable name instead of a hardcoded value when writing a hyperlink.

strBody = strBody & "<a href="default.htnk">Login</a>"

I would like to use a variable name instead of directly writing default.html like below

strPageName = "default.html"

strBody = strBody & "<a href="<%=strPageName%>">Login</a>"

how this can be done.

View Replies View Related

Href + Outlook

Is it possible to create a link to open outlook (Client side) to open a particular folder
here is the code i am trying to use unsuccessfully :

<a href="outlook://Public%20Folders/All%20Public%20Folders/P/W/C/Conf
%20Room/~S%20C%20R">Conference Room 1</a>

Basically what i want to happen is that when a user clicks on the web link that it opens the meeting room which is in a public folder in outlook application (not the web interface outlook.

View Replies View Related

Href Statement

My href statement as follows isn't working and in fact prohibits the rest of the asp on the page from working. Code:

View Replies View Related

Storing Href In Cookie

I am new to web design and ASP, I am developing a site which has a logon script, what I want to do is return a user to the location they were at after login. Some of the pages will have query-string information in the address bar so need capture that as well.

<script language="JavaScript">
x = window.location.href
document.cookie=x
</script>

Appears to do what I want as I can pick up the href out of the cookie after login and return user to page, prob is I don't seem to be able to include it in my server side scripting which is doing the login it falls over at the script tag.....

View Replies View Related

Disabling The Image On A Href In Asp

I have the following href in my asp code. I would like to disable the image
so the user cant click on the javascript for this image.

....
<input type=text name=thedate size=10><a
href=""javascript:show_calendar('dataform.Line" & lineno &
"6',null,null,'YYYY/MM/DD');"" onmouseover=""window.status='Date
Picker';return true;"" onmouseout=""window.status='';return true;""><img
src='../Production/show-calendar.gif' width='24' height='22' border='0'></a>

Is this possible?

View Replies View Related

Javascript Href Link

I am using Javascript with ASP and am having a problem with a javascript link in that it does not function when clicked. The page is generated correctly without any visible or runtime errors.

A bit of background as to what I'm trying to achieve: i am dynamically creating multiple forms which store details of a products into hidden fields, the information is retrieved from a database recordset. Each product is created in a unique form, this is achieved using a counter variable. I am trying to use javascript to submit the current form - i.e. a hyperlink - which unfortunately doesn't have any effect when clicked. I am thinking I might need to refer to the form differently but am unsure how to.

Below is a sniplet of the source code ....

View Replies View Related

Document.location.href

I want to redirect to other page using document.location.href on Button click and pass ID to that page e.g;

<input type="submit" value="Submit" ONCLICK="document.location.href='mergestatus.asp?projectid= <%=selRs("projectid")%>'">

Please help.I am not able to pass projectid to 'mergestatus.asp'

View Replies View Related

How To Execute OnClick With An <a Href

I have a session variable who change the selected language (French or English) and i try to change this variable when someone click on my anchor. Code:

View Replies View Related

Formulating A HREF Link

I am trying to get a printer.asp page linked back to a main report page. However, in the final url, the grantid is missing which should not be, if the href statement is correct.

I checked the correct value of grantid via response.write and I can see the correct value. However, the href statement cannot pick the value properly. Code:

View Replies View Related

Problem Changing The Cookie Via A Href

I am currently setting a cookie that has a variable which is based on the user's bandwidth (High or Low is set by a javascript detection script). However, I'd like to also give the user the option of manually choosing their bandwidth variable (High or Low).

The problem I'm having is being able to change or write the dynamically set cookie to the user's manual preference.

instead of doing this which sets the cookie and redirects the user when the page loads....

View Replies View Related







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