How to send images and other colored text in email body
Hi
We are using SAP CRM 4.0 and we would like to send email to our customers using actions configured for activity. Our objective is to send Marketing Emails containing <u>Images and Color texts</u> in the BODY OF THE email and not as a PDF attachment.
The only relevant provision we could see in SCOT is either Text or PDF. On using text , we are loosing all images and color. The PDF option works , but the email generated is a blank email with PDF document as attachment.
We want the matter to be inserted in the body of the email and not as attachment.
Please do let us know if any one has faced similar situation and is there a resolution.
Thanks and Advance.
Regards
Sachi
Are you pasting in the HTML code?
You can't use the formats in the CRM editor to set bold text, etc. You have to use the HTML code and have set the Form up as Internet mail
http://help.sap.com/saphelp_crm40sr1/helpdata/en/82/dbfd38ccd23942e10000000a114084/content.htm
Here's the first screen setting for my test email:
Form Y_TRADE_SHOW_INVITATION / Trade Show Invitation (Test)
Form Usage 1 Internet Mail (SMTP)
Text Type 1 HTML
IBU Scenario
Customer Scenario
Page Format DINA4 Status Created
Characters Per Inch 10.00
Lines Per Inch 6.00
Style SYSTEM SAP Smart Forms Default
Created By MANECITO Changed By MANECITO
Date 01/16/2007 Date 05/22/2007
Time 09:49:12 Time 18:01:51
then, your email has to have the HTML tags
A bare minimum is your email has to have the <HTML> tag at the top, but it's advisable to be sure you have a more complete setup like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
.style1 {
font-size: x-large;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
.style2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
.style5 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small; }
-->
</style>
</head>
<body>
ENTER YOUR HTML MESSAGE HERE
</body>
</html>
Similar Messages
-
How to download attachments and other downloads from my email
I cannot download attachments or anything else from my email. I instaled l adobe reader, flash player etc, but it doesn'te seem like they are installing right, what to do. Also I cannot find where to accept the End User Liscense agreement what do I Do
We can't know. You are not offering system information or otehr details.
Mylenium -
How to send pdf and mp3 on iPhone please help
I need to know how to send mp3 and pdf and other files threw imessage does any one have information on how to do this thanks
I found a way to send pdf if I email my self the pdf then I click on it gives option to send threw imessage so that ones solved just need to puzzle out how to send mp3 and other files threw imessage thanks for your help though you must be a newbie like me lol
-
Some recipients receive my images attached to emails, some find they are embedded and difficult to impossible to separate. Just found out that if I remove my attached signature, the problem goes away. How to send images plus signature reliably?
When you attach things, make sure to check the box that says [√] Send Windows-Friendly attachments
-
How to use image and text in same component
Hello
Do you know how to use image and text in same component in java ?
because i need this in my project ,which is chat application , to
put the received text and any image if it is need within the textthanks levi_h
JTextPane class extends JEditPane and allows you to embed
images or other components within the text managed by the component -
How to display images and information
how to display images and information(e.g. like questions) on a jsp page that stored in a database
Look As far as i can see....
Utlimately every file could be expressed as a bytes buffer.
so say if you have a bean called Choice Bean which is expressed as
public class ChoiceBean{
private String choiceid;
private String choicedesc;
private byte image[];
public void setChoiceId(String choiceid){
this.choiceid = choiceid;
public String getChoiceId(){
return this.choiceid;
public void setChoiceDesc(String choicedesc){
this.choicedesc = choicedesc;
public String getChoiceDesc(){
return this.choicedesc;
public void setImage(byte image[]){
this.image = image;
public byte[] getImage(){
return this.image;
}QuestionList.java:
===============
public class QuestionList{
private List<ChoiceBean> choicelist;
/*Other member variable declarations*/
public List<ChoiceBean> getChoiceList(){
/*Custom code where you may build the list by querying the DA layer*/
return this.choicelist;
public int search(String choiceid){
int index = -1;
for(int i =0 ; i < this.choicelist.size() ; i++){
ChoiceBean cb = this.choicelist.get(i);
if(cb.getChoiceId().equals(choiceid)){
index = i;
break;
return index;
/* Other member method declarations */
}and you are retreving List<ChoiceBean> from DB using your query & have created a session attribute / <jsp:useBean> named ChoiceList
NOTE: sometimes your application server can go out of bounds as you are consuming a lot of memory by creating an arraylist object.
use the following methodology to display images & choices
sample.jsp:
=========
<jsp:useBean id="QuestionList" class="com.qpa.dao.QuestionList" scope="session"/>
<TABLE>
<%
/* QuestionList.getChoiceList() is a method which fetches data from the DB & returns it in form of List<ChoiceBean> */
List<ChoiceBean> choicelist = QuestionList.getChoiceList();
for(int i =0 ; i < choicelist.size() ; i++){
%>
<TR>
<TD><%!=choicelist.get(i).getChoiceId()%></TD>
<!-- calling servlet which renders an images in JPG format based upon given choiceid(unique field) -->
<TD><IMAGE src="ImageServlet?choiceid=<%!=choicelist.get(i).getChoiceId()%>"/> </TD>
<TD><%!=choicelist.get(i).getChoiceDesc()%></TD>
</TR>
<%
%>
</TABLE>
<%
session.remove("QuestionList");
%>
NOTE: usage of JSTL or any other custom built tag-libraries makes life more simpler in the following case
ImageServlet.java:
===============
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
byte buffer[] = null;
HttpSession session = request.getSession(false);
/*getting the QuestionList from the session*/
QuestionList ql = null;
String choiceid = new String("");
try{
choiceid = request.getParameter("choiceid");
/*getting the QuestionList from the session*/
ql = (QuestionList) session.getAttribute("QuestionList");
} catch(Exception exp){
if(choiceid.equals("") == false && ql != null ){
List<ChoiceBean> clist = QuestionList.getChoiceList();
assuming that you have created a serach method which searches the entire choice list and would give you
the index of that object which is being refered by unique choiceid and returns -1 if not found
int index = QuestionList.search(choiceid);
if(index != -1){
ChoiceBean cb = clist.get(index);
buffer = cb.getImage();
if(buffer != null){
// assuming that we have stored images in JPEG format only
JPEGImageDecoder decoder = JPEGCodec.createJPEGDecoder(new ByteArrayInputStream(buffer));
BufferedImage image =decoder.decodeAsBufferedImage();
response.setContentType("image/jpeg");
// Send back image
ServletOutputStream sos = response.getOutputStream();
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sos);
encoder.encode(image);
} else {
response.setContentType("text/html");
response.getWriter().println("<b>Image data not found</b>");
}However,i still feel there are few loopholes with this approach where Application Server can eat up a lot of heap space which may result in outofmemorybound exception.
Hope this might help :)
REGARDS,
RaHuL -
How to send image file through mail without any attachment
Plz tell me how to send image file through mail without any attachment ( i mean not converting that image into pdf or any format ) i want to send that text or image through mail .
Hi Sandeep,
I think you can setup the type of email in Shared office Settings in transaction S016.
There is an option called <Preset document classes>
You choose this pushbutton to branch to the maintenance screen for the document classes that are directly displayed to users in the Business Workplace for selection when they use the Create function. The name under which the documents are displayed can also be maintained.
http://help.sap.com/saphelp_nw70/helpdata/en/6c/69c30f418d11d1896e0000e8322d00/content.htm
Haven't tried it though.
Regards,
Siddhesh -
How can I attach j-pegs and other documents to an email unopened and stop each them taking up a whole page of my email ?
In addition to the last poster's suggestion - just so you know, it also depends on the email program the recipient uses as to how they will see any attachments - for instance, when I am using my Yahoo Mail, I am absolutely unable to view any attachment within the browser window - Yahoo forces me to download it; there is no way for me to check it (like a preview) to see if I want to download it or not.
And, FWIW: the window shown in the screenshot does not show on my version of Mail 5.1 (which is the latest for 10.7.2); the only one similar shows when viewing a message received with an attachment, not while sending one. So that must be a different version. -
How to send images through PI using SOAP adapter
hi,
Can anybody tell me how to send images through PI using SOAP adapter.
Regards ,
LoveenaHi Loveena,
only as attachments of a SOAP message.
Regards,
Udo -
How to send image as a part of body with java mail
How to send image (.GIF) file in mail body & not as an attachement using java mail API
You need to create a multipart/related message.
You'll probably find examples in this forum. -
Jdeveloper visual editor do not show images and other component shapes
I used jdeveloper(10.1.3.3.0) to create an ADF BC application, I create a jsf jsp file and drag and drop components from ADF Faces Core to this file visual editor, but jdeveloper visual editor do not show images and other component shapes.
Could you tell me how I can fix this problem?
Thanks,
MikeActually, I need to make a dummy change to the jsp file and then it will display boxes representing the objects in the visual editor whereas I get an exception in the log:
javax.servlet.jsp.JspException: Cannot find FacesContext
This does not talk much to me !
Thanks -
How to block MacKeeper and other browser ads
how to
block MacKeeper and other browser adsThere is no need to download anything to solve this problem. You may have installed a variant of the "VSearch" ad-injection malware. Follow Apple Support's instructions to remove it.
If you have trouble following those instructions, see below.
Malware is always changing to get around the defenses against it. This procedure works as of now, as far as I know. It may not work in the future. Anyone finding this comment a few days or more after it was posted should look for a more recent discussion, or start a new one.
The VSearch malware tries to hide itself by varying the names of the files it installs. To remove it, you must first identify the naming pattern.
Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination command-C:
/Library/LaunchDaemons
In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
A folder named "LaunchDaemons" may open. Look inside it for two files with names of the form
com.something.daemon.plist
and
com.something.helper.plist
Here something is a variable string of characters, which can be different in each case. So far it has always been a string of letters without punctuation, such as "cloud," "dot," "highway," "submarine," or "trusteddownloads." Sometimes it's a meaningless string such as "e8dec5ae7fc75c28" rather than a word. Sometimes the string is "apple," and then you must be especially careful not to delete the wrong files, because many built-in OS X files have similar names.
If you find these files, leave the LaunchDaemons folder open, and open the following folder in the same way:
/Library/LaunchAgents
In this folder, there may be a file named
com.something.agent.plist
where the string something is the same as before.
If you feel confident that you've identified the above files, back up all data, then drag just those three files—nothing else—to the Trash. You may be prompted for your administrator login password. Close the Finder windows and restart the computer.
Don't delete the "LaunchAgents" or "LaunchDaemons" folder or anything else inside either one.
The malware is now permanently inactivated, as long as you never reinstall it. You can stop here if you like, or you can remove two remaining components for the sake of completeness.
Open this folder:
/Library/Application Support
If it has a subfolder named just
something
where something is the same string you saw before, drag that subfolder to the Trash and close the window.
Don't delete the "Application Support" folder or anything else inside it.
Finally, in this folder:
/System/Library/Frameworks
there may an item named exactly
v.framework
It's actually a folder, though it has a different icon than usual. This item always has the above name; it doesn't vary. Drag it to the Trash and close the window.
Don't delete the "Frameworks" folder or anything else inside it.
If you didn't find the files or you're not sure about the identification, post what you found.
If in doubt, or if you have no backups, change nothing at all.
The trouble may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
Install system data files and security updates (OS X 10.10 or later)
or
Download updates automatically (OS X 10.9 or earlier)
if it's not already checked. -
Do you think that apple would exchange my ipod gen 5 for another one because this one well, the screen isn't broken but the inside is half black and other colors? When it happened it was in its otter box, and i lost the receipt and got it on may? How much do you think it would cost please help me.
If covered by warranty. See:
Apple - Support - Check Your Service and Support Coverage
Then if the iPod is within warranty, not abused Apple will exchange it at no cost. You can do it at an Apple store
Make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar -
How to get tools and other bars back in view after deleting show-bar?
How to get tools and other bars back in view after deleting show-bar?
Hello Jouko.
You can go into View > Toolbars and select the ones you want to see. If you can't see the menu bar you can simply tab ALT on your keyboard (I think F10 works too) to show it. -
Bought 10 gb Uploaded Iphone and IPad2, left with 2gb space. How to view pictures and other info in ICloud? Can I upload documents from my desktop (Windows os)?
Thanks.If you backed up your iphone to icloud, then there's a chance that doing a restore might bring back your photos. I say "chance" because many users have tried that (assuming they had photos turned in for backups in settings), but ended up not getting back any photos. If that happens, then they are gone.
Remember, you should have been syncing photos all along to a computer for archiving. Don't trust the pictures to an icloud backup.
Maybe you are looking for
-
Rfc to soap (webservice)
Hi, I have a RFC in R3 sending out employee# in TABLES parameter to XI. XI needs to call an external webservice, for each of these employees and get their name. RFC will collect the names in the TABLES parameter(second column) and send response back
-
Adding to Library is very very slow
I have 139 GB of music. My library gets slow, until I purge out the entire main library and start fresh. I begin to add songs to my playlist by dragging folders sorted by genre of music. Progressively it gets slower and at some points it gets very sl
-
Final Cut Studio Fresh Install
Wats the best way to do a fresh instal of Final Cut Pro Studio? What files do I need to delete, etc...
-
ISA : Date on Delivery Notes
Hi all, We are working on ISA 5.0 and CRM 5.0. When we open an order in our internet shop, for each item we can see the delivery note number, a date and the quantity delivered. We have realized that the date displayed corresponds to the planned good
-
First off, my problem is this. I know the only way to copy over a folder is to create a new folder where you want to copy the original folder to and copy each file over seper ately, then remove the old file....for some reason my copy seems to be fail