<div>I spent the best part of a day debugging this type of scenario this week.&nbsp; I had a URL string in a container element and inserted that container element in to the Send Mail text.&nbsp; The mail contained the URL but with a missing &amp; which then meant the browser did not interpret the URL parameters correctly.
</div>
<div>&nbsp;</div>
<div>My Sendmail text included&nbsp;-&gt; </div>
<div>&nbsp;</div>
<div>Link: &amp;FormUrl##&amp; <br>&nbsp;</div>
<div>&nbsp;</div>
<div>TO get it to output the correct Url string I did as Jocelyn suggests with the SAPScript escape characters, but not around the &amp;'s, but around the entire string, (ie tell SAP the entire string is special)</div>
<div>&nbsp;</div>
<div>so I had in my sendmail text -&gt;</div>
<div>&nbsp;</div>
<div>Link: &lt;(&gt; &amp;FormUrl##&amp; &lt;)&gt;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Regards ... Andy Curtis</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><span class="gmail_quote">On 6/17/05, <b class="gmail_sendername">Dart, Jocelyn</b> &lt;<a href="mailto:jocelyn.dart@sap.com">jocelyn.dart@sap.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Hi Tom, </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">if you do it right it should the escape characters should show in the old editor or display mode, but not in the usual edit mode.&nbsp;You might need to try one of the Sapscript insert symbol or similar options. 
</font></span></div><span class="q">
<div><font face="Arial" color="#0000ff" size="2"></font>&nbsp;</div>
<p><span lang="en-us"><font face="Arial" size="1">Regards,</font></span> <br><span lang="en-us"><b><font face="Arial" color="#000080" size="1">Jocelyn Dart</font></b></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">
Senior Consultant</font></span> <br><span lang="en-us"><b><font face="Arial" color="#808080" size="1">SAP Australia Pty Ltd.</font></b></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">Level 1/168 Walker St.
</font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">North Sydney </font></span><br><span lang="en-us"><font face="Arial" color="#808080" size="1">NSW, 2060</font></span> <br><span lang="en-us">
<font face="Arial" color="#808080" size="1">Australia</font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">T&nbsp;&nbsp; +61 412 390 267</font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">
M&nbsp;&nbsp; + 61 412 390 267</font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">E&nbsp;&nbsp; <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jocelyn.dart@sap.com" target="_blank">jocelyn.dart@sap.com
</a></font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.sap.com/" target="_blank">http://www.sap.com</a></font></span>
 </p>
<p><span lang="en-au"><font face="Times New Roman" color="#ff0000" size="1">The information contained in or attached to this electronic transmission is confidential and may be legally privileged. It is intended only for the person or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any distribution, copying, review, retransmission, dissemination or other use of this electronic transmission or the information contained in it is strictly prohibited. If you have received this electronic transmission in error, please immediately contact the sender to arrange for the return of the original documents. 
</font></span></p>
<p><span lang="en-au"><font face="Times New Roman" color="#ff0000" size="1">Electronic transmission cannot be guaranteed to be secure and accordingly, the sender does not accept liability for any such data corruption, interception, unauthorized amendment, viruses, delays or the consequences thereof.
</font></span></p>
<p><span lang="en-au"><font face="Times New Roman" color="#ff0000" size="1">Any views expressed in this electronic transmission are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of SAP AG or any of its subsidiaries. SAP AG, its subsidiaries, and their directors, officers and employees make no representation nor accept any liability for the accuracy or completeness of the views or information contained herein. Please be aware that the furnishing of any pricing information/ business proposal herein is indicative only, is subject to change and shall not be construed as an offer or as constituting a binding agreement on the part of SAP AG or any of its subsidiaries to enter into any relationship, unless otherwise expressly stated. 
</font></span></p>
<div>&nbsp;</div><br></span>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><span class="q"><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">
sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>PEOU Tom T<br></span><b>Sent:</b> Friday, 17 June 2005 3:55 PM<span class="q"><br><b>To:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug@mit.edu" target="_blank">
sap-wug@mit.edu</a><br><b>Subject:</b> URL Links with '&amp;' reading as expressions in Send Mail Task<br></span></font><br>&nbsp;</div>
<div></div>
<div>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt">Thanks Jocelyn,</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt">&nbsp;</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt">That works fine and my URL hyperlink is created. However, when I click on the link from the email, it will open an internet browser but the URL address is wrong. 
</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt">It seems to convert the &lt;(&gt;&amp;&lt;)&gt; to %20%20%20%20 in the URL on the Internet browser.</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt">&nbsp;</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt">Have you encountered this problems before?</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt">&nbsp;</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt">Many thanks,</span></font></p>
<p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt">Tom</span></font></p></div>
<div><span class="e" id="q_10488ebaf57beabf_7">IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. The RTA is not responsible for any unauthorised alterations to this e-mail or attachment to it. Views expressed in this message are those of the individual sender, and are not necessarily the views of the RTA. If you receive this e-mail in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient.
<br></span></div><br>_______________________________________________<br>SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br><br></blockquote></div><br><br><br>-- <br>Andy Curtis<br>(m) 07798 603099<br>(t) 01737 843948<br>(e) <a href="mailto:abcurtis@gmail.com">abcurtis@gmail.com</a>