Email link opens email client with a Questionnaire in the Body - mailto

I have a question I can't seem to find an answer to. It may also be that I cannot figure out how to concisely word it to look for it most effectively.
Here is what I want to happen.
When someone clicks my "Email me" link (mailto: (I am using a .js to hide the real email address from the screen to filter spam) it opens up their email client, as usual, but the email already has a subject line AND the Body of the email already has text in it (A Questionnaire for them to fill out.)
Any help in the right direction will be much appreciated!
Cheers!

the mailto supports subject and body as params
mailto:you#yourdomain.com?subject=Your Subject&body=Message for the body

Related

Gmail custom email signature created with HTML tables

I've created an email signature which is built using tables as per advised, and looks great when opened in a browser.
However when I paste the code into the email signature section, it stays as just that, code.
I can create a signature in Word, and when pasted in to Gmail, this works, but this does not give me the control over the styling that I am after.
What am I missing here as I believe I should be able to do this?
Thanks

HTML_IMAGE_ONLY_20 message when testing email

I am sending an email to new users asking them to verify.
This is my email
But when I am testing the email in mail-tester.com, I get this HTML_IMAGE_ONLY_20 message. But I do not have any image sith text in or am I misunderstading the error?
I assume that’s a SpamAssassin rule. It is a rule that says that your message is composed primarily of image and not text. In your example you have a logo and not much text, so I’d assume it’s that. You could look up the source code for the SA rule and see what it’s actually looking for.

How can i send email with Voting buttons via shell script?

I have an existing email chaser system based on linux where we send emails to a large list of individual asking to reply on email with their confirmation and they can reply with options like a1,a2,a3,a4 or a5 which is working ok but teh percentage of response we are receiving is less so to make it more easy for them we would like to add clickable features like Voting buttons, can someone help me in this please?
I know how to do it in vbscript but not sure if linux can do it and I cant find any solution in forums yet, we have limitations which prevent us using any third party tools so we have to use Linux inbuild modules.
If voting is not possible then at-least can generate some clickable links when they click it will generate a corresponding response in subject line which we can grab late by some other process.
thanks in advance.
not sure about voting, but you could simply send html email with clickable links etc as below:
cat <<EOF | sendmail -t
To: someone#mail.com
Subject: A subject
From: A sender
MIME-Version: 1.0
Content-Type: text/html
<html>
<body>
GOOGLE
</body>
</html>
EOF

PHPMailer: How to allow empty message body

I use PHPMailer to send email to a hp printer (ENVY 5644) which will print whatever the body contain and any attachments. This works, however, I would like to send it body-less since only the pdf attachment is of any interest. The body is just waste of paper. I know it is suggested in other treads that one could just put a single space character in the body and it will look empty but the printer will spit out an empty paper anyway. If I send an email from Thunderbird where I write nothing inside the body, not even a single space but only add an attachment, I do not wast any paper when printing. Only the attachment is printed.
I know, I can just put the paper back into the tray but it would be more nifty if I did not have to.
Any solution?
It looks like your looking for the flag $mail->AllowEmpty = true; - just check the source code

Mail markup: google tester- ok, my server- bad

I have the problem with google mail markup
https://developers.google.com/gmail/markup/overview#gmail_actions
I tried Json-Ld and Microdata. But i have nothing. When i try to send me mail from google tester https://script.google.com/ - everything is ok and i get the letter with quick button. But when i send the same letter from my server- i get letter without quick button. At my server i tryed to change mail's charset, encoding, i tryed to use php function mail and PHPmailer script (yii)- the result is the same.
What should i see the next
Thank everybody for answers. lol
But i found that i should add me to wite list at google here
https://developers.google.com/gmail/markup/registering-with-google
Writers from google didn't mention about it at first part of instruction

Resources