Below is a mailto link from a button, it works completely perfect with Outlook, but dont with Outlook Express. Any ideas???
[PHP]<input class="button" style="width:22 0" onmouseover="th is.className='b utton btnhov'" onmouseout="thi s.className='bu tton'" type="submit" value="Send e-mail & Continue"
onClick= "parent.locatio n='mailto:Docum entsBank@perrys cottnash.co.uk& subject=Documen t%20Removal%20R equest&body=Doc ument%20For%20R emoval:%20<?pri nt $docid?>,%20<?p rint $rowres1[2]?>%20Date%20Add ed:%20<?print $rowres1[4]?>%0AReason:%20 <?print$reason? >%0A%0ADocument %20Request%20Li nk:%20http%3A//www.psnonline.c o.uk/psnnet/docrequestopenr emove.php%3Fdoc requestid%3D<?p rint$id?>?>%0AN ew%20Document%2 0Removal%20Requ est.'">[/PHP]
6 2024 Markus 6,050
Recognized Expert Expert
Below is a mailto link from a button, it works completely perfect with Outlook, but dont with Outlook Express. Any ideas???
[PHP]<input class="button" style="width:22 0" onmouseover="th is.className='b utton btnhov'" onmouseout="thi s.className='bu tton'" type="submit" value="Send e-mail & Continue"
onClick= "parent.locatio n='mailto:Docum entsBank@perrys cottnash.co.uk& subject=Documen t%20Removal%20R equest&body=Doc ument%20For%20R emoval:%20<?pri nt $docid?>,%20<?p rint $rowres1[2]?>%20Date%20Add ed:%20<?print $rowres1[4]?>%0AReason:%20 <?print$reason? >%0A%0ADocument %20Request%20Li nk:%20http%3A//www.psnonline.c o.uk/psnnet/docrequestopenr emove.php%3Fdoc requestid%3D<?p rint$id?>?>%0AN ew%20Document%2 0Removal%20Requ est.'">[/PHP]
This isn't php.
Ask in the javascript forum or html.
This isn't php.
Ask in the javascript forum or html.
I'll move this to the JavaScript forum.
moderator
acoder 16,027
Recognized Expert Moderator MVP
Below is a mailto link from a button, it works completely perfect with Outlook, but dont with Outlook Express. Any ideas???
Give the HTML version of the code.
[HTML] <input class="button" style="width:22 0" onmouseover="th is.className='b utton btnhov'" onmouseout="thi s.className='bu tton'" type="submit" value="Send e-mail & Continue"
onClick= "parent.locatio n='mailto:Docum entsBank@perrys cottnash.co.uk& subject=Documen t%20Removal%20R equest&body=Doc ument%20For%20R emoval:%20<?pri nt $docid?>,%20<?p rint $rowres1[2]?>%20Date%20Add ed:%20<?print $rowres1[4]?>%0AReason:%20 <?print$reason? >%0A%0ADocument %20Request%20Li nk:%20http%3A//www.psnonline.c o.uk/psnnet/docrequestopenr emove.php%3Fdoc requestid%3D<?p rint$id?>?>%0AN ew%20Document%2 0Removal%20Requ est.'">[/HTML]
acoder 16,027
Recognized Expert Moderator MVP
There's still PHP there. View Source in the browser to see what it appears like client-side.
Below is a mailto link from a button, it works completely perfect with Outlook, but dont with Outlook Express. Any ideas???
Even if you fix it, how will you know it works with other mail clients?
Mailto links are not recommended, since they rely on the user having a mail client set-up with an account that they can use. That will not always be the case.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: nAmYzArC |
last post by:
Hi everyone,
I'm setting the body of an email using values from a form
firstname = bob
lastname = dole
ebody = 'First Name: ' + firstname + '\r\n' + 'Last Name: ' + lastname
window.location.href = 'mailto:myemail@mycompany.com?subject=test
|
by: Shinin |
last post by:
I am trying to set up a mailto: link so that the actual address that
the email is being sent to is obscured and replaced by a name. For
example, I have <a href="mailto:jschmoe@abc.com">Joe Schmoe</a>. When
this link is clicked, an email window appears in the clicker's email
client where the To: field is jschmoe@abc.com. What I want to have
displayed there is Joe Schmoe. I've seen it suggested that formatting
the link like this: <a...
|
by: Olaf |
last post by:
I have a ASP page that after saveing data to the database it will
write the following script code to the page:
<script>
document.location='mailto:or@mailadr.se?body=http://myWebserver/page.asp?docID=17&login=HAL&subject=report';
</script>
This all looks well but when I se the actual mail the &login=LAS part
of the link in the body is not there! The subject is correct! It all
looks ok apart from the missing part of the links querystring.
|
by: RobG |
last post by:
I am trying to get users to fill in a form on a web page, then click a
button to send an e-mail. I am using JavaScript to get the fields from
the form, then run a mailto command to put the information into an
email.
I can create a mailto link in the page using innerHTML, but it seems
silly to click a button, a link appears, then click on the link.
How do I execute the mailto command using JavaScript?
|
by: catyionic |
last post by:
hi,
Due to trying many different form options, with none of them working,
I opted for this to receive info back from this site:
http:\\www.elderslastwish.com
<form name="feedback_form" method="post"
action="mailto:mymail@yahoo.com?subject=Elder's Last Wish Application
Form" enctype="text/plain">
| |
by: Adam Smith |
last post by:
How can I set up a mailto with a cc or bcc as well as a subject
designation. The system works for two but not three, is this a hardwired
limit or have I missed something
==>
<a href="mailto:registrar@econ.com?cc=webmaster@econ.com?subject=Login
Problems">The Registrar at econ.com</a>
|
by: tshad |
last post by:
I am trying to put an persons email address in a response I am sending
another person.
I can get it to work by doing the following:
message.Body = resumeTop & vbCrLf & vbCrLf & "For Applicant: " &
session("firstName") & " " & session("lastName") & vbCrLf & "Email:
mailto:" & session("email") & vbCrLf & vbCrLf & resumeBottom
When the email gets to the person, the email link works. The problem is
|
by: Brian Bischof |
last post by:
I'm have a form with a datagrid showing a checkbox for each row. I want the
user to be able to click a checkbox and then click a button that sends an
email similar to how the HREF MailTo: works. I can't embed the MailTo: in
the webpage b/c the button has to determine which row has a checkbox, pull
data from SQL and then build the email content. I originally wrote the code
using System.Web.Mail classes but the client doesn't like it b/c they...
|
by: cebsystems |
last post by:
Hello all out there!
I don't know if this is the correct group for posting this, please correct
me/it, if you have a better group for it...
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).
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |