NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: agustinh2000 on July 24, 2023, 05:23:00 PM
-
Hi all
I'm trying to insert a link inside an email in NT using the HTML property (EmailMessageHtml), but when I get the email the link is "broken" see the example below.
EmailMessageHTML = '<a style="color: blue; text-decoration: underline; text-underline: single" href="http://localhost:88/Ws_Informe?dsn=FLORIDA&Informe=Rpw_Informe_Florida&IdEstadoGrupoInf=2&IdGrupoInf=2&IdProtocolo=3061">
DOWNLOAD</a></p>'
this I receive
http://localhost:88/ws_informe?dsn=orida&informe=w_informe_florida&idestadogrupoinf=idgrupoinf=idprotocolo061
if I use EmailMessageText it works fine
How can I solve it? thanks in advance!
Agust?n
-
http://localhost:88/ws_informe?dsn=orida&informe=w_informe_florida&idestadogrupoinf=idgrupoinf=idprotocolo061
At first glance Does not look right.
http and localhost is not look right - should: be https://domainname
&idestadogrupoinf=idgrupoinf=idprotocolo061 does not look right either - should be: &idestadogrupoinf=idgrupoinf & something=idprotocolo061
-
Hi Vinnie,
I don't understand what do you mean. "localhost" is b/c it's a test email. The sencond link is the one I get, it comes with missing characters.
Please compare the first links which is the one I send and the second.
Thanks!
Agustin
-
Thanks for reply.
localhost is only good for your device no good if you are going to email this to someone but for testing on your device OK.
But yes I see you issue when you compare the links in your post
Link 1: http://localhost:88/Ws_Informe?dsn=FLORIDA&Informe=Rpw_Informe_Florida&IdEstadoGrupoInf=2&IdGrupoInf=2&IdProtocolo=3061">
Link 2: http://localhost:88/ws_informe?dsn=orida&informe=w_informe_florida&idestadogrupoinf=idgrupoinf=idprotocolo061
<p><a href="http://localhost:88/Ws_Informe?dsn=FLORIDA&Informe=Rpw_Informe_Florida&IdEstadoGrupoInf=2&IdGrupoInf=2&IdProtocolo=3061">Click here to download</a></p>
To email you I use this format in my code.
'<h4><span style="color:#999999"><em>To download please use this link </em> <a href="http://localhost:88/Ws_Informe?dsn=FLORIDA&Informe=Rpw_Informe_Florida&IdEstadoGrupoInf=2&IdGrupoInf=2&IdProtocolo=3061)&'" target="_blank">Click here to download<br></a></span></h4>'
Hope this is of some use.
Cheers
Vinnie
-
I leave an attachment there, but the problem continues, thanks anyway
I will try other options