Mandrill/MailChimp Replace Unsubscribe Link - email

Currently using a system to send emails in which templates are created in MailChimp. From the codebase, using mandrill, hit the madrill API to utilize the template and send emails where they need to go.
MailChimp auto creates an Unsubscribe Link. Is it possible to replace this? I've tried using asterisk|UNSUB|asterisk in the template and I can pull in my unsub link but the auto generated unsubscribe is still there.
I want to get rid of the MailChimp auto generated unsub. Is this possible?

Try this
<a href='{{unsub "anyUrlToYouWantToAddForUnsubPurpose.com"}}'> Unsubscribe Here. </a> in your template code .

Related

$mail -> where to put?

This seems to be the canonical way of sending emails in TYPO3.
I have access to the back-end of a typo3 installation via my browser. I have written some HTML code that I want to incorporate into the website via the "plain HTML" widget. That HTML code lets the user input some data. I want to send that data via email. Now I read the above tutorial and I'm asking myself where they want me to put that code? I mean that $GLOBALS stuff and further down that $mail stuff.
The documentation is a developer guide, thus you'll need to implement a plugin or similar with a controller or handler which contains this code.
However, with TYPO3v8 you can easily create forms with the form extension which also allows you to send mails. This is a lot easier if you are not a developer. (The email finisher of the form extension also uses the TYPO3 mailing API of course.)

How to set SendGrid custom Unsubscribe HTML body?

I've got Subscription Tracking ON, in "UNSUBSCRIBE CONTENT - HTML BODY" section - my custom HTML text. But in sent emails I'm getting standard "Unsubscribe From This List | Manage Email Preferences" footer, which is not my custom HTML content. Can't understand what I am missing here.
That setting refers to the global unsubscribe link. The "Unsubscribe From This List" link is a result of having unsubscribe groups configured. This page documents fairly well how you can replace the default links with your own.
https://sendgrid.com/docs/ui/sending-email/index-suppressions/
For example, a custom unsubscribe link in your template could look like this:
unsubscribe
Your template engine may URL encode the tag, so be sure to keep the raw tag intact. The default links will then disappear.

How to automate insertion of HTML code in Mozilla Thunderbird?

I have to add same HTML code when send some emails through Mozilla Thunderbird.
(The HTML code helps me to know email is read or not)
Now I just insert the code manually.
How can I automate the process?
Can I create button for the insertion?
Is there any addon for such task?
Try the SmartTemplate Addon.
You can create E-Mail templates with it.

Moodle: Add variable in 'a href' links in mail template

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! :)

using form buttons for spamproof email-addresses

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.