Hyperlink re-directing to a masked URL - url-rewriting

I am managing an e-mail campaign (containing HTML) for a customer of ours, and I am in the middle of a situation where I can't reproduce what is happening.
When I insert a hyperlink in the message body with the customer's website like : https://customer.com and send the campaign through "SendGrid" (our delivery service)a user clicks on the hyperlink in their e-mail, then it takes them somewhere completely different, it seems like the URL is masked.
When I then check the HTML source of the e-mail, instead of the link being https://customer.com it is http://https://customer.com
If I copy paste the URL in the browser then it works fine. If I create an HTML locally with the hyperlink to the customer's website, it still works fine.
Can there be something the customer needs to activate in their end?

Related

Ajax feedback from newsletter

I have created email contents as an html page.
I have placed 4 check boxes and every time one of them is checked I want to run ajax which calls a url with parameters. Is such a thing possible or the email client will not run it for security reasons or/and other reasons?
I can do it with a link to a page with the same contents but the recipient may not bother to click the link.
The whole idea is: Can we run ajax calls in html email contents as if the contents were in an autonomous web page?
No you can't. All JavaScript is stripped from emails for security reasons. The best you can do, as you've listed, is to have a link in the email with parameters to allow the landing page to do it.
You can achieve interactivity, however, with checkboxes - such as hiding/showing content (already placed in emails). If you're already inserting the parameters, I'm assuming then you have the information--so place that content hidden in the email, which when checked, shows. Mark Robbins shows how it's done: https://www.webdesignerdepot.com/2015/10/punched-card-coding-the-secret-of-interactive-email/ (if that's what you wanted, let us know in the comments and/or include your code and we can give a tailored example)

Get Forms Data in Square Payment

I have CaptainForm plugin installed on WordPress integrated website, CaptainForm is having Square Payment Gateway integrated with it.
I have created Form using CaptainForm and having Checkout Button on it, When I click on Checkout Button, the page is taking me to below page (as shown in screen shot) . I want the Square Payment Form should automatically capture the data like Name, Address, entered on form (of CaptainForm) to its Payment Page -
Square Payment Page
Square Payment Page is only capturing the Email from CaptainForm Forms (filled on previous page)
How can i capture all the data like Name, address, etc.
The only two fields that you can pre-populate are the buyer's email and the buyer's shipping address. You will not be able to pass the buyer's name to automatically fill it out. In order to have the address populate, you need to fill out the pre_populate_shipping_address field when calling CreateCheckout. I'm not familiar with the CaptainForm plugin, so I don't know how it works with the plugin.
Reference: https://docs.connect.squareup.com/api/connect/v2#endpoint-createcheckout

Send an email with the editable pdf placed in an iframe

I have a website built with Laravel and I need that the customer fills a editable PDF and send it to an specific address.
Instead of asking them to download it, fill it in local and then send it, I have created a new page in my site where I placed the editable PDF using an iframe.
Now, I would like to add a button that once the customer fills the PDF, it sends it automatically.
Does anybody know how to achieved this or is it not possible?
I am trying to do it using ajax, calling a method in my controller that will send the email using a template and with an attachment, but I don't know how to pass the PDF filled to it from the view(iframe).
Thank you in advance

how to create simple bookmarker firefox addon

I don't know why creating firefox addons is difficult. Maybe it's not my duty to create a new addons for company.
After 2 week in searching how to create firefox addons, I should say I don't know.
We need a simple addons for sending url of visited site to our server with a little information.
It should have a form with some fields : title, description and a selection area with submit button.
When clicking submit it should send these information with url of this page to our server.
How can I do this?
You will want to use page-mod - https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/SDK/High-Level_APIs/page-mod
You should insert a content script, which will port message back to your main.js telling it the information of that web page. Docs on port - https://developer.mozilla.org/en-US/Add-ons/SDK/Guides/Content_Scripts/using_port#port.emit%28%29
When your main.js receives that message, then you would use the request module to send it to your server. https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/SDK/High-Level_APIs/request
Now to get started follow this very simple guide to make your first addon - https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Getting_Started_%28jpm%29

How can I do a Directory Listing of ebsites with Ez?

I need to do a specific task with Ez Publish but I don't have a clue on how to do it.
What I need to do is a list of Websites(Website directory). I will need to add basically two kinds of data:
Website Name
URL of the website
Then, when I click in the website link it will redirect to a page where I have the IFRAME with the link(URL of the website).
Can someone give me a clue about how to do this with Ez Publish? I'm a beginner.
Best Regards,
You haven't said anything about where you're getting the list from, so I assume you have the list already and just want to know the correct way to input this type of content.
Login to the site admin area, browse to the part of the site you want the list to be at (usually a folder). You'll be adding content items of type 'link' below the folder.
Select the 'Link' content type and click on the 'Create' here button. Enter the content (including the link URL to the page containing the IFRAME) then send for publishing.
I'm assuming the sites are your own, since many sites now take steps to prevent others placing their page in an IFRAME.
If you want this page to not just link to the iframe page, but to actually display the iframe content, then you'll need to override the default link template (copy it and tell eZ to use your version instead) and add a bit of html for the IFRAME.
If you're the main user imputing this content, you could also just allow eZ to accept literal HTML in the main description text areas (XML Block) and just paste in your IFRAME html. Ugly but quick to set-up.
You should be able to find many examples of entering literal html at the community web forums http://share.ez.no/forums
You should create a specific class for that with the two fields you need.
One for the name and another one with the URL.
Then you'll just have to make an override of node/view/full.tpl for your new class Where you will display the name and an iframe with URL that have been typped in your class instance.

Resources