Change font in e-mail body
Hi All,
I need to know whether it is possible to use multiple font styles in the body of an e-mail sent through a report program.
I am using the FM 'SO_DOCUMENT_REPOSITORY_MANAGER' as I want to send a document from the desktop as an e-mail attachment.
The FM 'SO_DOCUMENT_SEND_API1' does not serve the primary purpose of my requirement. So, it is eliminated.
Please suggest any method to achieve the requirement of using multiple font styles in e-mail body.
Thanks,
Dawood
If you set the document to be a HTML type, then you can use HTML scripting to set
the font.
Create send request
send_request = cl_bcs=>create_persistent( ).
Create html content:
mail_line = '.mail TBODY,{font-family:verdana;font-size:10pt;}'.
append mail_line TO mail_text.
... (your text)
Create document with type 'HTM' and provide your HTML scripting
document = cl_document_bcs=>create_document( i_type = 'HTM'
i_text = mail_text
i_subject = 'Subject' ).
Add document to send request
CALL METHOD send_request->set_document( document ).
Send document
CALL METHOD send_request->send( ).
Similar Messages
-
How to change font in SMPT mail
How can I change the mailing font while i send the mail using oracle SMPT mailing utility.
Thanks
Vishal1.if you are sending the mail (body of the mail) in txt format you cannot do it.
2. You can do it if you sent the mail in HTML format. -
Can I change the font size and/or color in mail app?
Change color: No
Change font size: In the App, No
But you can change the font size for everything in iPad: Settings > General > Text Size use slider to increase or decrease text size. -
How can you change the the font size in mail when not using the "(classic) style, particularly the column that lists all your emails (2nd column).
Change color: No
Change font size: In the App, No
But you can change the font size for everything in iPad: Settings > General > Text Size use slider to increase or decrease text size. -
How do I permanently change the font & font size for outgoing emails on iCloud?
I can do it manually, but then iCloud mail never "remembers" that change - grr. frustrating! Anyone solve this?Well, from a Mac's email app you can set font and size.
If using icloud.com, since that's browser based, hit comand-+ to see a message in a larger font. Is this what you mean? I wouldn't be surprised that using a browser, settings like font/size aren't stored. -
Need Help Changing Font Size on Mail Program
OS X 10.8.3
My mail list under "sort by date" column has a small font which I would like to make bigger.
I have gone to Mail>Preferences> Fonts & Colors but none of those cseem to change the font in the second mail column under (Sort by date).There generally is no way to change the font, or font size. TinkerTool is one of a few utilities that will allow the change of some items, but for the most part, the OS ignores any settings you use in TinkerTool.
The default font for the system is Lucida Grande. You absolutely cannot change it. If you delete the font from the System folder, the OS will immediately replace it with a copy from a deeply hidden location. If you delete the font from both locations, the Mac will instantly become completely unusable, requiring a reinstall of the OS from your OS X installation disks. Unless you have another drive with OS X on it so you can copy Lucida Grande back to the drive you removed it from.
About the only easy way to increase the font size overall is to select a lower resolution in the Displays section of the System Preferences. -
Outlook script to change font format on mail sent to a specific recipient
I'm trying to learn VBA for a number of more appropriate uses, but this one is kind of an inside joke. My standard email font color is purple and the text is small and 'girly" (10 point Georgia). My warehouse manager is always picking
on me about my email font and how his 'old eyes' can't read it. Is there a way to write a script, or combine the rule that runs a script in order to change the font on emails sent to one specific person? If anyone is going to bother to write
it out for me (THANK YOU in advance btw), the font I'd like to use is 14 pt Candara in black.
This is indeed more of a joke, but it will help me learn this VBA stuff. I'm mostly using it in excel for now.
Thank you thank you thank you.If you add the following macro to the ThisOutlookSession module, it will intercept your messages and if they are to '[email protected]' they are reformatted as requested - though frankly bold (included) looks better
Option Explicit
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim olInsp As Inspector
Dim wdDoc As Object
Dim oRng As Object
If Item.To = "[email protected]" Then
With Item
.BodyFormat = olFormatHTML
Set olInsp = .GetInspector
Set wdDoc = olInsp.WordEditor
Set oRng = wdDoc.Range
.Display
With oRng
.Font.Name = "Candara"
.Font.Bold = True
.Font.Color = &H0
.Font.Size = 14
End With
.Save
End With
End If
lbl_Exit:
Exit Sub
End Sub
Graham Mayor - Word MVP
www.gmayor.com -
I cannot change fonts in my mail.
in the preference fonts and colors the select buttons don't work.
i have checked forum. none of the discussion have helped me solve thisSusan, When you click the select button, it pops up an additional window. Look around for something that looks like this:
-
How can I change font color on mail?
How can I make it so all emails start with an altered font color? Thanks!
i just trialed it out, and under the prefs you have to select what font you want, and above it theres are little icons with the different font colours, theres like the colour spectrum circle thing, you should be able to take a selection, apply it and its all done.
sorry i cant help more -
How do i change the font color in mail message
I am trying to change the Font colour in Mail message to Blue as a permanent preference in Mail - Preferences. The system does not accept the settings and goes back to black. Is there a way to change the same.
The color of the font is determined by the recipient's email client. So you could change it, but it would depend on the recipient's settings.
And besides, blue is harder to read. -
Mail - OSX Lion - Can't change font in mail list
OSX Lion seems incapable of changing the font in the mail list on the left side. The default is a horrendous, teeny tiny font. Going to Preferences > Fonts and Colors and choosing message list font reveals a font picker. All the other font settings work in this view except the message list font.
If you go to the "Classic" (aka ugly) view, your message list font changes work.
I am a big believer in software aesthetics, particularly in an app you are staring at all day.
Please, oh please, Apple tell me this is not a default behavior! At the very least, if is truly is impossible to change this, and the over-50 crowd must squint at mail all day, indicate somewhere in the prefs panel that this will not work in the new view.
I'm really hoping there's a solution for this. As cool as the new mail app is, this would be a deal breaker that would send me running back to Sparrow."changing the font in the mail list on the left side"
You can change the size of the font (just not the font type) here: Preferences - General - Sidebar icon size. -
Change e-mail body in mail adapter using module.
Hi All,
I am woking with one mail adapter and I prepared one code to change the attachement name and body content. The attachement is working good but the body e-mail is not working.
After to check a lot of blog my code now is creating two attachements one with the Payload (xml) and other with the text that suppose to come as a body e-mail.
Someone could help me ?
Thanks a lot.
Michael PerettoHi Michael,
Can you check if your main attachment (the one that should be the mail text) does not carry the wrong content-disposition header?
The easiest way to check is to use some message capturing tool (e.g., TCPGateway attached in the SOAP FAQ Note). If this header is present, it should have value inline to inform the mail client to display the content in inline. If the value is set wrong, the MessageTransformBean module can be misused to repair this content header.
Best regards, Yza -
How to change font type in java mail script?
Hi,
I wrote a bean shell script to send mail on particular event. I want mail message body text font style to be modified.
Please provide help on this.
Thanks,
SaloniHi Saloni ,
You can add the text in the following way by using font tags for message body in your custom mail.
Message msg = new MimeMessage(session);
MimeMultipart mp = new MimeMultipart();
MimeBodyPart mbp1= new MimeBodyPart();
String htmlText = "<b> This is formatted</b>"+
"<font size =\"5\" face=\"arial\" >This paragraph is in Arial, size 5</font>";
mbp1.setContent(htmlText,"text/html");
mp.addBodyPart(mbp1);
msg.setContent(mp);
It worked for me. Let me know if you face any issue.
Regards,
Uday. -
Changing font case in Apple mail
Cannot figure out how to change font case in apple Mail. For example if I accidentally typed my message in all CAPS how can I change my typed message to lower case ?
Any ideas ?
Thanks
IanCannot figure out how to change font case in apple Mail. For example if I accidentally typed my message in all CAPS how can I change my typed message to lower case ?
I think WordService might be able to do that:
http://www.devon-technologies.com/products/freeware/services.html -
How can I change the font in my mail?
You cannot change the font (you can't change the fonts at all on the iPad) but you can format the Helvetica font for bold, underline and italics.
Select the type that you want to format - then tap the arrow on the right side of the options bar that pops up - that will take you to another options bar that has BUI on the left side. Tap that BUI (bold, underline, italics) and you can format the type for those options.
Maybe you are looking for
-
I have recently come back from a trip to Venice, i uploaded my photos to iPhoto to view and edit them, half way through the photos from day three of my trip it has frozen on a particular photo. I force quit the app and then re open it and it is still
-
Drop shadow failing to blur with high document raster effects settings DPI
I have a 1024px square artboard (in Illustrator CS6 16.1.0 running on Mountain Lion 10.8.1) with some fairly simply artwork that has a drop shadow effect applied, shown here at 33% with the Document Raster Effects Settings (DRES) resolution set to 15
-
I've just download java Webstart 101 and I try to see if java webstart can detect the difference in the jar file and download the difference The command line I type in the browser is: http://localhost:7001/db_utility.jnlp?%20version-id=1.2%@B&%20curr
-
Reg: 0COUNTRY and 0REGION are not displaying in the report
Dear SDNERS, I am facing a problem in CRM Report " 0CRM_C04_Q003" I am not able to get the 0COUNTRY & 0REGION data in the reports it is showing # Not Assigned. When I check the 0REGION & 0COUNTRY it is having data in it in the info objects. I come to
-
Windows Vista Installation Hangs on "Completing Installation" on Dell Inspiron 1720
I have a Dell Inspiron 1720 that I am working on. The original problem with this computer was that it was accidently shut off during a Windows Update. The computer will only load to a black screen with a white movable cursor. Unable to resolve that