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


ADVERTISEMENT

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

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

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 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

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

Difference Between Private Function And Public Function?

What's the difference between private and public functions in ASP? When should I use either?

View Replies View Related

How Can I Add Mail Function To That Post Function

I am using a simple guestbook /portal and i want script to send mail to the thread owner when someone reply his message.

this is the send message code ....

View Replies View Related

Function Inside A Function

Can I define a function inside a function. e.g;

function abc()
function xyz()
....some code.....
End Function
End Function

I googled this but can't find any related topic.

View Replies View Related

Function In The InStr Function

I want to use the instr function, but return results from it depending on surtain functions, I can't realy explain so I'll show my example:

I have a string in wich some word I want to find might be in diffrent Capital Letters order, I want the Instr function to return all the values of the place of that word (avcourse I'll run a for and increase the starting point of the Instr func until it returns 0). The instinct thought is to use the Lcase or the Ucase functions, but in this case I don't know how to use them. In the same Idea I wanted to use the Instr Func with the trim Func, But Its realy the same principle if I just understood how to do so.

View Replies View Related

Asp Function

I am trying to call a function in asp to check to see if a varibale has a value stored in it if there is nothing wite the value NA into it. My code is

<%
Function NullValues(userField)
if userField = "" then userField = "NA"
end function

AccountNo = ""
Name = "sam clowes"
email = ""

AccountNo = (NullValues(AccountNo))
Name = (NullValues(Name))
email = (NullValues(email))

response.Write AccountNo & "<br>"
response.Write Name & "<br>"
response.Write email & "<br>"
%>

When I run this code ALL the variables are blank and nothing is output

View Replies View Related

XML/XSL & ASP Function

the function
<%
Dim objXML, objXSL

Function ShowXML(strXML,strStyleSheet)
Set objXML = CreateObject("MSXML.DOMDocument")
Set objXSL = CreateObject("MSXML.DOMDocument")
objXML.load(Server.MapPath(strXML))
objXSL.load(Server.MapPath(strStyleSheet))
Response.Write objXML.transformNode(objXSL)
Set objXML = Nothing
Set objXSL = Nothing
End Function
%>


calling the function in an asp file
<%Call ShowXML("http://msn.foxsports.com/feedout/syndicatedContent?categoryId=142","nhl/xsl/news/teamNews.xsl")%>


the errors
1. the http:// part
2. and the ? mark

the error message says that the path has been typed wrong.

View Replies View Related

Function

the user can key in variable A and B
then C is auto generated by C = A / B

so how and where should i write the C function??

View Replies View Related

XML Value Into ASP Function

Possibly a very simple question but how do I get a value out of an XML document so I can play with it in ASP

E.G: <Name>Tom</Name

How do I pull the work tom into asp

View Replies View Related

Now() Function

I am using the now() function to be displayed on an email after a form submission has been sent. The problem is that the server is not in the same timezone as I am for the result. How do I adjust the hours on the now() to allow for this please ?

View Replies View Related

Sub Or Function

I know the basic difference between a subroutine and a function is a
subroutine performs a task and a function performs a task and returns a
value. The Call keyword is required when using parens with subs with more
than 1 parameters. Parens around values passed are ByVal vs ByRef and is a
waste of processing if passed ByRef for no reason.
I am told there is no reason to ever use a subroutine as a function can be
used even if it doesn't return a value. While this appears to be true, is
there any reason why it's ever a bad idea to use a function, instead of a
subroutine, that doesn't return a value? Are there memory, performance,
etc. issues?

View Replies View Related

ASP Function

I am trying to locate information on how to call a sub within VBScript on an
ASP page but I can't locate generic information. What I want to do is
generate a page that will stay up but the information on it will change
based on a series of drop down boxes. I need the first drop down box to call
a second dropped down box based on the state that is chosen then city and so
on.

View Replies View Related

Asp Function

I have a column in the table which contains 2 full names seperated by "&" (e.g: Joe Smith & Jeff Scott) I want to display only the first names of the whole record in an asp page. Is there an asp function using which i can do this?

View Replies View Related

Mod Function

im using the mod function to create a calendar for me, which everything works perfectly, all is totally well with that!
but...when i use the mod function it churns out this loooooooooong string which is the whole table...
if there is some way that i can insert hard breaks IN THE CODE ITSELF.

View Replies View Related

NaN Function

I used to be quite an experienced ASP programmer but I haven't used it for a while

I’m trying to do something that I remember as very simple I'm trying to check that the value of a form text box is numerical using the isNaN function. The code I am using is:

<%
quantity = Request.Form("number1")

if isNaN(quantity) = true then
Response.Write "Your input was not a number"
else
Response.Write "Your input was a number"
end if
%>

All I get is a NaN type mismatch error.

View Replies View Related

Contains Function

Is there a function to check to see if a string contains a space
Thanks

View Replies View Related

Mid Function

I was just wondering when using the mid function how does the assigment work when the length is longer then string itself? For example

test = mid(12345, 1, 10)

What would be the end result of test?Would it be 0000012345 or 1234500000 or 12345?

View Replies View Related

Mid() Function

When I create a single character string

var str = "A"
'convert to ascii
num = asc(str)
Response.Write num ' 65 shows up
'when I have a whole string
str = "hello"
str = mid(str, 1, 1) ' return 'h'
num = asc(str)

'I get an error:

Invalid procedure call or argument:'asc'What can be done to fix this?

View Replies View Related

Use Asc() Function

I've an array to store alphabets, in my code...in a random order. How can i use the Asc() function to get the equivalent Ascii of each alaphabaet of that array....
whenever i use ,

for i = 0 to NoOfElements
Response.write Asc("ArrayName(i)")
next

it displays 65, "NOOfElements" times (ascii of A)...on the other hand..i can't write

Response.write Asc(ArrayName(i))

since this shows some error...How can i solve this?

View Replies View Related

Function To Be Available

Depending on some situations, I or the user, need to execute a function (e.g., login, sending email, etc...) and then continue from the original place. How can I make one function to be available from any page from my site?

View Replies View Related







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