The sample for the BCC can be build as dealing with the recipient declarations for our new mail message in the HTML codes, we can further customize the new mail object with defining the subject of the email as To Syntax with Samples This time our new query string parameter will be "BCC". It is just like adding a new query string parameter named "CC" to a can alter the above syntax in a similar way for Blind Copy To or the BCC field. If you also want to declare the Copy To or the CC field recipients, then use the below syntax for your HTML codes.
Some Client Email programs may also support comma delimited email address lists for declaring multiple recipients.īut Microsoft Office Outlook does not recognize the comma seperated syntax for multiple might have seen that some of the emails have been declared with in a new tag "To" in the hyperlink tag A.īut this method is not supported with most of the email programs.Īnd is not a good practise to place such a html code in your web pages. Second sample illustrates a simple mailing but this time to multiple recipients in a semicolons seperated format in the HTML code. field value is defined with one recipient. RFC2368 defines the format of Uniform Resource Locators (URL) for designating electronic mail addressesįirst sample uses the below seen on the HTML web page as the internet user who click on the above link will have the Outlook or the Email Client program that is set as default email program opened for a new message as shown below with only the To. You can find a list of sample MailTo HTML codes to summarize the use of MailTo syntax with samples.įor more information on about the syntax of 'mailto' URLs. The MailTo syntax also enables the HTML developer to set a default BODY text for the email object that is prepared using MailTo. This capability is also valid for the Blind Copy To or the BCC field recipients. You can also set a default subject field text for the email.Īlso it is possible to set the Copy To or the CC field values by typing the recipients for the CC field value.
This HTML tutorial shows how to build HTML links to open email client applications automatically with predefined recepients and subject and body content.īy using the MailTo in your href links in HTML files, you can manage multiple recipients in a semicolons seperated format. HTML developers can use MailTo in your HTML documents to support customized automatic emails from your web site. How to customize MailTo for Multiple Recipients, Subject and Body in HTML codes with samples