Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Captions

3 posts

Wannabe Geek


#150593 27-Jul-2014 23:23
Send private message

Is anyone here an HTML coder that could help me with a bit of code.

i'm trying to set up an email link on a wordpress code that includes mailto (obviously), subject, Body, cc and bcc.

Everything works perfectly until I add the bcc.

Once I add the bcc the link on my preview no longer is clickable - nothing happens and an email doesn't open.

From googling, I've done it correctly, so am wondering if it is in fact a bit of code my wordpress theme doesn't like.

I've coded it &cc=email1@gmail.com&bcc=email2@gmail.com

Would really apprecaite the help if there's any html expert out there.  I'm just a beginner!

Cheers


Create new topic
jarledb
Webhead
3257 posts

Uber Geek

Moderator
ID Verified
Trusted
Lifetime subscriber

  #1096837 28-Jul-2014 00:18
Send private message

Have you made sure you are using the text editor when you enter the HTML for the Mailto link? Just adding it as HTML works for me. (Self hosted WordPress). Might be different on WordPress.com.

I used the following markup:

 


<a href="mailto:test@example.com&cc=email1@gmail.com&bcc=email2@gmail.com">Test</a>




Jarle Dahl Bergersen | Referral Links: Want $50 off when you join Octopus Energy? Use this referral code
Are you happy with what you get from Geekzone? Please consider supporting us by making a donation or subscribing.




Captions

3 posts

Wannabe Geek


  #1096842 28-Jul-2014 01:04
Send private message

Yes - that is *exactly* what I have done.  

I'm thinking it might be a problem with the WP theme.  


Behodar
10508 posts

Uber Geek

Trusted
Lifetime subscriber

  #1096865 28-Jul-2014 08:37
Send private message

Do a View Source on the resulting page and make sure that the HTML hasn't been tampered with.



TwoSeven
1624 posts

Uber Geek

Subscriber

  #1096883 28-Jul-2014 09:09
Send private message

Not sure about your entire query string, but it is usually in the format of ?param=value&param=value

The ? indicates that what follows is a parameter/value pair, then each additional parameter/value pair is prefixed with & (and),  so address?param=value&param=value




Software Engineer
   (the practice of real science, engineering and management)
A.I.  (Automation rebranded)
Gender Neutral
   (a person who believes in equality and who does not believe in/use stereotypes. Examples such as gender, binary, nonbinary, male/female etc.)

 

 ...they/their/them...


itxtme
2102 posts

Uber Geek


  #1097100 28-Jul-2014 13:39
Send private message

Do what the poster has said above and view the rendered source.  You may have to escape the ampersands (&amp;)

Captions

3 posts

Wannabe Geek


  #1097268 28-Jul-2014 17:50
Send private message

All good -

The problem was not my code, which was perfect, but the browser.  Tested on a different browser and it worked.
Then it worked in my original browser as well.

So all good :)

Thanks for you help.

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.