HTMLDB_MAIL.SEND problem when sending HTML
We had a test application running off of the Oracle hosted site. We used HTMLDB_MAIL.SEND and P_BODY_HTML successfully. However, now we are running on our own hosted site of the production release of 1.6 (no code changes whatsoever, just an export/import). When we send the P_BODY_HTML it is not converted to html, it is sent as text with the html tags embedded.
In the meantime we have written our own mail procedure, but we were hoping the version of 1.6 that is available was the same as the hosted version.
Is there something else we should be aware of?
Thanks!
Joel,
I have the following with P_EMAIL_BODY my text body:
create or replace PROCEDURE "MR_SEND_MAIL"
( P_TO_EMAIL IN VARCHAR2,
P_EMAIL_BODY IN VARCHAR2,
P_EMAIL_SUBJ IN VARCHAR2 ) is
L_ERRMSG VARCHAR2(200);
L_BODY VARCHAR2(4000):='';
begin
l_ERRMSG := 'HTMLDB_MAIL.SEND()';
L_BODY:= L_BODY||'<HTML><HEAD><META http-equiv=Content-Type content="text/html; charset=iso-8859-1">'||chr(10);
L_BODY:= L_BODY||'<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>'||chr(10);
L_BODY:= L_BODY||'<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">'||chr(10);
L_BODY:= L_BODY||replace(P_EMAIL_BODY,chr(10),'<BR>')||'</BODY></HTML>'||chr(10);
HTMLDB_MAIL.SEND(
P_TO => P_TO_EMAIL,
P_FROM => '[email protected]',
P_BODY => 'this must be viewed by an html enabled client',
P_BODY_HTML => L_BODY,
P_SUBJ => P_EMAIL_SUBJ);
l_ERRMSG := 'PUSH_QUEUE.';
BEGIN
wwv_flow_mail.push_queue(
P_SMTP_HOSTNAME => 'gilbert.esc.net',
P_SMTP_PORTNO => '25');
EXCEPTION
WHEN OTHERS THEN
RAISE_APPLICATION_ERROR(-20080,'MR_SEND_MAIL: '||l_ERRMSG);
END;
end;
It does not work properly. I'm using Groupwise and have my client set for HTML.
Should I have mult-part somewhere?
Any help be appreciated, Bill
Message was edited by:
Bill Carlisle
Similar Messages
-
Problem when cleaning HTML data in coldfusion
Hi,
I have below piece of CF code to clean&convert HTML data into a well formatted one.
<cffunction name="cleanHTML" returntype="string">
<cfargument name="sHTML" type="string" required="yes">
<cfset sHTML = reReplace(sHTML, "\r\n(\S?)<br>\s*(<(u|o)l>)", "\1", "all")>
<cfset sHTML = reReplace(sHTML, "</?(p)>(\s+| +)*(<br>(\s+| +)*)+$", "", "all")>
<cfreturn sHTML>
</cffunction>
<cfquery name="getDetailsOfReport" datasource="datasource_name" >
select details from reports where report_id = 1326065
</cfquery>
<cfoutput>#cleanHTML(getReport.details)#</cfoutput>
Above code is working fine when getDetailsOfReport query is returning small amount of data, however fails when query returns large data.
Note:
Details column of REPORTS table is a clob field which contains html data.
Can anybody assist me solving this issue?
(OR)
Please let me know the right procedure to clean HTML if I am on the wrong way.
Thanks in advance,
Best Regards,
Manoz.Clean & Convert means,
1) Remove new lines from html
2) Remove breaks before lists eg <br><ol>
3) Get rid of paragraph tags
4) Get rid of trailing line breaks (including white space and forces spaces
The expected input is some HTML content
eg:
<ul>
<li><span style="font-size: 7.5pt; font-family: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">Tool measurement assessment in lab achieved.</span></li>
<li><span style="font-size: 7.5pt; font-family: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><span style="font-size: 7.5pt; font-family: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">1<sup>st</sup> coil tubing job.</span></span></li>
</ul>
And the expected output is also HTML content (But after applied above 4 operations to the given input). -
Problems when displaying html in internet explorer
I am trying for two weeks to make an HTML code looks good in
IE (internet explorer), but I have been unsuccessful. The code
looks great on Firefox, but really bad in IE. Here is my code
Web
page
Plase help!!!!!!!!!!!!!!!!1This is not the code on the page you have linked. That page
has no doctype.
It appears you have used ImageReady to write the HTML for
this page (it has
the hallmarks - uppercase tags, unquoted attribute values,
and zillions of
col-/rowspans). Such HTML is notoriously bad for use on the
web. Please
read this to see why I say that -
http://apptools.com/rants/spans.php
Anyhow, I think it's the table code that is letting you down.
Do you know
enough HTML to build this page in DW?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"maxhec-pr" <[email protected]> wrote in
message
news:[email protected]...
> Thanks for your response. Please update the link to the
page, the server
> is
> currently down. The file is now at
>
http://web.ics.purdue.edu/~hsantosv/test.html
>
> I validated the html code with Dreamweaver. I checked
for errors in
> firefox
> and IE, and the application returned zero errors. Also,
I validated the
> html
> code for IE 3.0 and 4.0, Netscape 3.0 and 4.0, HTML 4.0,
and Cold Fusion
> MX7. I
> really don't have a clue of what I am doing wrong. I am
going to attach
> the
> code too.
>
> Thanks for your help
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
> "
http://www.w3.org/TR/html4/loose.dtd">
> <HTML>
> <HEAD>
> <TITLE>Purdue-HP Color Central CPWT</TITLE>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1">
> <!-- ImageReady Preload Script (index.psd) -->
> <!-- End Preload Script -->
> <SCRIPT TYPE="text/javascript">
> <!--
>
> function newImage(arg) {
> if (document.images) {
> rslt = new Image();
> rslt.src = arg;
> return rslt;
> }
> }
>
> function changeImages() {
> if (document.images && (preloadFlag == true)) {
> for (var i=0; i<changeImages.arguments.length; i+=2)
> document[changeImages.arguments
].src = changeImages.arguments[i+1];
> }
> }
> }
>
> var preloadFlag = false;
> function preloadImages() {
> if (document.images) {
> main_page_over = newImage("images/main-page-over.gif");
> about_me_over = newImage("images/about-me-over.gif");
> memories_over = newImage("images/memories-over.gif");
> interests_over = newImage("images/interests-over.gif");
> news_over = newImage("images/news-over.gif");
> contact_over = newImage("images/contact-over.gif");
> preloadFlag = true;
> }
> }
>
> // -->
> </SCRIPT>
> <style type="text/css">
> <!--
>
> .style2 {color: #000066}
> .style3 {color: #3A4A73}
> .style4 {color: #324A6B}
>
>
> .bottomStyle {
> background:url(images2/b_links.gif);
> width:528px;
> height:80px;
> }
>
> body,td,th {
> color: #314B73;
> }
> body {
> background-color: #FFFFFF;
> }
> a:link {
> color: #314B73;
> }
> .style5 {color: #314B73}
> a {
> font-family: tahoma;
> }
> ol {
> font-family: Tahoma;
> font-size: 10px;
> font-style: normal;
> line-height: 2em;
> font-weight: normal;
> font-variant: normal;
> text-transform: none;
> color: #353535;
> text-decoration: none;
> text-align: left;
> list-style-type: disc;
> padding-top: 2px;
> }
> -->
> </style>
> <link href="research/css/styles.css" rel="stylesheet"
type="text/css">
> </HEAD>
>
> <BODY ONLOAD="preloadImages();">
> <table width="775" border="0" cellpadding="0"
cellspacing="0">
> <tr>
> <td colspan="3"><IMG SRC="images2/titleNew.gif"
WIDTH=734 HEIGHT=88
> ALT="Purdue-HP"></td>
> <td rowspan="11"><IMG SRC="images2/main5.gif"
WIDTH=41 HEIGHT=680
> ALT=""></td>
> </tr>
> <tr>
> <td rowspan="10"><img src="images2/main1.gif"
width=121 height=592
> alt=""></td>
> <td><A HREF="research/research.shtml"
> ONMOUSEOVER="window.status='mail'; changeImages('home',
> 'images2/researchHome-over.gif'); return true;"
> ONMOUSEOUT="window.status=''; changeImages('home',
> 'images2/researchHome.gif'); return true;">
> <IMG SRC="images2/researchHome.gif" ALT=""
NAME="home" WIDTH=85 HEIGHT=23
> border="0"></A></td>
> <td rowspan="8"><iframe name="content"
align="top" frameborder="0"
> height="495" width="528"
> scrolling="auto" src="itest.html" marginheight="1"
marginwidth="1" >
> </iframe></td>
> </tr>
> <tr><td><A
HREF="research/researchers.shtml"
> ONMOUSEOVER="window.status='main page';
changeImages('main_page',
> 'images2/researchers-over.gif'); return true;"
> ONMOUSEOUT="window.status=''; changeImages('main_page',
> 'images2/researchers.gif'); return true;">
> <IMG NAME="main_page" SRC="images2/researchers.gif"
WIDTH=85 HEIGHT=21
> BORDER=0 ALT="main page"></A></td>
> </tr>
> <tr><td><A HREF="research/papers.shtml"
> ONMOUSEOVER="window.status='paper sec';
changeImages('papers',
> 'images2/publications-over.gif'); return true;"
> ONMOUSEOUT="window.status=''; changeImages('papers',
> 'images2/publications.gif'); return true;">
> <IMG SRC="images2/publications.gif" ALT="paper sec"
NAME="papers"
> WIDTH=85
> HEIGHT=21 BORDER=0></A></td>
> </tr>
> <tr><td><A HREF="research/protos.shtml"
> ONMOUSEOVER="window.status='thoughts sec';
changeImages('thoughts',
> 'images2/prototypes-over.gif'); return true;"
> ONMOUSEOUT="window.status=''; changeImages('thoughts',
> 'images2/prototypes.gif'); return true;">
> <IMG SRC="images2/prototypes.gif" ALT="thoughts sec"
NAME="thoughts"
> WIDTH=85 HEIGHT=21 BORDER=0 ></A></td>
> </tr>
> <tr><td><A HREF="research/meetings.shtml"
> ONMOUSEOVER="window.status='mail';
changeImages('research',
> 'images2/meetings-over.gif'); return true;"
> ONMOUSEOUT="window.status=''; changeImages('research',
> 'images2/meetings.gif'); return true;">
> <IMG SRC="images2/meetings.gif" ALT="research sec"
NAME="research"
> WIDTH=85
> HEIGHT=21 BORDER=0
id="research"></A></td>
> </tr>
> <tr><td><A HREF="research/docs.shtml"
> ONMOUSEOVER="window.status='mail'; changeImages('Docs',
> 'images2/documents-over.gif'); return true;"
> ONMOUSEOUT="window.status=''; changeImages('Docs',
> 'images2/documents.gif');
> return true;">
> <IMG NAME="Docs" SRC="images2/documents.gif" WIDTH=85
HEIGHT=21 BORDER=0
> alt="Documents"></A></td>
> </tr>
> <tr><td><IMG NAME="contact"
SRC="images2/blackb.gif" WIDTH=85 HEIGHT=21
> BORDER=0 alt=""></td>
> </tr>
> <tr><td rowspan="3"><IMG
SRC="images2/main3.gif" WIDTH=85 HEIGHT=443
> ALT="ColorCentral : CPWT"></td>
> </tr>
> <tr><td><IMG SRC="images2/down.gif"
WIDTH=528 HEIGHT=16 ALT=""></td>
> </tr>
> <tr><td align="right" valign="top"
class="text7" width="528" height="80">
> <div id="layer1" class="bottomStyle">
> <!--<a
> href="
http://cobweb.ecn.purdue.edu/~hsantosv/research/research.shtml">Research
> Home</a> |
> <a href="mailto:[email protected]">Contact
Us</a>
> <p>
> <span class="text3">designed by</span>
> <a href="
http://www.templatesbox.com"
>
target="_blank">Templatesbox</a></p>-->
> </div></td></tr>
> </table>
> </BODY>
> </HTML>
> -
Problem when importing HTML code to JSP
When I copy HTML code to JSP strange thing happens - "It's" became "It?s". But that's not all. I changed "It?s" to "It's", but when I run the JSP output on the screen is still "It?s".
Why does this happens?
What to do?Pls state the server, browser and complete code snippet
-
Problems when trying to send a smartform through fax
Hi,
Im currently confronting a problem when sending smartforms through fax to multiple recipients.
This is the scenario Im working on:
The client needs to be able to send a document, could be a PO or invoices, to diferent recipients at the same time. So far in case of purchase orders, we have been able to find the respective faxes and emails for each of the partner functions.
Functionality for email is working as desired but when sending faxes I have problems.
Reviewing the output through SOST I get all my receipients which are email and faxes. Emails are fine since it creates a PDF attachment with the order and all of its details.
For fax I get the same even though the paramenters are set for fax.
Here is my code if you could please help me here on this one.
SELECT lifn2 FROM EkPA into l_ekpa-lifn2
WHERE EBELN = a_EBELN.
APPEND l_EKPA.
ENDSELECT.
SELECT adrnr
FROM lfa1
INTO itab-q_adrnr
FOR ALL ENTRIES IN l_ekpa WHERE lifnr = l_ekpa-lifn2.
APPEND itab.
ENDSELECT.
*& End of partner address
*& Selection of Address or Fax number from ADR3 & ADR6 according to ADRNR
*& Nato
IF sy-subrc EQ 0.
loop at itab.
SELECT SINGLE smtp_addr INTO (itab-q_mail)
from adr6 where addrnumber = itab-q_adrnr and flg_nouse eq space.
IF itab-q_mail ne Space.
Move 'U' to itab-q_typ2(1).
Move 'X' to itab-q_express(1).
Move 'EXT' to itab-XOBJT.
ENdIF.
SELECT SINGLE FAXNR_LONG INTO (itab-q_fax)
SELECT SINGLE country FAX_NUMBER INTO (itab-q_cty, itab-q_fax )
from adr3 where addrnumber = itab-q_adrnr and flg_nouse eq space.
If itab-q_fax ne space.
Move 'F' to itab-q_typ(1).
Move 'TELEFAX' to itab-q_com.
Endif.
Modify itab.
endloop.
*& END of ITAB
CLEAR : DOC_CHNG.
REFRESH LINES.
IF NAST-NACHA eq '7'.
* Fill both the fax & email Receiver lists
clear: reclist, reclist2.
refresh: reclist, reclist2.
*& loop table itab to update receipient list in table Reclist
*& Nato
loop at itab.
IF not itab-q_typ is initial.
concatenate itab-q_cty itab-q_fax into reclist2-RECNAM separated by space. "FAX NUMBER
move itab-q_fax to reclist2-receiver. "FAX NUMBER
*&>>>>>>>>>>>>>>>>>>>new entry for testing nato 080206<<<<<<<<<<<&
move itab-q_cty to RECLIST2-COUNTRY. "Country Code
move itab-q_fax to Reclist2-FAX. "Fax number
*&>>>>>>>>>>>>>>ENd of entry<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<&
move itab-q_typ to REClist2-REC_TYPE. "Communication type for fax
move itab-q_EXPRESS to Express. "comment for testing
move itab-q_com to REClist2-COM_TYPE.
Move 'X' to reclist2-NOTIF_DEL.
Move 'TELEFAX' to reclist2-SNDART. "TYPE OF DEVICE
Move a_ebeln to sood-OBJDES. "new addition for testing nato
append Reclist2.
endif.
IF not itab-q_typ2 is initial.
move itab-q_mail to REclist-receiver. "SMT ADDRESS
move itab-q_typ2 to REClist-REC_TYPE.
move itab-q_EXPRESS to REClist-express.
move 'X' to reclist-TO_ANSWER.
Move a_ebeln to sood-OBJDES. "new addition for testing nato
move itab-q_com to REClist-COM_TYPE. "comment for testing only
append Reclist.
Endif.
move reclist-receiver to address.
endLoop.
*& END OF RECipient
ENDIF.
DOC_CHNG-OBJ_DESCR = nast-objky.
ELSE.
IF RECLIST IS INITIAL.
LOOP AT reclist INTO RECIPIENT . " This logic might get commented or deleted. Nato 08/01/06
ENDLOOP.
ENDIF.
DOC_CHNG-OBJ_DESCR = L_TITLE.
ENDIF.
IF RECLIST[] IS INITIAL.
MESSAGE E573(VE) RAISING RECEIVER_NOT_FOUND.
ENDIF.
*& New entry to determine path according to communication
*& type
*& If comm type eq U follow convert_otf
*& then Read text, finaly send API
*& If comm type eq F follow path to "Convert OTF & FAX
*& Nato 080106
REFRESH : HOTFDATA, LT_SOLIX, OBJBIN.
LOOP AT JOB_OUTPUT_INFO-OTFDATA INTO HOTFDATA.
APPEND HOTFDATA.
ENDLOOP.
*& Prepare content to be converted to PDF format
*& nato
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
IMPORTING
BIN_FILESIZE = DOC_SIZE
BIN_FILE = LD_BINFILE
TABLES
OTF = HOTFDATA
LINES = HTLINE
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
*& new entry just for test today 080306
*&nato
*endif.
*&--end of entry--
I = 0.
N = XSTRLEN( LD_BINFILE ).
WHILE I < N.
LT_SOLIX-LINE = LD_BINFILE+I.
APPEND LT_SOLIX.
I = I + 255.
ENDWHILE.
*& end of convertion pdf
LOOP AT LT_SOLIX INTO WA_SOLIX.
CLEAR WA_SOLI.
ASSIGN WA_SOLI TO <PTR_HEX> CASTING.
MOVE WA_SOLIX TO <PTR_HEX>.
APPEND WA_SOLI TO OBJBIN.
ENDLOOP.
*& Prepare send mail
CLEAR : NAME, DOCNAME.
REFRESH : OBJTXT, OBJPACK.
CONCATENATE NAST-KAPPL NAST-KSCHL INTO NAME.
CONDENSE NAME.
IF NAST-NACHA NE '7'.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'STAM'
LANGUAGE = SY-LANGU
NAME = NAME
OBJECT = 'OCS'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
LINES = LINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 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.
ENDIF.
CONCATENATE NAST-OBJKY '.PDF' INTO DOCNAME .
CONDENSE DOCNAME.
*endif. "temp nato -080406
if reclist-rec_type eq 'U'.
DOC_CHNG-OBJ_NAME = 'Delivery'.
LOOP AT LINES.
OBJTXT = LINES-TDLINE.
APPEND OBJTXT.
ENDLOOP.
DESCRIBE TABLE OBJTXT LINES TAB_LINES.
IF TAB_LINES > 0.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
ENDIF.
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.
DESCRIBE TABLE OBJBIN LINES TAB_LINES.
OBJHEAD = DOCNAME.
APPEND OBJHEAD.
OBJPACK-TRANSF_BIN = 'X'.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 1.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'PDF'.
OBJPACK-OBJ_NAME = 'Delivery'.
OBJPACK-OBJ_DESCR = NAST-OBJKY.
OBJPACK-OBJ_DESCR = A_EBELN.
OBJPACK-DOC_SIZE = TAB_LINES * 255.
APPEND OBJPACK.
break nhernandez.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHNG
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = ' '
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
PACKING_LIST = OBJPACK
OBJECT_HEADER = OBJHEAD
CONTENTS_BIN = OBJBIN
CONTENTS_TXT = OBJTXT
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
RECEIVERS = RECLIST
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 E081(ZGLO) WITH SY-SUBRC RAISING MAIL_SENDING_ERROR.
ENDIF.
endif.
AM I missing something?Hi Nat,
You can check this link which shows how to use the PRINT_TEXT for sending fax.
http://www.sap-img.com/abap/sending-fax-from-abap.htm
Also you can check these
Smartforms
Sending Smartforms through Fax
Sending SMARTFORM output to FAX gateway
How to fax a smartform?
/people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp
ftp
Cheers
VJ -
When sending html mail from ocfo or direct telnet smtp_in returns an error
<lots of markup/>
......<snip>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>
500 5.6.0 Data command failed: too many headers
550 5.7.1 Closing connection
Connection closed by foreign host.
Has anyone seen this problem? I get the feeling that smtp_in is counting every html tag as a header, should I increase the "Maximum Number of Headers Allowed in a Message" parameter in smtp_in to fix this problem? If so what might be a reasonable setting? I increased it from 1000 to 2500 but could not get a particular email to send. Small amounts of HTML send ok.
thanks!OK, I think I have narrowed this to a problem somewhere between the listener and SMTP_IN. This problem only occurs when using SMTP over SSL. I switched my two SMTP_IN processes, I made the non-SSL into SSL and vice-versa. The problem followed the process with the SSL configuration. I have no idea what in the listener configuration (or the smtp_in config as its shown through em) could caused this kind of problem. Small html mails with basic markup in them work fine over SMTP SSL, but big html mails with lots of nasty markup alway fail, they just stay in the outbox and then ofco needs several folder refreshes (or restart) in order to be able to again view any of the "mail" type folders (imap).
Thunderbird also has these symptoms minus the need to refresh/restart after a failed html mail sending attempt.
Anyone seen/seeing anything like this? -
Hello,
I need help with my problem, this is part of my procedure that will send mail
c := utl_smtp.open_connection(server);
utl_smtp.helo(c, domena);
utl_smtp.mail(c, posilja);
utl_smtp.rcpt(c, prejemnik);
utl_smtp.open_data(c);
send_header('From', '<' || posilja || '>');
send_header('To', '<' || prejemnik || '>');
IF posljicc is not null THEN
send_header('Cc', '<' || posljicc || '>');
poslji_mail(posljicc, null, zadeva, posta);
END IF;
send_header('Subject', zadeva);
send_header('MIME-Version', '1.0' || utl_tcp.CRLF);
send_header('Content-Type', 'text/html' || utl_tcp.CRLF); <----- PROBLEM
utl_smtp.write_data(c, utl_tcp.CRLF || posta);
utl_smtp.close_data(c);
utl_smtp.quit(c);...
and it works fine but when I want to send HTML mail I see mail in code not as html like this:
Content-Type: text/html <------- this should be in header
<HTML><HEAD><META http-equiv="Content-Type" content="text/html; charset=windows-1250"></HEAD><BODY><table><tr><td>1</td><td>2</td></tr><tr><td>1</td></tr><tr><td>1</td><td>2</td><td>3</td></tr></table></body></html>
Problem is that I see mail as text and I also see this in text body "Content-Type: text/html", but this should be in header.
Can anyone help me with my problem, what must I do to get the html mail (not as text)?
Thanks for your helpThanks I have solved the problem
-
Every time I click on a web site that has an email option the browser starts making untitled web pages and never stops unless I turn the computer off. It is very frustrating to not be able to use an email option when offered by a web site. The only way I can send email messages on the Firefox browser is to go into my hotmail acct. and copy and paste the addresses. I don't have this problem when I use the Internet Explorer browser.
See [[Firefox keeps opening many tabs or windows]]
-
Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help on how to set up messages on each device separately and to start using messages app on each device independently. Thanks
search google for "iphone remove picture from contact"
-
Need to send HTML email from Workflow : problem with sender
Hi all,
i need to send HTML email from my Workflow. I did it but i have a problem with the sender. The sender of email is always the agent responsible of workitem, and i don't want the receiver can answer to sender. So i need to put a false email address like nosender.at.mycustomer.com.
Possible to do that ?
Thanks for your help.
CheersHi rick
How to change the wf-batch to some other name as you mention in previous reply. Can you give some details of that. If i use the function module SO_NEW_DOCUMENT_ATT_SEND_API1 how to change the wf-batch name and if i use send mail step in my workflow how to change wf-batch name.
Regards
vijay -
I create a project w/iMovie and I have two problems: When I try to finalize the project iMovie crashes; when I share to DVD sometimes it crashes also; if I can successfully send it to DVD and then burn a DVD there are wavy lines on the screen. I'm uising photos in my project, not video. Help!
You can split a project in two by doing this.
1) Go to the Project Library View.
2) Select your project, and click FILE/DUPLICATE PROJECT. Give it a name like "your project name - part 1".
3) Do this again. This time name it "your project name - part 2"
4) Open Part 1 for editing. Delete everything in the second half.
5) Open Part 1 for editing. Delete everything in the first half of the project.
At the end you should have your original project, plus the same project in two parts. -
Problems when using outlook and outlook express, cannot send more than app 100 KB.
Since app 6 weeks ago we have problems when sending pictures etc, we cannot send more than app 100KB. If we send more there is error code
Socket Error 10053, Error number 0x800CCC0F. Your server has unexpectedly terminated the connection.
I have made no changes to either computer. Restoring the laptop to Nov 2011 made no difference.We use Outlook Exlorer and Outlook.
When I take my laptop to my neighbors house, who has Time Warner, I can send 10MB files without any problems, using the EXACT same settings.
Spending over 2 hours with a very informed Verizon technician on the phone did nothing.
I first blamed our server, turns out the culprit is Verizon.
Any ideas?
EugeneGood Morning,
Are you able to send attachments on webmail.verizon.net?
Shamika_Vz
Verizon Support
Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan. -
Htmldb_mail.send problem
For some reason some of our customers have been receiving multiple copies of a same message. We are sending notifications to our clients and sometimes we can send out 4000 emails at a time.
Here is a trimed down example of the code that will allow to reproduce.
declare
I INTEGER := 1;
begin
--Sending message to customer
WHILE I < 1500 LOOP
htmldb_mail.send(
p_to => 'email_from', -- Change this to something valid
p_from => 'email_to', -- Used my inbox to tes
p_body => 'TEST' || I,
p_subj => 'TEST' || I );
I := I + 1;
END LOOP;
end;What I get in my inbox when testing is 3000 + messages. Is there a limit on how many emails can be managed at a time in the queue?
I do not push the queue, I let it manage itself. We are using HTMLDB 2.0 and yes I know we should upgrade but it's not going to happen anytime soon.
P.S. When doing the same exercise with under 1000 loops, it works properly.
Thanks in advance for any help.I did some more testing and it would seem that it's the HTMLDB_MAIL.PUSH_QUEUE that is to blame. I do not push the queue but we have other applications that call it.
If I have messages in the queue that are waiting and two other applications call the push queue I will receive multiple copies of the messages that are waiting to be sent. -
HAVE A PROBLEM WHEN SENDING AN EMAIL IT STATES IT DOES NOT ALLOW RELAYING
HAVE A PROBLEM WHEN SENDING AN EMAIL IT STATES IT DOES NOT ALLOW RELAYING
You have either entered the wrong SMTP server info or they have blocked the sending of e-mails from outside their network. That message indicates that you are not permitted to send through that server from the network you are using to connect.
Contact them again. There is no magic that will allow you to bypass this. -
After updating to the new ios5 with my 4S, no wifi connection and problem when sending or receiving email. I had no issue before the update... I am very disappointed
Did you already try to reset your network settings in Settings/General/Reset?
Maybe you are looking for
-
Constant intermittent spinning wheel
2013 MBP, running 10.9.3. For the last few days, Very Sick Mac. Every operation gets the spinning beach ball, and 5 - 20 second pause/lockup. Just copying the text below, opening Safari and getting to here has seen a dozen or so lock-up events and ta
-
Best way to access Archive data
Hello, I need to change few customized reports (z-reports) to make it fetch data from IXOS server. This is done for SAP IS-H reports. So some of the tables for eg NBEW(movement table) will be archived and a correspoding infostructre will be created a
-
Quality down graded when put into FCP
I use a canon 7d, I am waiting on a card reader to come in but until then I use the USB cord to upload it into IPHOTO. When I open it from IPHOTO the quality looks amazing on quick time, but no matter what I convert the footage to using mpegstream cl
-
ABAP control - Excel spreedsheet generation
Hi, I am programming generation of the Excel document from ABAP. I created additional popupscreen where the Excel should be shown with the generated spreedsheet and I have following questions: - I used the example program SAPRDEMOEXCELINTEGRATION2 as
-
Photo Book: Alert Symbol/Deleting Blank Pages?
Greetings, Two questions: (I'm assembling a photo book for the first time...) 1. What does it mean when there's a small yellow alert symbol (a yellow triangle) in the upper right corner of my image? 2. How do I delete blank pages from the end of my p