Set Email Subject font and size

Hello every body ,

 How i can set the email subject font and size. I have tried the following

objMail.Subject ="<p style=Font-size=10pt;font-family:Arial> List of Monthly Reportable Communications</p>"

and with Div , but no success.

 The body style is working fine with <div> tag

 

Please help

 

0
Ramjee
3/19/2009 9:07:36 PM
asp.net.web-forms 93655 articles. 5 followers. Follow

2 Replies
383 Views

Similar Articles

[PageSpeed] 34

 You cannot do that.  Email subject is plain text and you cannot have any formatting.


Bruce
DiscountASP.NET: Developer Ready ASP.NET Web Hosting
- Microsoft Gold Certified Partner
- Voted 2008, 2007, 2006 & 2005 Best ASP.NET Web Hosting by asp.netPRO Magazine
0
Bruce
3/19/2009 10:27:51 PM

You can't set the style of the Subject accept the Body section.


Best Regards,

Asim Afzal Chaudhry
MCT/MCAD/MCDBA/MCSD/MCP

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
0
Asim
3/19/2009 10:32:23 PM
Reply:

Similar Artilces:

Set web form size
Hi All, I used vb.net to develop web froms. Please let me know how to set size to the web from, I mean in run time I want the webform to open with a certain size (in the browser). how do I do that and I also want to disable the Maximize button. Please lemme know ...

Implementing .Net Form into an APS.net web form, can this be done
I am new here, but have been searching for a while, and may not have the correct lingo to find what I am looking for.  I am tasked with implementing a .exe application that was writen vb6 then converted to .net into a new website my team is developing. The idea is to put each of the 3 different forms in this .exe application of 3 different .aspx pages. I have attempted multiple things to get this into the page and even started to just rewrite it as an ASP.net web form, but even then I can't reuse any of the code since the System.Web.UI.Page doesn't inherit the sa...

Setting font type and size of email body
When sending email in vb.net, how do you set the font type and size of the body of the email. The BodyFormat = MailFormat.Text....

changing default font size does not affect font size on form buttons and input fields.
Hello, in https://bugzilla.mozilla.org/show_bug.cgi?id=305109 I propose that changing the default font size in Preferences should also change the font sizes for form controls. On windows it works this way. Concerning Unix, though, the form controls keep their size, even if you adjust the default font size in Firefox preferences. This makes for ugly form controls if you do not adjust your GTK settings along with your Firefox default font size. But there is a workaround: you can also make Firefox scale the form controls by applying the following changes to 'font:' li...

Email smtp form to set hostname in Web.config
Hi I want to write a simple form that sets the hostname in the web.config based on a textbox on form Example of layout Hostname [ textbox ] Port [ textbox ] Submit Button How would i do this? and is it possible to call the hostname vb page behind with that value. Cheers Check this blog post:http://www.odetocode.com/Articles/418.aspx Darrell Norton, MVPDarrell Norton's BlogPlease mark this post as answered if it helped you! Thanks for link Darrell, it's a bit late now for reading this blog but this is the way i connect to sql (i.e. connection strings)  I will loo...

Size web form with size of screen
How i can resize my web form with the size of the screen of the client Other than width/height = 100%?Encosia - ASP.NET, AJAX, and more.Latest article: Using complex types to make calling services less… complex Check out Javascript's window.resizeTo(x,y) (scroll down). You can get screen size from screen.availWidth & availHeight Thanks....it works...

Fonts & Fonts Size Settings
What Control the Fonts & Fonts Size Settings you see at the browser? I have deployed an application and found it is not WYSWYG for some PCs. The alignment of the GUI is completely off. This is strange that when my browser is connect to my development PC (XP), the alignment is fine. But when the same program is deployed at the App Server (Win2k3), the alignment is completely off. I didn't change my browser settings in between. Thanks in advance, SAM ...

Thunderbird
Name: Thomas Email: Miller Product: Other (please state) Summary: Thunderbird - Setting font size (default) on email messages written Comments: After installing the latest Thunderbird product I cannot reset the font size to a default setting. Upon opening the program the font size always returns to what I would describe as small display type. I have changed nothing else on my computer so I would assume the version update is the culprit. Thanks for any patch (repair) or other suggestions that you might have. Tom Miller Browser Details: Mozilla/5.0 (Windows; U; Windows ...

windows forms in vb .net into web forms
we are creating a database driven website as part of our project. currently we have forms connecting to the database created in visual basic. these windows forms we need to convert into web forms which are asp .net compatible. can u give me an answer or show me a way. Hi, because of the difference in nature between web and win applications you'll need to reimplement at least the UI part. If you have a multitiered application in which the busines logic and data access are in different parts/assemblies you can reuse them. Grz, Kris.Read my blog. Handy Firefox plugins for web developers.Wor...

Submitting Web forms fields to sql database by clicking on SUBMIT FORM and sending the form fields to email box
I have a created or designed a form to be stored in a SQL database table and at the same time when a user clicks on SUBMIT button the form fields will automatically goto the visitor email address immediately. Also i have created a database with tables for each of this forms Pls help i have over 10 forms designed but the problem of submitting them to the table database and the user email address is the challenge now.... You ned to familiarise yourself with the basics of database access in ASP.NET.  There are free tutuorials here: http://quickstarts.asp.net/QuickStartv20/aspnet/doc/da...

Setting the Size of a Modal Form called by a Main Form
Why do I get an error for clicking on btnMaxClick? {code} unit uEnv; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs; type TfrmEnv = class(TForm) img0101: TImageControl; img0201: TImageControl; img0301: TImageControl; img0401: TImageControl; img0501: TImageControl; img0601: TImageControl; img0701: TImageControl; img0102: TImageControl; img0202: TImageControl; img0302: TImageControl; img0402: TImageControl; img0502: TI...

Web.Config Email config settings and Email class
Hi can someone show me an example of adding details into web.config for a mail server (internet not network mail server, ie. Domain hosting) and a class with methods for send emails in c# asp.net?   kind regards   Gareth   http://www.developer.com/net/asp/article.php/3096831 that should help for the web.config stuff im not sure i understand you. you can add keys in your appSettings tags like <add key="smtpServer" value="smtp.myhostingcompany.com" /> and reference that as your smtp server for sending mail via Smtp s = new Smtp(ConfigurationSettings.AppSett...

Web form to email, database, and multiple email addresses
I tried following the video about web forms as well as reading numerous posts in these forums, but I cannot get my web form to work properly.  It's not emailing any info at all.  I have uploaded the form as it is to my website if it helps you to look at it from there.  It's at <a href="http://www.deesdogcare.com/contact/default.aspx">http://www.deesdogcare.com/contact/default.aspx</a> which is not visible anyplace on the site.   Here is my .aspx page code: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="...

.Net Web Form & Web Service Deployment
Hi all I have written some test web services and some web form applications and deployed them to my IIS. That's fine but I now want to deploy them to my real IIS server. I have created an msi for each but the problem is I seem to only be able to deploy to the default web site. Our default web site is turned off and instead we use several other sites. Does anybody happen to if Powerbuilder 11 supports non default web sites? If not do I need to hack the msi and if so can anybody suggest a suitable tool. I have Orca but it's not very friendly. Unless of course I knew exactly w...

Web resources about - Set Email Subject font and size - asp.net.web-forms

Human subject research - Wikipedia, the free encyclopedia
Systematic investigation incorporates both the collection and analysis of data in order to answer a specific question. Examples of research oriented ...

No more tears for Taylor Swift, as song subject, ‘Drew’, arrested for child abuse
Taylor Swift's song subject &quot;Drew&quot; arrested for child abuse of three-year-old at Tennessee home

Slippery subject: 'Big V' logo goes missing from Australian Open's centre court
The triangle that features in Melbourne's new tourism logo has gone missing in action at the Australian Open.

'Making a Murderer' subject Steven Avery files a new appeal to throw out his conviction
... of a search warrant and jury improprieties during Avery's trial, the Daily Beast reported . Avery, whose trial and convictions are the subject ...

Petition calls for pardon of 'Making a Murderer' subject Steven Avery
Steven Avery is an unlikely icon for innocence.

Renault becomes latest subject of diesel-related investigations
The French automaker's stock price took a big dip after a series of police raids.

Steven Avery, subject of 'Making a Murderer' documentary, files appeals
CNN Steven Avery, subject of 'Making a Murderer' documentary, files appeals CNN (CNN) Steven Avery, the subject of the popular Netflix documentary ...

AP Report: U.S. Power Grid Subject To Repeated Foreign Hacks
... Press found there have been at least a dozen cyberattacks against the U.S. power grid over the last decade. The U.S. power grid is subject ...

'MAKING A MURDERER' Calls grow to pardon subject of Netflix series
'MAKING A MURDERER' Calls grow to pardon subject of Netflix series

UVa Dean Lawyers Seek Rolling Stone Subject's Messages
Dean suing Rolling Stone for debunked article alleging campus rape seeks woman's text messages

Resources last updated: 1/15/2016 3:10:39 AM