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.


3 posts

Wannabe Geek


Topic # 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
Webhead
2022 posts

Uber Geek
+1 received by user: 645

Moderator
Trusted
Lifetime subscriber

  Reply # 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>






3 posts

Wannabe Geek


  Reply # 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.  


6215 posts

Uber Geek
+1 received by user: 1027

Trusted
Lifetime subscriber

  Reply # 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.

1221 posts

Uber Geek
+1 received by user: 123


  Reply # 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

 


1589 posts

Uber Geek
+1 received by user: 259

Subscriber

  Reply # 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;)



3 posts

Wannabe Geek


  Reply # 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

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07



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.

Alternatively, you can receive a daily email with Geekzone updates.