PDF writer hyperlink annoyance

Log in to stop seeing adverts
This page may contain links to companies such as eBay and Amazon. As an affiliate of these sites I may earn commission if you click the link and make a purchase

Status
Not open for further replies.

Darth Vodka

Well-Known Member
i have an Access report with an email address on it, that unfortunately contains an ampersand

abc&[email protected]

PDF writer goes "oooh an @ signm this is an email", creates a hyperlink, but ballses it up because of the ampersand to

mailto:[email protected]

:icon_eek:

anyone know how to get PDF writer to either
a) do it properly
b) stop doing hyperlinks
 
i have an Access report with an email address on it, that unfortunately contains an ampersand

abc&[email protected]

PDF writer goes "oooh an @ signm this is an email", creates a hyperlink, but ballses it up because of the ampersand to

mailto:[email protected]

:icon_eek:

anyone know how to get PDF writer to either
a) do it properly
b) stop doing hyperlinks

Try replacing the ampersand with %26, it might then translate that into the ampersand without breaking the address.
 
Try replacing the ampersand with %26, it might then translate that into the ampersand without breaking the address.

tried that already (and &&) it displays it as ampersand and then PDF writer takes what is displayed

:mad:

ta anyways
 
& is a bit of an irregular character to have in an email Darth, don't you have problems with people receiving email from it anyway? or it validating in forms?
 
& is a bit of an irregular character to have in an email Darth, don't you have problems with people receiving email from it anyway? or it validating in forms?

I was thinking the same, a lot of email systems won't handle ampersands in addresses.
 
I was thinking the same, a lot of email systems won't handle ampersands in addresses.

According to this character it is valid. :102: However I think it is only valid if you enclose it in quotes.

Acme&[email protected] - is not valid
"Acme&Co"@acmegroup.com - is valid. :icon_eek: :icon_conf
 
According to this character it is valid. :102: However I think it is only valid if you enclose it in quotes.

Acme&[email protected] - is not valid
"Acme&Co"@acmegroup.com - is valid. :icon_eek: :icon_conf

That is correct, however .net/C# default email sending will not recognise it as valid, and certain mail server software don't send it. I know this as I had a site the other week wouldn't send for something similar, I think it was an _ at the start of the address, which is valid but the server rejected it as invalid.

edit, it wasn't the _ they had a white space which is why I recognised the quoting sytem.
 
Last edited:
& is a bit of an irregular character to have in an email Darth, don't you have problems with people receiving email from it anyway? or it validating in forms?

no, it works fine, but there is an SMTP address with no funny letters, not quite sure what the SMTP aliases are all about

:102:

and yes our first reaction was "who set that email up with a funny letter?"

:)

there's no nice way to solve it that i found, they can either:-

1) force PDF writer to switch off hyperlinks in each PDF they create every time
2) use mailto:abc&def [[email protected]]
3) get IT to change their email/add another alias without a funny letter

effort

thanks all
 
Status
Not open for further replies.
Log in to stop seeing adverts

P Pld Pts
1Liverpool1639
2Chelsea1735
3Arsenal1733
4Nottm F1731
5Bournemouth1728
6Aston Villa1728
7Manchester C  1727
8Newcastle1726
9Fulham1725
10Brighton1725
11Tottenham 1723
12Brentford1723
13Manchester U1722
14West Ham1720
15Everton1616
16Palace1716
17Leicester1714
18Wolves1712
19Ipswich1712
20Southampton176

Latest posts

Back
Top