Objective
Send out a Magento transactional email with a link back to the website with a variable on the end of the url.
Process
I pass a variable into Magento’s transactional email called link and display it using the following code in the email template.
<p>link = {{var link}}</p>
click here
Problem
The link is displayed correctly in the p tags e.g.
http://www.mysite.com/?param=1
However when i move the mouse over a tag i get the following link which prevents the link in the email from working:
x-msg://12/“http://www.mysite.com/?param=1”
Notes
I have tried this in Mac Mail and Hotmail and get the same result.
The url i am passing into the email needs to be dynamic and cannot be hard coded.
Thanks in advance for any assistance.
Turns out I had a funny double quote around the link.
Related
I'm trying to include a mailto link to a specific email address within the body copy of my HTML email.
For some reason, this particular email address does not register with my mailing app. My HTML here is:
here
and when I click the link, it opens a blank page and doesn't do anything.
https://imgur.com/VvecNiB
If I change the email address to be my own email address or feedack#(workplace).com or even misspelling the domain as feedback#(workplac).com, the mailing app registers this activity and I get a pop-up window. Any ideas why the particular email address, feedback#(workplace).com, doesn't work that way?
Thanks in advance for any advice or insight.
are you working on a BIF or RPL account in responsys? I normaly use the Clickthrough() function in responsys and place the link in the linktable.
HTML
Write to me
LINK TABLE
Name: mailtoMe
Url: mailto:feedback#(workplace).com
BACKGROUND:
Sitefinity CMS for my specific problem, but could be general too.
I have an email message which has an unsubscribe link in it like this:
To Unsubscribe: Click or copy paste the following link in your browser.
https://www.domain.com/unsubscribe?mailingList={|MailingList.Title|}&SubscriptionEmail={|Subscriber.Email|}
{|MailingList.Title|} and {|Subscriber.Email|} are sitefinity CMS subscriber fields. When I send out an email these two fields resolve to their respective values. Hence, the URL I get in an email is as following for example.
https://www.domain.com/unsubscribe?mailingList=mymailingList&subscriptionEmail=abc#xyz.com
The user can click on it and unsubscribe from the mailing list.
My Problem:
If the mailing list name has a space in it, the link that appears on the email is broken at the first occurance of the space(link the link shown below breaks immediately =my) and hence clicking it is like clicking a invalid URL.
https://www.domain.com/unsubscribe?mailingList=my mailing List&subscriptionEmail=abc#xyz.com
I dont understand why the space in the URL doesnt resolve to a %20.
My Trial:
I changed the order of the querystrings to see if it works(mailinglist was the last string originally, I put it in the middle)
I am fine if the URL does not get resolved into a link at all, just forcing the users to copy paste the entire URL. But, I was not able to do it as well.
I have read in microsoft forums that OUTLOOK resolves the spacing issue, when the URL is surrounded by < and > like this :
URL here:
But the URL doesnt even show up in the email just like it is not showing up here above this line.
Tested on OUTLOOK, GMAIL, YAHOOMAIL, MICROSOFT MAIL. The link is broken in all email clients.
Any suggestions on what is the best solution for this?
I'm trying to embed a Cognos report in an email message body, with no luck.
I've tried IBM official solution and to unmark "Include a link to the report" and "Attach the report" in the email options and it didn't work. I've also tried to embed the report using html tag, but the mail client (Outlook) does not support iframe.
Google searches didn't show anything useful. Does anyone here have another idea without using external tool?
If you attach an HTML output of the report to an email in Event Studio, it's displayed in the email body.
the solution to this is very weird but believe me if you leave the email message body blank ,when you are specifying the to and cc, the subject of the mail etc and chose to attach the report ,the report is displayed in the body of the message when delivered..If you type even a single word in the message body of the schedule then the email is attached.Also only HTML formats are embedded rest all get attached.
i hope this helps .It has always worked for me.
You should clear the "link to report" but most important LEAVE THE BODY BLANK.
It is stated here: IBM LINK
if you are using ReportOutput() function, you are likely to get an individual email for each output type.
I have one short question for a hrev link in moodle mail template. When you are subscript to some forum, moodle start to send you a emails from every replay with content where you also have a href links. How can I add same variable in a href link in moodle mail. Explanation, if I reply to some forum , I received email where I have link http://moodle.com/mod/forum/discuss.php?d=132 , now can I add new variable to link and when I will received mail to have link something like this: http://moodle.com/mod/forum/discuss.php?d=132&varialbe=germany&variable2=eu
Note:moodle send email when is activate cron.php script, not when submit replay in replay form.
I hope someone before me already have this issue or have some idea how to find solution, I will really appreciate if He/She want to share with me.
Best Regards,
J.J.
The code is in
/mod/forum/lib.php
Look for the functions
forum_make_mail_text()
and
forum_make_mail_html()
then look for
forum/discuss.php
in the code.
You can add extra parameters there, good luck! :)
I have been looking at some methods for spamproof email methods here. I'd like to propose a more simple approach: Since I need a couple of different email addresses I considered just using a selectbox with JS or serverside redirect, as per examples on here.
Because google doesn't spider forms (dixit Matt Cutts), and spam-harvester script don't either (I think????) this would make sense to do.
I would love to be able to do this without using a script. So why not use one form per email?
<form action="mailto:test#domain.tld" method="get">
<input type="submit" value="test#domain.tld"/>
</form>
It seems the button text can be copied but not pasted, so that's a disadvantage.
Is this approach any good? or any other recommendations?
A robot uses the text of the page to get the email. It does not care if that text is in a button or within the body so using a button will not help.
Outside of using javascript, the only solution I know of would be written text, an image or Flash.
Create an image with your email or write out the email like: "test at domain dot tld"
Flash could provide you with a more secure (but not 100%) way of allowing people to click on an email but would not work on iPhone browsers and those that do not have the plug-in.
Another way is to use a simple captcha to before displaying the email in the PHP code.
Email: (1+2 = ?) then test#domain.tld
Because:
The email address is still in the page, and thus easily harvestable
mailto: URIs as form actions often fail
The reason server side form handlers stop email addresses being harvested is because the email address is not exposed to the user.