HTML formatted Email notification with embedded images
I am using Oracle BPM 6.5 (Studio) and been spending my wheels on trying to send out an email from a process with formatting. I am able to send emails in plain text. I get a parseexception whenever I try to set the content type property of MAil object. Not sure what might be going on. Here is the sample code.
reminderEmail as Mail
reminderEmail = Mail()
reminderEmail.from="[email protected]"
reminderEmail.recipient="[email protected]"
reminderEmail.subject="Review xx Information"
reminderEmail.contentType = "Content-Type: text/html; charset=utf-8" (IT WORKS WITHOUT THIS LINE)
reminderEmail.message = "<HTML><h2>Please check and resend the message</h2></HTML>"
send reminderEmail
It would be great if I can get a sample to send out HTML formatted emails. I know it should work because the automatic notification mail that is sent out by the engine is HTML. This is the one where it says "The instance can be accessed "here""
Thanks so much
If you want to send the html page and have it
reference the images and css files on your web
site, that's pretty easy. Just create a message
with text/html content that is your html page.
If you want to include all the images and css files
in your message along with the html page, you'll
need to create a multipart/related message and
you'll need to change all the html to reference the
images and css files using "cid:" references.
Similar Messages
-
HTML formatted email with international content displays wrong character
When reading HTML formatted email on the iPhone iOS4.1, it will sometimes display wrong characters.
Comparing email source content from various html formatted emails I can see that;
it displays incorrectly when:
- HTML formatted content
- Content type is marked as text/html with charset ISO-8859-1 (Latin1) which is the default html standard character encoding.
- The international characters are not written in html conversion format, i.e. ø instead of ø
It displays correctly when:
- The content is marked as text/plain and encoded as Quoted-printable
Anyway, the email which is display wrong characters on iPhone displayes correctly on OS X Mail app. Leading me to a temporary conclusion that it is a bug in iOS4.
Can anybody confirm this?No matter which format you choose, you're sure to offend some recipients. Some people object to HTML, based on security or privacy concerns. Some prefer HTML because it's a more effective means of communication for some purposes.
If your default composition format is HTML (or plain text), hold Shift when you click Write, Reply or Forward to switch the format to the opposite type, or if HTML is the default, select Options/Delivery Format/Plain text only in the Write window to make a one-off change. -
Sample Java Code to send an HTML mail with embeded image
Hello,
Please can I get a sample Java code on sending an HTML mail with embeded image.
The HTML message and relevant input parameters withhbe supplied from a PL/SQL that will call the class , the class will embed the image and send the mail to the recepient.tev wrote:
Please can I get a sample Java codeNo. This is a forum, not a code mill.
Recommended reading: How to ask questions the smart way
db -
Why can't I forward emails I receive with embedded images?
I have an iPad 2 and it seemed like I was able to forward emails with embedded images in the past, but now it never works. In fact, I've tried emailing directly from Photos and I have the same problem. No one gets any of my attachments or images. I've updated the operating system to the most recent version and it's made no difference.
And to make it even more frustrating, when I check my sent messages, the images are there!Are you sure that you've set up an account that will automatically delete the messages? Is it a POP or IMAP account? I had a .mac account years ago running Entourage, but never had a problem. For some reason it seems that the server is not deleting your messages upon quit (or however Mail handles it). Maybe we'll just bump this up and see what kind of response you get from those with .me accounts running Mail.
What version of Office do you have? I'm pretty sure that 2004 was a PPC suite and won't run on your new MBP. If you had 2008 on your PB, then you should just have to re-enter your activation key.
Good luck,
Clinton -
Hi,
I would create an email template with an image embedded.
I created the email template with outlook on my PC. The body is the following.
<body lang=EN-US link=blue vlink=purple><div align=right style='text-align:right'><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
filled="f" stroked="f">
<v:stroke joinstyle="miter" />
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0" />
<v:f eqn="sum @0 1 0" />
<v:f eqn="sum 0 0 @1" />
<v:f eqn="prod @2 1 2" />
<v:f eqn="prod @3 21600 pixelWidth" />
<v:f eqn="prod @3 21600 pixelHeight" />
<v:f eqn="sum @0 0 1" />
<v:f eqn="prod @6 1 2" />
<v:f eqn="prod @7 21600 pixelWidth" />
<v:f eqn="sum @8 21600 0" />
<v:f eqn="prod @7 21600 pixelHeight" />
<v:f eqn="sum @10 21600 0" />
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" />
<o:lock v:ext="edit" aspectratio="t" />
</v:shapetype><v:shape id="Picture_x0020_1" o:spid="_x0000_s1026" type="#_x0000_t75" alt="Description: LOGOXYZ_resized" style='position:absolute;left:0;text-align:left;margin-left:62.8pt;margin-top:0;width:114pt;height:68.25pt;z-index:251658240;visibility:visible;
<v:imagedata src="cid:[email protected]" o:title="LOGOXYZ_resized" croptop="4024f" cropbottom="9198f" cropleft="10723f" cropright="9533f" />
<w:wrap type="square"/>
</v:shape><![endif]--><![if !vml]><img width=152 height=91 src="cid:[email protected]" align=right hspace=12 alt="Description: LOGOXYZ_resized" v:shapes="Picture_x0020_1"><![endif]><b><u><span lang=IT
style='color:black'><o:p></o:p></span></u></b></p><p style='<b><u><span lang=IT>SI RACCOMANDA DI LEGGERE ATTENTAMENTE QUESTA LETTERA E DI CONSERVARLA</span></u></b><span lang=IT
style='color:black'><o:p></o:p></span></p><p style='<span lang=IT style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p style='<span lang=IT>Si
comunica che sono state attivate le credenziali di [//Target/LastName] [//Target/FirstName] per l'accesso alla Rete.<span style='color:#1F497D'><o:p></o:p></span></span></p><p style='<b>Scadenza: </b><span
lang=IT>[//Target/EmployeeEndDate]</span><b> </b><span style='color:#1F497D'><o:p></o:p></span></p><table border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td
width=225 valign=top style='width:168.5pt;border:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt'><p align=center style='text-align:center'><b>Applicazione</b><o:p></o:p></p></td><td width=225 valign=top style='width:168.55pt;border:solid
windowtext 1.0pt;border-left:none;padding:0cm 5.4pt 0cm 5.4pt'><p align=center style='text-align:center'><b>Nome utente</b><o:p></o:p></p></td><td width=225 valign=top style='width:168.55pt;border:solid windowtext
:p></o:p></span></p></td><td width=225 valign=top style='width:168.55pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt'><p
align=center style='text-align:center'><span lang=IT>[//Target/ADInitialPassword]<o:p></o:p></span></p></td></tr></table><p style='<span style='color:black'><o:p> </o:p></span></p><p
style='<span lang=IT style='color:black'>Per eventuali ulteriori informazioni contattare il SSIT all’indirizzo
[email protected].</span><span lang=IT><o:p></o:p></span></p></div></body>
Then I exported this template to the FIM Portal server, in the "Email Template" administration section on the Portal.
Where must I put the image to allow FIM to link it? Which attribute have I to modify with the correct path (src?)? And how?
Can you provide me some examples of the correct form of the path attribute?
Thank u very much.
FrancescaThe problem with using "cid" for embedded images is that the email message needs to be formatted differently. You don't have control over the header, mime type and other aspects that need to be defined to include and reference a "cid image" in the message
body.
First, the message header will need to have the following fields:
From: [email protected]
To: [email protected]
Subject: Test example
Mime-Version: 1.0
Content-Type: multipart/related; boundary="boundary-name"; type="text/html"
The "boundary" is what separates the content of the message to form the "multipart/related" pieces.
The message body then has boundary markers and additional content headers to define the individual pieces:
--boundary-name
Content-Type: text/html; charset="US-ASCII"
This is an HTML document, which contains a URI
referencing a resource in another body part, for example
through a statement such as:
<img src="cid:myImage" ALT="Big Smiles">
--boundary-name
Content-Location: CID:blahblah ; this header is not used
Content-ID: <myImage>
Content-Type: image/jpeg
Content-Transfer-Encoding: BASE64
/9j/4AAQSkZJRgABAQEASABIAAD/4QJQRXhpZgAATU0AKgAAAAgACgEPAAIAAAAUAAAAhgEQAAIA
AAAJAAAAmgEaAAUAAAABAAAApAEbAAUAAAABAAAArAEoAAMAAAABAAIAAAExAAIAAAASAAAAtAEy
AAIAAAAUAAAAxgITAAMAAAABAAEAAIdpAAQAAAABAAAA2sSlAAcAAAAQAAAB/gAAAg5TYW1zdW5n
IEVsZWN0cm9uaWNzAFNHSC1BODY3AAAAAABIAAAAAQAAAEgAAAABUGFpbnQuTkVUIHYzLjUuMTAA
MjAxMjowODoxMiAyMzoxODoyOAAAEYgiAAMAAAABAAIAAJAAAAcAAAAEMDIyMJADAAIAAAAUAAAB
rJAEAAIAAAAUAAABwJEBAAcAAAAEAQIDAJIBAAoAAAABAAAB1JIHAAMAAAABAAEAAKAAAAcAAAAE
MDEwMKABAAMAAAABAAEAAKACAAQAAAABAAAGAKADAAQAAAABAAAIAKAFAAQAAAABAAAB3KMA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zjrSC5QXWRnp27VtHRu3YynH4e1y/bwKUI6cfjVWSwzKRnFWIryNYS5PzelRC8W4
YnHSuNyqdDtVGErx
--boundary-name--
The HTML references the embedded content-id via the special "cid" URI. This is the same method used for email attachments. Using the "cid" allows an attachment to be rendered as content in the body of the email.
Since this would already require you to know the underlying mime type of the image, you already need to have the image data converted to Base64 encoding, and you don't have any control over the headers of an email template in FIM... you would need to write
your own email activity and not use the out-of-the-box FIM activities. The other method of getting an email to embed an image is to use the special "data:mime-type" URI in the src attribute of an img tag:
The same image shown above can be placed inline like so:
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QJQRXhpZgAATU0AKgAAAAgACgEPAAIAAAAUAAAAhgEQAAIA
AAAJAAAAmgEaAAUAAAABAAAApAEbAAUAAAABAAAArAEoAAMAAAABAAIAAAExAAIAAAASAAAAtAEy
AAIAAAAUAAAAxgITAAMAAAABAAEAAIdpAAQAAAABAAAA2sSlAAcAAAAQAAAB/gAAAg5TYW1zdW5n
IEVsZWN0cm9uaWNzAFNHSC1BODY3AAAAAABIAAAAAQAAAEgAAAABUGFpbnQuTkVUIHYzLjUuMTAA
MjAxMjowODoxMiAyMzoxODoyOAAAEYgiAAMAAAABAAIAAJAAAAcAAAAEMDIyMJADAAIAAAAUAAAB
rJAEAAIAAAAUAAABwJEBAAcAAAAEAQIDAJIBAAoAAAABAAAB1JIHAAMAAAABAAEAAKAAAAcAAAAE
MDEwMKABAAMAAAABAAEAAKACAAQAAAABAAAGAKADAAQAAAABAAAIAKAFAAQAAAABAAAB3KMAAAcA
AAABAwAAAKMBAAcAAAABAQAAAKQBAAMAAAABAAEAAKQCAAMAAAABAAAAAKQDAAMAAAABAAEAAAAA
AAAyMDEyOjA4OjEyIDE0OjU3OjI1ADIwMTI6MDg6MTIgMTQ6NTc6MjUAAAAMAAAABAAAAgABAAIA
AAAEUjk4AAACAAcAAAAEMDEwMAAAAAAAAAAAUHJpbnRJTQAwMzAwAAAAAAADARoABQA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UPUqCYWfyj/AOvVPUr77UMHgCtS7tUUhyoJrL1aNCjNnDCqo1Oaepz4qhKFH3Sl
NeqvAPTikjv9mNxGBVK4RJY2Azk/zqCQsY2UqckYFesqcbK587TxU1JtfM111bzwXjOSvFEeou/z
Dkis7TpI0TkYOPzqwzFcbBijlTVwqVpLTpuWBq+9SNqhgPxqGC6+Z2Peq8ilHHOKmaMvgqcJiqSS
d2Y1ak57CW9+zTkZ4zV1IRGwIbr0qpHEiuSPX86tKu+NQOMGtFLd9zmdK9oy6ak7xGQ7nJI9KlNw
08Z24wBj86ZPFlFwfmP5U+1BgZlxxWWqSZ6E6NrNrcdbzPHEo7E5+lIJftjsnQqalZsMD29MVIY4
omBUckdhSm1K1gpRlFWRUEYS4VCzdecVanl8qHC4KjtSNbRPMG/i4JzUzQK4ULjC1nJXtY0pJwUu
frsRaXKHf5RgjpWtqKs0C9cqKy7QCNye47AVpLc+fCwbhj0NTJu5NKSdJ9CiQ23rhgOKfZTNt+fI
zUywYG5u3T600Qgkeh/Srg76SOWceSScdS1C6LCyMTg0xH3kcVIkKJArHOMcVCr734bGaUd7G9R6
JNb9B1wrQo2OM0yzJTOOasW9k0/BbG01bi05YY2YnDH+dVKSV0ZU6Dm1JLYrW915UZDKSTzUtxD5
smegFKLZCuSx61OXQAIO361nG0al4mqg5JxloitaAKSuBuq2DnCgUlukUbE7cY/WrAuIghwRuA/W
rbbbuZUoqFmvQiUZc4GPWnJEXjDcgHtTi6qRz196mKnH+z/Sphd+9c2nDmVmU2tfNYqw4HSi2tAJ
dgPT+dWoLlN5zjrSC5QXWRnp27VtHRu3YynH4e1y/bwKUI6cfjVWSwzKRnFWIryNYS5PzelRC8W4
YnHSuNyqdDtVGErx" alt="Big Smile" />
This method is mostly supported by most of the common email clients, including Outlook.
Hope this better explains an alternate solution, -
How do I Send HTML formatted email using class in javax.mail pkg
How do I Send HTML formatted email using javax.mail pkg class ?i mean is thr any class available in this package to do this ?
Please see
http://javaalmanac.com/egs/javax.mail/SendApp.html
for Quintessential Program to Send E-Mail.
Then substitute line
msg.setText(content);
/with this one
msg.setContent( content , "text/html");
it should do in simplest form. -
Blank message body when sending or receiving HTML formated emails Exchange 2010
I Have just installed Exchange Server 2010 over the weekend on a customers system. All clients using either Outlook 2003 or 2007 are unable to see any text in the body of emails that are formatted in HTML. If they receive an email formatted as HTML there is no body text, if they send an Plain Text formatted email the recipient sees the text in the body. This problem presents across all Exchange users and affects all HTML formatted emails sent or received since transitioning from Exchange 2007 to 2010. Plain Text and Rich Text email present with no issues. If we import old email via a pst they afre able to see all email text both HTML and plain text. when we access the clients email account via OWA all emails work but then if we go into outlook 2003/2007 and click the email it removes the body text from the email in both the client and OWA have tried Outlook connection issues with Exchange 2010 mailboxes due to RPC encryption requirement
http://support.microsoft.com/default.aspx/kb/2006508 and it made no difference at all.
Thanks
Update: Have just tested further and all pc seem to work ok with either 2003 or outlook 2007 on. The problem only seems to be happening on the remothe desktop services server which has outlook 2007 ( have also tried outlook 2003 with same results)We have just migrated to Exchange 2010 and have had some blank emails come in to our system. We think we have a reason and fix for
it. Hopefully this helps someone else…
Staffs have their own private mailbox (as you would expect) but also share common mailboxes like "Support" and "Info". When an email came
into the inbox on a shared mailbox, it might be blank. Plain text emails seemed to be okay.
We found that when an email came in, it was readable for about two or three seconds (you need to be setup to send a test and check the inbox quickly - we used Outlook 2007 with the reading pane turned on) and then it blanked out!. We checked the incoming
email by using the arrow keys to select it and then select the email below the new email, if you go back and forth between them you can see the good new email suddenly goes blank.
So send another test, but this time make sure the email is set to “Plain Text”. Our email turned up fine, two seconds latter
it had a NOD32 signature appended to the end of it saying that it had been scanned by NOD32 (you may have seen this kind of note appended to the end of emails before).
What appeared to be happening is that one or more users sitting at their desks in Outlook had different settings configured in NOD32 (they
were supposed to be using the server based profile that we control). We thought we had the server doing the AV work, but several of our client PCs had NOD32 enabled to integrate with Outlook. New items received in the shared Inbox’s were being scanned
by the client PCs and having a signature appended which was mucking up the HTML format of the email and Exchange 2010 blanked them out.
Make sure your AV products aren’t corrupting the email formats causing them to be displayed blank. Try tests using OWA only and don't
access the mailbox using Outlook.
Thanks. -
How to enable HTML formatted emails in nokia e72?
Can anybody tell me that how to enable HTML formatted emails in nokia e72? I Owned a E71 & it has such a feature that I can activate HTML formatted email & Non-HTML formated emails. But I don't find any feature in Nokia E72. I receive all the mails as text messages. I use Other Emails Thanks in advace!
No supporting stuff here, amigo. This e-mail procedure is a safety precaution. Html might contain malicious code. Try Profimail for a while.
http://www.lonelycatgames.com/?app=profimail
‡Thank you for hitting the Blue/Green Star button‡
N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009 -
Mail problem with embedded images and links
Since Yosemite Apple Mail seems to have a problem with images that are used as a hyperlink to a website.
While links are clickable with external loaded images work fine, links with embedded images just do not anything. Clicking on them selects them, a double-click opens the image in Preview.
This works:
<a href="https://www.google.de"><img src="https://www.google.de/images/srpr/logo11w.png" alt="Google Logo"></a>
This does not work:
<a href="https://www.google.de"><img src="cid:logo_google" alt="Google Logo"></a>
Can you reproduce this problem?
We tried it with OS X 10.10.1 and 10.10.2After a bit of digging around I think I have found the reason for the EO being called prior to the CO. In the parent page CO, there is a transaction commit (oapagecontext.getApplicationModule(oawebbean).getTransaction().commit();).
Therefore, I assume that as my custom AM is a child of standard AM where the transaction is being commit, the child AM is sharing the same transaction/session and hence the EO being called.
I am running into issues with moving the validation to the EO as the validation requires visibility of the VO values to calculate a total value. Therefore is there a way to ensure that my custom AM maintains a separate database session/transaction to the parent/standard AM? Is it possible to break the parent/child relationship?
This way I assume that the commit issued by the parent page CO will not affect my custom AM/EO.
Cheers.
Jon. -
Annoying behavior when opening mail with embedded images
When I open an email that have embedded images within it, I am finding that Mail is always seizing control of the scrolling and is forcing the mail message to return to the top of the page. This happens while I am scrolling though the message and repeats until the message is fully loaded. Does anyone know if there is a work-around or solution to this problem? I find it very annoying, especially if it's a message I don't really care about.
Thanks!I am having the same problem, and would love to know an answer for this, too.
-
Hi all,
We are using Solution Manager 7.1 SP 10 and would like to use the "new" email notification with the new standard actions. Nevertheless, it seems that is doesn't work.
Based on what we read, we should not need to create anything anymore as described here Pep Up Your ChaRM - Part 1: HowTo Create a Smart e-Mail Action as we have now 2 actions already created in standard :
But when we try the SEND_MAIL_CHANGE_MANAGER one with the following action definition :
with schedule condition :
and start condition :
SCOT / SO16 / BP are properly configured based on the following thread ChaRM: Approval Settings - Email Functionality in Change Request
No email are triggered when for instance the status is in "validation". Are we missing something ?
Thank you in advance.
Kind Regards.Hi Vivek,
Thanks for the answer.
Of course, I have the corresponding YMCR actions created.
As it is "scheduled automatically", don't I have some kind of WF or jobs to plan ?
I assume that is not activated by default once you are in SP 10, isn't it ?
Based on the TJ30 table, my manager should received an email once the RfC is on "To be approved" or "Being implemented" status....which is not the case today...
As I am using the same user for testing the flow, I am wondering if it doesn't come from that but I doubt it.
And again, I wonder if there is not configuration to activate for these 2 actions, don't you think ?
Thank you in advance for your answer. -
Can not send HTML formatted email since Mavericks?
Hi..
I was using Thunderbird happily in Mountain Lion and all was well. But as soon as I upgraded to Mountain Lion I can no longer send any HTML formatted emails at all. Everything I paste into Thunderbird get instantly converted to 'plain text'. Apart from manually editing basics like font colour, italics, bold I can't do much else.
'Compose messages in HTML' is checked across all accounts, and 'Delivery Format' is set to 'Rich Text HTML'.
Yet thunderbird refuses to render any pasted HTML formatted material.
If I can not find a solution to this I will have to find an alternate mail client as rich formatting is critical for me.I just wiped Thunderbird completely from my system (Mavericks) and reinstalled from scratch. Yet still it will not render any HTML pasted into an email copied from Safari.
I did however manage to paste HTML from Firefox and then Chrome into Thunderbird and they both rendered perfectly.
But.. things get a bit strange. I am able to copy HTML from any webpage opened in Safari and paste it into a Googlemail email also opened in Safari and it renders fine.
This is such a pain as Safari is my browser of choice and Thunderbird my email client of choice. But they just don''t want to work together in Mavericks.
:(( -
HTML Formated Email From Oracle Database
Hello,
I am generating email alerts from oracle 11g,10g using utl_mail.send.
I want to genrate/send email in HTML formated.
How i can send HTML formated email form Oracle Database (11g,10g)
Thanks In Advancehi,
inside oracle apex 10g. i am using this.
please try
begin
HTMLDB_MAIL.SEND(
P_TO => '[email protected]',
P_FROM => '[email protected]',
P_BODY => 'test',
P_BODY_HTML => '<table><tr><td>data</td></tr></table>' || SYSDATE,
P_SUBJ => 'Test Email working '
wwv_flow_mail.push_queue(
P_SMTP_HOSTNAME => 'localhost',
P_SMTP_PORTNO => '25'
end;
Thanks
LOGA
www.go-websoft.com
Apex Consulting & Development -
Encounter error when sending HTML format email
please reference below codes, when the lt_html has more than one line, the email could not been displayed properly in my inbox.
did you encounter this kind of problem? Pls help, thank you.
document = cl_document_bcs=>create_document(
i_type = 'HTM'
i_text = lt_html
i_length = conlengths
i_subject = 'HTML format email' ).Hi,
please show the 3-line html-code that does not work:
in lt_html, also value and/or method to fill for conlengths
Save email as text and show whats there.
This is required for the answer.
Regards,
Clemens -
UTL_SMTP send HTML email with embedded image?
Hi, I can use UTL_SMTP to send an HTML email ok, but does anyone have an example of how to include an inline embedded image in the email? Thanks!
If you want to send the html page and have it
reference the images and css files on your web
site, that's pretty easy. Just create a message
with text/html content that is your html page.
If you want to include all the images and css files
in your message along with the html page, you'll
need to create a multipart/related message and
you'll need to change all the html to reference the
images and css files using "cid:" references.
Maybe you are looking for
-
JDBC Scenario: Delete all the existing records and Insert
Dear All, Scenario: IDoc to JDBC PI need to delete all the existing records in the SQL table then need to insert the records.I have created a two statements in the target structure. Statement1 -> TableName -> action : DELETE -> Table
-
ITunes is freezing and crashing my iBook
Hi I need help Got an iPod video for xmas and have just started to use iTunes- it has been on my system since I bought it. Transferred a lot of music into iTunes to load it onto the iPod. System froze (OS 10.3), tried to restart, it could not find th
-
Contract with Purchase Requisition mandatory
Hi gurus, pls. I need help to customize during creation of contract, the purchase requisiton as mandatory. I made the next customizing, but doesn´t work 1 - SAP Customizing Implementation Guide --> Materials Management --> Purchasing --> Contract -->
-
Raid support...
hey coders! what about some support for promise/highpoint raid controllers from the beginning of the installation? debian 3 (woody) already got support for some of them. maybe you could have a look at their project 8) greetings, moritz p.s.: are you
-
Trying to download Reader 11.04 and cannot with Error 1303
Can you all give us the EXACT steps when we are having trouble downloading. You only have an answer for year 2011. I have used your apps for getting remnants off computer but to no avail. A very old post mentions to go to File Manager but it does