HTML-Mail mit SO_OBJECT_SEND
Hallo,
kann man ueber SO_OBJECT_SEND eine Mail im HTML-Format versenden? Wenn ja, wie? Der Paramter object_type scheint mir ungeeeignet.
Danke und Gruß
Andreas
Hi Gregor,
thanks for the hint. I hadn't realized that it's an international forum, sorry. Here my question in english:
Is it possible to send an html-email with 'SO_OBJECT_SEND'? If yes - how? I thought first the parameter 'object_type' is helpful for this but after debugging it seems to be useless. Of course I would also appreciate any other solutions for html-mail.
Thanks in advance.
Andreas
Similar Messages
-
How can I create an HTML Mail signature?
I've spent the evening searching for a way to create an HTML Mail signature with no luck. My problem is that when I create a new signature in Mail and close mail I try the following:
1. Create an HTML signature in Dreamweaver CS6
2. Open it in Safari & save it as a .webarchive to the desktop & close Safari & Dreamweaver
3. Open the signature folder (through Finder) and copy the Mail generated name (.mailsignature or it could be .signaturemail - can't remember) & delete the file
4. Click on the .webarchive and replace the name with the .mailsignature
5. Copy the new .mailsignature file & paste it to the signature file
6. Open mail and try to use the signature
7. NOT WORKING
THANK YOU IN ADVANCE FOR ANY SUGGESTIONS!
PS I use iCloud if that makes any difference.This tutorial is great!
http://mydesignpad.com/create-a-complex-html-email-signature-for-mail-on-mac-os- x-10-9-mavericks -
Is there any way, to create with Adobe Muse HTML-Mail Templates?
Is there any way, to create with Adobe Muse HTML-Mail Templates? or to convert the createt page to only html content? any other tool like an website copyer?
tanks for help!Off the top of my head, you should be able to create mail templates in muse BUT it will require very basic html/css knowledge on your part. I am assuming you want to do just the signature?
Create the design you would like on one page, dont do any kind of styling in a master page. Then export the site into a folder. Open the html file with notepad/ textedit and then copy just the code for JUST the template. Throw it in you mail app of choice and it should work.
This seems like something that would be done alot quicker in dreamweaver in design view.
PLEASE NOTE: ^i could be completely wrong - but in theory this may work. -
In BCS HTML mail images are broken
HI experts,
I'm using the BCS calls to send out nice looking HTML which also includes one logo.
Internally, in our LAN, the mails are looking quite nice and the image/logo is displayed correctly (MS Outlook)
When external users using Lotus Notes try to open such an HTML mail, the image is attached correctly to the mail, but it isn't displayed, just a broken image picture. There's no chance to make the image visible inside the mail, they can just open the attached image itself, outside the mail context.
Question is now how can I reach that the image is displayed correctly? If this is not possible at all, how can realize that the Lotus Notes users get a "Show Images" link (security restriction - add sender to safe senders)???
Please find my current coding below, do I miss a parameter some where???
Best regards, Steffen
"Create Mail Document
l_subject = 'Expiring Authorization Notification'.
TRY.
lr_email_body = cl_document_bcs=>create_document(
i_type = 'HTM'
i_text = i_mailtext
i_subject = l_subject ).
CATCH cx_document_bcs .
ENDTRY.
"Add attachment to mail
TRY.
lr_email_body->add_attachment(
i_attachment_type = 'GIF'
i_attachment_subject = 'sap_logo'
i_att_content_hex = pick_data ).
CATCH cx_document_bcs .
ENDTRY.
"Create mail object
TRY.
lr_email = cl_bcs=>create_persistent( ).
CATCH cx_send_req_bcs .
ENDTRY.
"Set email document
TRY.
lr_email->set_document( lr_email_body ).
CATCH cx_send_req_bcs .
ENDTRY.
"Set status attribute for read receipt
"Read receipt should also be disabled in TCODE SCOT
"N No Status Is to Be Returned, suppress also in SOST
"E Only Error Statuses Are to Be Returned
"A Return All Statuses
l_request_status = 'N'.
l_status_mail = 'N'.
"Set that you don't need a Return Status E-mail
TRY.
lr_email->set_status_attributes(
i_requested_status = l_request_status "E=suppress read receipt N=suppress also in SOST
i_status_mail = l_status_mail ).
CATCH cx_send_req_bcs .
ENDTRY.
TRY.
lr_receiver = cl_cam_address_bcs=>create_internet_address( l_mail_address ).
CATCH cx_address_bcs .
ENDTRY.
TRY.
lr_email->add_recipient( i_recipient = lr_receiver ).
CATCH cx_send_req_bcs .
ENDTRY.
"If not imported create BCS sender from sy-uname
IF i_sender IS INITIAL.
TRY.
l_sender = cl_sapuser_bcs=>create( sy-uname ).
CATCH cx_address_bcs .
ENDTRY.
ELSE.
l_sender = i_sender.
ENDIF.
"Set Sender
TRY.
lr_email->set_sender( l_sender ).
CATCH cx_send_req_bcs .
ENDTRY.
"Send email directly
TRY.
lr_email->set_send_immediately( 'X' ).
CATCH cx_send_req_bcs .
ENDTRY.
"Now send the mail
TRY.
l_send_result = lr_email->send( i_with_error_screen = 'X' ).
CATCH cx_send_req_bcs .
ENDTRY.I also had this problem with the Oracle HTTP Server and mod_plsql install.
I battled with this for a while, I manged to get the images displayed etc.. by adding the following directive in httpd.conf
<Directory "/yourpath/Apache/Apache/apex/images/">
allow from all
</Directory>
Still playing around with it - perhaps I need to dig further/security rules etc..
But at least its something. -
How to send HTML mail with images multipart/related message
Hi,
Could any body tell me how to send HTML mail with images in "multipart/related" message,if any body can give the code ,it would be helpful.
ThanksHi,
Could any body tell me how to send HTML mail with
ith images in "multipart/related" message,if any body
can give the code ,it would be helpful.
ThanksHi!
Refer to
http://developer.java.sun.com/developer/onlineTraining/JavaMail/index.html
I've found it very helpful.
Look at the last part for a code showing how to send HTML mail!
Regards -
Sending HTML Mails using SO_DOCUMENT_SEND_API1
Dear all,
we were using SO_DOCUMENT_SEND_API1 to send plain text e-mail replies to participants of an incentive program. Now the customer wants to send HTML mails. Customer has provided HTML templates for the mails, and the text always is the same, only slight changes in regard to the particpants number occur. Has anybody ever performed sending HTML formated mails without using SmartForms?
Thanks for your help!
Kind Regards
ChrisSure.. here is a sample program.
report zrich_0002.
data: maildata like sodocchgi1.
data: mailtxt like solisti1 occurs 10 with header line.
data: mailrec like somlrec90 occurs 0 with header line.
start-of-selection.
clear: maildata, mailtxt, mailrec.
refresh: mailtxt, mailrec.
perform build_text_message.
perform build_receivers.
perform send_mail_nodialog..
* Form BUILD_TEXT_MESSAGE
form build_text_message.
maildata-obj_name = 'TEST'.
maildata-obj_descr = 'Test Subject'.
mailtxt = '<html>'.
append mailtxt.
mailtxt = '<head>'.
append mailtxt.
mailtxt = '<title>Untitled Document</title>'.
append mailtxt.
mailtxt = '<meta http-equiv="Content-Type" content="text/html;'.
append mailtxt.
mailtxt = 'charset=iso-8859-1">'.
append mailtxt.
mailtxt = '</head>'.
append mailtxt.
mailtxt = '<body>'.
append mailtxt.
mailtxt = '<div align="center"><em><font' .
append mailtxt.
mailtxt = 'color="#0000FF" size="+7" face="Arial,'.
append mailtxt.
mailtxt = 'Helvetica, sans-serif">THIS'.
append mailtxt.
mailtxt = ' IS A TEST </font></em><font' .
append mailtxt.
mailtxt = 'color="#0000FF" size="+7" face="Arial,'.
append mailtxt.
mailtxt = 'Helvetica, sans-serif"></font>'.
append mailtxt.
mailtxt = '</div>'.
append mailtxt.
mailtxt = '</body>'.
append mailtxt.
mailtxt = '</html>'.
append mailtxt.
endform.
* Form BUILD_RECEIVERS
form build_receivers.
* mailrec-receiver = '[email protected]'.
mailrec-rec_type = 'U'.
append mailrec.
endform.
* Form SEND_MAIL_NODIALOG
form send_mail_nodialog.
call function 'SO_NEW_DOCUMENT_SEND_API1'
exporting
document_data = maildata
document_type = 'HTM'
put_in_outbox = 'X'
tables
object_header = mailtxt
object_content = mailtxt
receivers = mailrec
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform.
Regards,
Rich Heilman -
Load remote images in html mail setting does not get saved. I have to turn it off every time I log in. Is this a bug?
Plug your phone into the wall charger for at least 30 minutes...make sure you have a sim card in the phone...then:
Leave the USB cable connected to your computer, but NOT your phone, iTunes running, press & hold the home button while connecting the USB cable to your dock connector, continue holding the home button until you see “Connect to iTunes” on the screen. You may now release the home button. iTunes should now display that it has detected your phone in recovery mode, if not quit and reopen iTunes. If you still don’t see the recovery message repeat these steps again. iTunes will give you the option to restore from a backup or set up as new.
Make sure you have no anti-virus software running or any firewalls...turn all of that stuff off. -
When I forward a HTML mail, the mail arrive stripped in a lot of archives
When I forward a HTML mail or even a simple rich text, the mail arrives to the receipts stripped in a lot of archives.
Example: If is a history of three mails, will arrive three or more (if have photos) archives to be opened as .html in some browser + the photos archives.
I use: OS X 10.9
The server is a exchange server.
The strange reason is because IF I REPLY, the mail arrives well. Only if I forward manually and/or automatic (some rule), happen what I informed above.
Any tip?
ThanksThanks to the tip. But I am very upset that Apple have no solution to this. I mean, if you have the option to forward, if you have the option to resend in HTML. Why we need to find ways to do this?
It is a shame after buy a MAC start to bw aware about a lot of problems....
Thanks again... -
we have found a bug in the new gw2014-client:
if any numbers are in a html mail in a link, the link doesn't work, the dialer will be open
the novell Support has been informedCgreiner wrote:
> we have found a bug in the new gw2014-client:
>
> if any numbers are in a html mail in a link, the link doesn't work, the dialer
> will be open
>
> the novell Support has been informed
Can you provide a little more info here? I cannot duplicate this, so it must be
reliant on specific setup. Did Novell give you a bug number to reference?
Danita
Novell Knowledge Partner
Upgrading to GroupWise 2014? We've got you covered
http://www.caledonia.net/store
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below... -
HTML Mail content in Sender Mail Channel
Hi Experts,
I am doing a PoC using sender mail channel to read an incoming HTML email & take few values from the mail body to send out as proxy message. Settings in my Sender channel are Transport Protocol: IMAP4 & Message Protocol: XIPayload. I have tried the "Use Mail Package" parameter checked & unchecked. If "Use Mail Package" is checked the XML payload I am getting contains the mail body under <Content> tag with all HTML tags.
Without "Use Mail Package" option checked the content is coming as plain text as below.
I have tried adding modules MessageTransformBean & ASMA setting "IMail.AssumeXMLContent=true". But Not able to make the content into mapping ready XML. Is it possible to convert the HTML email body into mapping ready XML or I should use Java or XSLT mapping to work on the HTML mail body?
Thanks in advance for any help.
Regards
Prem A.Hi Amit,
Thanks Amit. I will try XSLT or Java mapping for this scenario. Appreciate your help.
Regards
Prem A. -
Using Safari to send HTML Mail message but Mail keeps dropping images?
I'd like to use Safari to send html Mail messages, but when I click on File>Mail Contents... Mail opens a new window but my graphics are gone. (I'm creating the html pages using MS Word for the Mac.) I get a flash of the graphics for a second, and then they are replaced by a little blue lego. Any ideas? I've tried all kinds of mail preferences but nothing seems to help.
Figured it out (at least one way): had to load the image to a server and then add the image as a link only (uncheck "save picture with document" box).
-
Send html mail with apple mail
I used to send a html newsletter with apple mail. I opened the html file in safari pressed cmd + i and a html mail was created. On Yosemite there seems to be a bug with this feature. After pressing cmd + i it creates a mail and html website is selected in this mail, but the mail body is empty. Now I have no ideo how to send the newsletter. Apple mail was the only way to achive a correctly displayed newsletter on most common mail clients.
Does anyone have the same problem or a solution?Seems to be a bug in Safari under Yosemite. Occurs only with HTML pages which are stored locally on the Mac and then opened with Safari.
Two options for a work around:
(1)
When Apple Mail shows a blank page, choose PDF instead of WEB PAGE in the mail header.
Thereafter, the contents will appear as a PDF attachment.
(2)
Publish the HTML page. Surf with Safari to the published page. Use the command "File : Send : Email this page".
Now it should work. -
Hi
Does anybody knows how to send a HTML mail with flash to a
person?
grtz
TomHi!
You need to use a serverside script like php or asp. I have a
html string in
the swf which I send as LoadVars.send() to the server.
Of cource the server has to be configured correctly to
support the mail
function.
//Micke
"MatMaar" <[email protected]> skrev i
meddelandet
news:e3atb2$c2r$[email protected]..
> Hi
>
> Does anybody knows how to send a HTML mail with flash to
a person?
>
> grtz
> Tom -
Hi there,
I'm trying to send html mail with an image. I'm able to see the image but in another section, at the very bottom of my message. Is it possible to display the image in the main part of my message ?
Here my code :
MimeMultipart multi = new MimeMultipart();
BodyPart messageBodyPart = new MimeBodyPart();
String htmlText = <H1>Test</H1><img src=\"cid:image\">";
messageBodyPart.setContent(htmlText, "text/html");
multi.addBodyPart(messageBodyPart);
MimeBodyPart imagePart = new MimeBodyPart();
DataSource fds = new FileDataSource("C:\\Resources\\Templates\\logo.jpg");
imagePart.setFileName( "geologo.jpg" );
imagePart.setDataHandler(new DataHandler(fds));
imagePart.setHeader("Content-ID","<image>");
multi.addBodyPart(imagePart);
msg.setContent(multi);
Transport.send(msg);How many different e-mail clients have you tested that with?
-
Isn't it possible to send Html Mail through navigateToUrl() with contentType "text/html" for Android ? please suggest any workaround
ThanksAHHHH
What you can do to make HTML for Apple Mail is to make it in an HTML editor, open it with Safari use CMD+i - a new mail message will appear in a moment with the web page in the email body.
You can't do any major editing in Mail, you'll have to go back to the HTML file. But it works.
You can also use Copy (from a web page) and then (Edit) Paste as HTML (that what Paste as HTML is for, not for creating HTML email). You can also user Paste as HTML to copy/paste a HTML email you receive or part of a HTML email.
Maybe you are looking for
-
Can I stream music directly from my Ipod Touch 4g to my airport express?
Can I stream music directly from my Ipod Touch 4g to my airport express?
-
AD Trusted Reconciliation Issue in OIM 11g R2
Hi, I am trying to reconcile the users from AD(Trusted Source) to OIM 11g R2. I gave object class as User. and User ID in search filter but by default ObjectCategory is getting added in my search filter. so my search query ends up something like.. (&
-
or do I need a new HD? Thanks. JB
-
Adding SQL Server AlwaysOn to existing Failover Clusters
Hello, We use two seperate ms sql server 2012 clusters. We have two sites. All nodes are in same domain. In the first site, NOD1 and NOD2 are in SITE A cluster group. (INSTANCE A) They have a shared SAN storage. In the second site, NOD3 and NOD3 are
-
HotSpot Virtual Machine Error, Internal Error Error ID: 4349254E560E4350500
We are using WL 7.0.2 and 1.3.1_06 on Linux. Facing issues with HotSpot VM as follows - # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # Error ID: 4349254E560E43505000EC # Pro