HighDots Forums  

mailto link won't work on some PC images...?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss mailto link won't work on some PC images...? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
macaroni webforumsuser@macromedia.com
 
Posts: n/a

Default mailto link won't work on some PC images...? - 12-04-2003 , 02:34 PM






hey guys.... strange problem here.
i have a dynamic mail to link set up.
when it is run through our intranet it come out like this... which it should
<a href="mailto:fname lname?subject=You have an online posting - jobtype- SP03-1398&Body=Hi fname lname, We have prepared a shortlist of applicants for you at the following location on jobboard. Please click the following link to be taken to that page. Please also note that you will have to login to access the page. http://intranet_applicant_list.asp?JobRecordID=xxxx-xxxx">Email this page to the leaders</a>

the script as I see it, can't really be improved.
It runs fine on most machines in that it pops up an email message and populates the body, subject and address.... but not on a couple. running windows 2000 image with Outlook 2000 as the mail handler.

any ideas?
macaroo




Reply With Quote
  #2  
Old   
mzanime.com webforumsuser@macromedia.com
 
Posts: n/a

Default Re: mailto link won't work on some PC images...? - 12-04-2003 , 02:42 PM






I would change <a href="mailto:fname lname to an actual email address. I wouldn't be surprised if some clients can't except fname inside their address fields.

This might not be the issue, but you also might wanna change the ampersand before Body to the valid HTML 4.0 ASCII value for that character. Being: &amp;Body=

So..

<a href="mailto:example (AT) thisurl (DOT) com?subject=You have an online posting - jobtype- SP03-1398&amp;Body=Hi fname lname, We have prepared a shortlist of applicants for you at the following location on jobboard. Please click the following link to be taken to that page. Please also note that you will have to login to access the page. http://intranet_applicant_list.asp?JobRecordID=xxxx-xxxx">Email this page to the leaders</a>

MiKE.
Looking for freelance work | mike[at]mzanime.com
$i = &quot;fun&quot;; while($i &gt; $possibilities) { $code; $code++; }

Reply With Quote
  #3  
Old   
macaroni webforumsuser@macromedia.com
 
Posts: n/a

Default Re: mailto link won't work on some PC images...? - 12-04-2003 , 03:00 PM



i just got off the phone with the guys who are having problems with the link. it has to do with spaces in the message. unfortunately this is something that is not going to work very well.

<a href="mailto:name?subject=You have an online posting - jobtype- SP03-1398&Body=Hi fname lname, We have prepared a shortlist of applicants for you at the following location on jobboard. Please click the following link to be taken to that page. Please also note that you will have to login to access the page. http://intranet_applicant_list.asp?JobRecordID=xxxx-xxxx">Email this page to the leaders</a>

the dynamic values are all spaced out values ie. name is in the database as fname lname, all one column.
jobtype is listed as 'radiation technologist' all in one column.
so it is fairly easy to adjust the static portions of the link, however the script still won't work for dynamic content that has any spaces in it.

any idea if there is a way to automatically run a small script before the mailto to say insert %20 where there are spaces?



Reply With Quote
  #4  
Old   
Alan Ames _TMM_
 
Posts: n/a

Default Re: mailto link won't work on some PC images...? - 12-04-2003 , 04:16 PM



most serverside scripting should have some type of urlencode function you
could wrap that with--

http://www.google.com/search?hl=en&ie=ISO-8859-1&q=function+urlencode+asp


Quote:
i just got off the phone with the guys who are having problems with the link.
it has to do with spaces in the message. unfortunately this is something that
is not going to work very well.

a href="mailto:name?subject=You have an online posting - jobtype-
SP03-1398&Body=Hi fname lname, We have prepared a shortlist of applicants for
you at the following location on jobboard. Please click the following link to
be taken to that page. Please also note that you will have to login to access
the page. http://intranet_applicant_list.asp?JobRecordID=xxxx-xxxx">Email this
page to the leaders</a

the dynamic values are all spaced out values ie. name is in the database as
fname lname, all one column.
jobtype is listed as 'radiation technologist' all in one column.
so it is fairly easy to adjust the static portions of the link, however the
script still won't work for dynamic content that has any spaces in it.

any idea if there is a way to automatically run a small script before the
mailto to say insert %20 where there are spaces?



--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer

yes, it's a real email address- but it's filtered to trash



Reply With Quote
  #5  
Old   
Gary White
 
Posts: n/a

Default Re: mailto link won't work on some PC images...? - 12-04-2003 , 04:51 PM



On Thu, 4 Dec 2003 20:00:23 +0000 (UTC), "macaroni"
webforumsuser (AT) macromedia (DOT) com wrote:

Quote:
the dynamic values are all spaced out values ie. name is in the
database as fname lname, all one column.
jobtype is listed as 'radiation technologist' all in one column.
What language are you using to access the database?


Gary


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.