Open new email with readonly subject - html

I have below code in my Html page
<p>
This is an email link:
Send mail!
</p>
when i click on the 'Send mail' it opens up an outlook email with body and subject. Is it possible to make body as read only , meaning the user should not be able to enter/change anything in the body of the email. How can we do this?
thanks,
sankar.

The mailto: protocol simply instructs an OS to open the user's default mail-handling program. Because of this, the way a user's computer reacts to the mailto: link is dependent on the mail program that the individual uses.
While some programs may support "read only" subject lines or messages, most will not because by doing so you may force a user to send a message that they don't agree with or fully wish to send (hence a security flaw would be exposed).
In order to acchieve this "readonly" effect, you may wish to send email using a server-side library like PHPMailer which gives you full control over certain fields of the email and the user full control of others.

Related

Creating a "contact us" page using html

I'm trying to create a link which a user can click, that then redirects them to their email system allowing them to directly email a certain address. I'm not entirely sure how I would go about doing so.
If anyone could give me some tips that would be great, thanks.
hi i think this should work
Email Us
You can use a mailto link:
Send an Email
You can use Mailto Links
What is mailto link
Mailto link is a type of HTML link that activates the default mail client on
the computer for sending an e-mail.
The web browser requires a default e-mail client software installed on his
computer in order to activate the e-mail client.
If you have Microsoft Outlook, for example as your default mail client,
pressing a mailto link will open a new mail window.
Basic
Open default mail program, create new message with the TO field already filled out.
Email Us
Adding a subject
Open default mail program, create new message with the TO and SUBJECT field already filled out. Essentially we are adding the parameter subject to the href value.
Email Us
Adding CC and BCC
Open default mail program, create new message with the TO, SUBJECT, CC, and BCC field already filled out. Essentially we are adding the parameters cc and bcc to the href value.
Also note that you add multiple values to CC and BCC by comma separating them.
Email Us
Adding Body Text
Email Us
summary
You want a front end contact us page
No forms, in which the user can click a link to open up the relevant program to use
solution
Use protocols in your href attribute of an anchor tag
Example
Call us
The tel protocol will open a program relevant for making phone calls, ie skype on a desktop or the call screen on a mobile phone
Or
email us
Will open an email programme like outlook and show a window with the email address in the to field
For more information on href protocols for anchor tags visit
https://www.w3schools.com/jsref/prop_anchor_protocol.asp

Is it possible to show lync/skype for B presence indicator in outlook mail body?

I need to show user presence indicator in outlook mail body.
For ex: show not only user email in body text, but show user online status and etc like in from/to mail blocks.
I know how to do it by js/activeX on web pages, but what about mail body?
As I know mail message doesn't supp any execution code (for security reason).
Maybe there is some plugin like skype click to call but for lync?
Thank u for advices.

Capture subject line from Outlook email into mailto link in signature

I am helping someone working in operations to set up an email signature which includes a link to escalate to a higher official in case of any displeasure. While I can use a mailto: to link to the official's email id, I want to also capture the subject of the email to capture details like Service Ticket number and any other title that is in the email subject.
What I mean to say in a nutshell is - when a user clicks on the link, he would get a new Outlook compose mail window with the same subject. Using simple mailto: with manually changing subject line wont help. Looking for some tips here - am open to look at dynamic options like VB code or something but it has to be via Outlook.
Include a placeholder in the signature's link (e.q. mailto:somebody#domain.demo?subject=xyzq), when Application.ItemSend event fires, look at the MailItem.HTMLBody property and replace the placeholder (xyzq above) with the value of the MailItem.Subject property. You might need to encode spaces and special characters.
The mailto: command doesn't allows to specify any custom information for Outlook. Read more about the mailto scheme in RFC2368.
If you are new to VBA, I'd recommend starting from the Getting Started with VBA in Outlook 2010 article which explains the basics.

Mandrill App inline html form in email

Is it possible to put html form elements in mandrill app and send emails? I tried various possible things to send textbox and radio button but it does not show up in gmail.
No you can't use forms in emails.
"The short of it is that email clients consider email forms to be a security risk. While some email clients simply warn you of potential danger, others outright disable the forms. So if your client wants to send out a form, they should know that most of their recipients will never be able to use it. And for those who can, they’ll think twice about submitting data when they see a warning from their email client." - campaignmonitor.

HTML (using CSS) Code for sending an email to given email-id

How can i code a HTML (using CSS) file to send an email to me(i.e. to given email-id) by the visitor of that website?
Without using a server-side language, the best you can really do is a mailto link. That will open the user's default email editor with the "To" field populated with the value of your mailto link. You can create one of those like so:
Email Me!
It is possible to provide extra information in a mailto link, to populate more fields. For example, if you want to provide a subject:
Email Me!
You can also provide a value for the body, cc and bcc but I have no idea how well those default values are supported by various email clients.
Also note that this has absolutely nothing whatsoever to do with CSS, which is used for styling documents. I've therefore removed the CSS tag from your question.
You cannot. You can use a tag:
Email Me
And this will open a mail client in the client side. The client must have it configured for being able to send a email.
If you want to create a form that, when the user presses a button "send" sends you a message, you must use a dynamic language such as PHP.