I'm kind of new to HTML and hoping you an help me out.
I am pulling a database field that is a URL into automated emails. However, the URL is coming over as text.
Is there HTML coding that will turn whatever the text is into a URL without having to list the url in the coding (this is impossible, since the URLs are changing all the time)?
Example: one email says http://blahblahblah.com/yourquotes234980
The next email created is http://blahblahblah.com/yourquotes069283
How can that be turned into a URL link automatically?
Simply use the anchor element:
http://blahblahblah.com/yourquotes069283
Would come out as:
http://blahblahblah.com/yourquotes069283
you have to load that variable into a <A HREF> </A HREF> tag so it will look like this
yourvariable or you can add something else here as a name of your link
with variable i refer the variable where you get the email, so it will dinamically work and you don't have to create email tag for each user only you have to call your variable
i hope i helped you :-D
Related
Currently, my page URL looks something like so:
https://example.com/eg?page=2
The URL can also sometimes look like:
https://example.com/eg/?page=2
I want to redirect the user to the same page, but without the query string, so that when clicking on a link it will take you to:
https://example.com/eg
I tried using the following href in an anchor tag suggested in this question:
To home
When clicking on the link, it removes the query string like I want when the current page URL is https://example.com/eg/?page=2. However, if the page URL is https://example.com/eg?page=2 it takes me to https://example.com.
Question: Is there some type of directory path (ie url I can use in my href) I can use such that the two above URLs will always remove the query string? I can use javascript, but if a solution without is possible that would be preferred.
Note: I cannot hard code eg into my href url as I'm developing a widget which can sit in different environments, so, eg is subject to change.
A relative link beginning with ? should only modify the query string, so you could use:
Home
Which would direct your example URLs to:
https://example.com/eg?
https://example.com/eg/?
It does include the ? in the final URL, which might not be what you want, but it is a functional option if you don't want to use Javascript.
You can use,
Home
You can also use document.location instead of window.location. But it is not recommended. See here
Apply this script into your a tag.
Home
Good day,
We are currently making use of Mimecast to tag stationary on the outgoing emails. In Mimecast you can sync attributes from Active Directory for use in personalized email signatures, etc.
I am currently trying to configure a mailto link that uses the "Display Name" attribute in the link, to add the senders name to the subject of the email.
However I cannot get to work. Also in the Mimecast HTML editor no var variables can be passed as it only allows basic HTML.
The Mimecast attribute for display name is pulled with the following piece of code...
<mc type="variable" source="from" attribute="displayName">
This needs to replace "FirstName%20LastName" in the code below.
<mc type="clickimage" code="imagebottomleft">
Kind regards,
Renier
I took a look at the specification (RFC2368), and it does not seem that this feature exists.
I'm trying to insert an e-mail address with the ckeditor. After I saved my content element (text&media), the source code showing the ckeditor looks fine
some#mailaddress.com
But when I visit the webpage only the following is visible:
some(at)mailaddress.com
I found out, that the problem is the spam protection. If I enable
config.spamProtectEmailAddresses = 1
The mail not rendered anymore. It's working without protection, but I want to use it.
Thank you for help.
I have performed the following test (TYPO3 8.7.7) and CKEditor with full configuration:
1) config.spamProtectEmailAddresses = 1 and config.spamProtectEmailAddresses_atSubst = [at]
2) Create a CE text with image
3) write test email into the text editor and then use the "link" button to add an email address
3.1) write test#email.it into the text editor and then use the "link" button to add an email address
3.2) write test#email.it into the text editor without adding the link
Results
3.1) the href attribute of the link is encrypted (javascript:linkTo_UnCryptMailto('...');)
3.2) the href attribute of the link is encrypted (javascript:linkTo_UnCryptMailto('...');) while the visible text does not become test[at]email.it
3.3) no link is added to the text; the visible text does not become test[at]email.it
Could you tell us if you installed some CKEditor plugins or some write some detail of your configuration?
I found it out!
The problem was at my fluid template. I wrapped the {CONTENT} variable with
<f:format.html parseFuncTSPath="lib.parseFunc">{CONTENT}</f:format.html>
It's working now after I changed this to
<f:format.raw>{CONTENT}</f:format.raw>
but if you use <f:format.raw>, the email address is not spam protected anymore. Thats not, what you wanted, isn't it?
I have the problem, the <pre>-tag is html encoded and only works in <f:format.raw>, but then, the email addresses are plain.
Martin
This is a rather simple question, but I cannot find documentation about it from Salesforce.
I am setting up an HTML Newsletter from Salesforce Vertical Response, and I need to put a link in the body of the email that goes to another site which takes the user's email address as a query string. I am doing this so that when the user clicks the link from the HTML email, they will automatically be signed up for a different blog mailing list.
The link will look like this www.mywebsite.com/blog/subscribe?email=your_email#email.com.
I can easily accomplish this by using the {EMAIL_ADDRESS} variable, such that the link looks like this:
Subsribe
This workds, but when the user gets the email and clicks the link, the '#' symbol gets stripped from the URL. Now I'm trying to figure out how to get around this. I saw some documentation on the URLENCODE() function for SalesForce, but when I try to use it in the HTML email editor in SalesForce, like URLENCODE({EMAIL_ADDRESS})it doesn't execute it, and instead interprets it literally as text. Can anyone help me? is it even possible to use functions from within the SalesForce HTML email editor?
Thanks
I havent used VerticalResponse, but if it leans on salesforce communication templates then you can always create an email template as Visualforce page. Then you can apply Encode functions to merge fields.
I'm glad you were able to find a workaround. If you ever go back to dealing with the URL, it's a good idea to disable our click-tracking when working with merge fields. This can be accomplished by adding nr_ before the http. Example: Subsribe - If you ever try that and it doesn't work, or if you have any other questions, please let us know via one of our Support channels:
support#verticalresponse.com
866-683-7842 x1
We also have live chat available: http://help.verticalresponse.com/
Regards,
Keith Gluck
VerticalResponse Customer Support
I need to make a Mailto link to my website which is suppose to contain either the product name or the product page URL in the subject section. How can I do it?
Exp: When you get an email through eBay about a product you are selling or buying, you automatically know what product that email is about by seeing the product name in the subject section.
How can i do this?
Email Me!
Internet Archive:
Set up an HTML mailto form without a back-end script
HTML Mailto Attribute and Tips
HTML Mailto Tips and Tricks
Mailto Syntax
Related Stackoverflow Questions:
Avoiding the Mailto Annoyance?
Best way to obfuscate an e-mail address on a website?
Effective method to hide email from spam bots
What are some ways to protect emails on websites from spambots?
I've run into problems with this before when I didn't url encode the value, so I would suggest (using lc's example):
<a href="mailto:foo#bar.com?subject=This+Is+My+Product">
or
<a href="mailto:foo#bar.com?subject=This%20Is%20My%20Product">
This page [Link Dead] outlines the syntax of mailto URIs:
Address message to multiple recipients
, (comma separating e-mail addresses)
Add entry in the "Subject" field
subject=Subject Field Text
Add entry in the "Copy To" or "CC" field
cc=id#internet.node
Add entry in the "Blind Copy To" or "BCC" field
bcc=id#internet.node
Add entry in the "Body" field
body=Your message here
Within the body use "%0A" for a new line,
use "%0A%0A" for a new line preceded by a blank line (paragraph),
What you are looking for is:
<a href="mailto:foo#bar.com?subject=This Is My Product">
Note, it's probably a good idea to URL encode the spaces with either a + or a %20:
<a href="mailto:foo#bar.com?subject=This+Is+My+Product">
Try This
If you want something more advanced, you're going to have to code it from scratch (or use someone else's script). Try looking into PHP, ASP.NET, Ruby on Rails, etc.
Try this code to set subject, body, cc, bcc
<p>HI venky!</p>