Login prompt while sending graphic in html email (CRMD_EMAIL)

Scenario : We have created a new standard response in webclient email. The template for this is maintained via CRMD_EMAIL(or CRM_ERMS_MAILFORMS - both refer to the same program). We have created a text within the window with text type html. A web graphic has also been dragged and dropped onto the text part.  This template can then be used to email the customer.
Issue : When the customer receives the email (say in gmail) and the display images setting is activated, this prompts for a login onto the SAP server(similar to the login on CRM_IC). In outlook the image is not being displayed(even after making the display images setting).

Hi Naresh,
Thank you for your helpful input.
Howevr i am still facing some issues.My email id is not able to get authenticated,the logs read that the connection to outlook 2007 exchange server was established but it failed to authenticate my id.Now the latest error reads that the email id has been marked as invalid email id.Pls let me know if I am missing anything here.
I am attaching the error code.
DEBUG: setDebug: JavaMail version 1.4.1
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "xxx.xxx.com", port 25, isSSL false
220 xxx.xxx.com Microsoft ESMTP MAIL Service ready at Tue, 25 Oct 2011 15:09:14 +0530
DEBUG SMTP: connected to host "xxx.xxx.com", port: 25
EHLO xxxx
250-xxx.xxx.com Hello [xxxx]
250-SIZE
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-X-ANONYMOUSTLS
250-AUTH NTLM
250-X-EXPS GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250-XEXCH50
250 XRDST
DEBUG SMTP: Found extension "SIZE", arg ""
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "DSN", arg ""
DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP: Found extension "STARTTLS", arg ""
DEBUG SMTP: Found extension "X-ANONYMOUSTLS", arg ""
DEBUG SMTP: Found extension "AUTH", arg "NTLM"
DEBUG SMTP: Found extension "X-EXPS", arg "GSSAPI NTLM"
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "BINARYMIME", arg ""
DEBUG SMTP: Found extension "CHUNKING", arg ""
DEBUG SMTP: Found extension "XEXCH50", arg ""
DEBUG SMTP: Found extension "XRDST", arg ""
DEBUG SMTP: Attempt to authenticate
DEBUG SMTP: use8bit false
MAIL FROM:<[email protected]>
530 5.7.1 Client was not authenticated
DEBUG SMTP: got response code 530, with response: 530 5.7.1 Client was not authenticated
Thanks in advance
Edited by: bpm11gnewbie on 2011-okt-25 02:40

Similar Messages

  • Sending out a html email

    Can you send out a html email from Out Look? Meaning I've
    created a html page and would like to send it out as a html email
    to my clients. I'm using Out Look and I'm on a PC. I would love to
    be able to do this today? Any feed back would be great!

    sa_designer wrote:
    > Can you send out a html email from Out Look? Meaning
    I've created a html page
    > and would like to send it out as a html email to my
    clients. I'm using Out Look
    > and I'm on a PC. I would love to be able to do this
    today? Any feed back would
    > be great!
    >
    Not sure how relevant this still is, its been around for some
    time.
    http://www.dwfaq.com/Tutorials/Miscellaneous/htmlemail.asp

  • Visual Studio 2010 Sending a fully html email.

    I would like to send a fully html email via Visual Studio, is this possible?

    Here you go.
    This is my old code for sending email on VB6. Unfortunately I don't have the reference of it.
    you can download the required dll and OCX from the link below.
    Please download them, the link will not be valid after Jan 01, 2015
    also you need to read the code below and do some modification based on the objects on your form.
    Please pay attention to the required reference as well.
    Link
    ' Required declaration of the vbSendMail component (withevents is optional)
    ' You also need a reference to the vbSendMail component in the Project References
    Private WithEvents poSendMail As vbSendMail.clsSendMail
    Attribute poSendMail.VB_VarHelpID = -1
    ' misc local vars
    Dim bAuthLogin As Boolean
    Dim bPopLogin As Boolean
    Dim bHtml As Boolean
    Dim MyEncodeType As ENCODE_METHOD
    Dim etPriority As MAIL_PRIORITY
    Dim bReceipt As Boolean
    Private Sub cmdSend_Click()
    ' This is where all of the Components Properties are set / Methods called
    cmdSend.Enabled = False
    lstStatus.Clear
    Screen.MousePointer = vbHourglass
    With poSendMail
    ' Optional properties for sending email, but these should be set first
    ' if you are going to use them
    .SMTPHostValidation = VALIDATE_NONE ' Optional, default = VALIDATE_HOST_DNS
    .EmailAddressValidation = VALIDATE_SYNTAX ' Optional, default = VALIDATE_SYNTAX
    .Delimiter = ";" ' Optional, default = ";" (semicolon)
    ' Basic properties for sending email
    .SMTPHost = txtServer.text ' Required the fist time, optional thereafter
    .From = txtFrom.text ' Required the fist time, optional thereafter
    .FromDisplayName = txtFromName.text ' Optional, saved after first use
    .Recipient = txtTo.text ' Required, separate multiple entries with delimiter character
    .RecipientDisplayName = txtToName.text ' Optional, separate multiple entries with delimiter character
    .CcRecipient = txtCc ' Optional, separate multiple entries with delimiter character
    .CcDisplayName = txtCcName ' Optional, separate multiple entries with delimiter character
    .BccRecipient = txtBcc ' Optional, separate multiple entries with delimiter character
    .ReplyToAddress = txtFrom.text ' Optional, used when different than 'From' address
    .Subject = txtSubject.text ' Optional
    .Message = txtMsg.text ' Optional
    .Attachment = Trim(txtAttach.text) ' Optional, separate multiple entries with delimiter character
    ' Additional Optional properties, use as required by your application / environment
    .AsHTML = bHtml ' Optional, default = FALSE, send mail as html or plain text
    .ContentBase = "" ' Optional, default = Null String, reference base for embedded links
    .EncodeType = MyEncodeType ' Optional, default = MIME_ENCODE
    .Priority = etPriority ' Optional, default = PRIORITY_NORMAL
    .Receipt = bReceipt ' Optional, default = FALSE
    .UseAuthentication = bAuthLogin ' Optional, default = FALSE
    .UsePopAuthentication = bPopLogin ' Optional, default = FALSE
    .UserName = txtUserName ' Optional, default = Null String
    .Password = txtPassword ' Optional, default = Null String, value is NOT saved
    .POP3Host = txtPopServer
    .MaxRecipients = 100 ' Optional, default = 100, recipient count before error is raised
    ' Advanced Properties, change only if you have a good reason to do so.
    ' .ConnectTimeout = 10 ' Optional, default = 10
    ' .ConnectRetry = 5 ' Optional, default = 5
    ' .MessageTimeout = 60 ' Optional, default = 60
    ' .PersistentSettings = True ' Optional, default = TRUE
    ' .SMTPPort = 25 ' Optional, default = 25
    ' OK, all of the properties are set, send the email...
    ' .Connect ' Optional, use when sending bulk mail
    .Send ' Required
    ' .Disconnect ' Optional, use when sending bulk mail
    txtServer.text = .SMTPHost ' Optional, re-populate the Host in case
    ' MX look up was used to find a host End With
    End With
    Screen.MousePointer = vbDefault
    cmdSend.Enabled = True
    End Sub
    ' The following four Subs capture the Events fired by the vbSendMail component
    Private Sub poSendMail_Progress(lPercentCompete As Long)
    ' vbSendMail 'Progress Event'
    lblProgress = lPercentCompete & "% complete"
    End Sub
    Private Sub poSendMail_SendFailed(Explanation As String)
    ' vbSendMail 'SendFailed Event
    MsgBox ("Your attempt to send mail failed for the following reason(s): " & vbCrLf & Explanation)
    lblProgress = ""
    Screen.MousePointer = vbDefault
    cmdSend.Enabled = True
    End Sub
    Private Sub poSendMail_SendSuccesful()
    ' vbSendMail 'SendSuccesful Event'
    MsgBox "Notification Successful!"
    lblProgress = ""
    End Sub
    Private Sub poSendMail_Status(Status As String)
    ' vbSendMail 'Status Event'
    lstStatus.AddItem Status
    lstStatus.ListIndex = lstStatus.ListCount - 1
    lstStatus.ListIndex = -1
    End Sub
    Private Sub Form_Load()
    On Error GoTo ErrHan
    ' Required to activate the vbSendMail component.
    Set poSendMail = New clsSendMail
    With Me
    .Move (Screen.width - .width) / 2, (Screen.height - .height) / 2
    .fraOptions.height = 2475
    .lblProgress = ""
    End With
    cboPriority.AddItem "Normal"
    cboPriority.AddItem "High"
    cboPriority.AddItem "Low"
    cboPriority.ListIndex = 0
    CenterControlsVertical 100, False, txtServer, txtPopServer, txtFromName, txtFrom, txtToName, txtTo, txtCcName, txtCc, txtBcc, txtSubject, txtMsg, txtAttach, lstStatus, lblProgress
    AlignControlsTop False, txtServer, lblServer, cmdSend
    CenterControlsHorizontal 300, False, lblServer, txtServer, cmdSend
    AlignControlsLeft False, lblServer, lblPopServer, lblFromName, lblFrom, lblToName, lblTo, lblCcName, lblCC, lblBcc, lblSubject, lblMsg, lstStatus, lblAttach, lblStatus
    CenterControlRelativeVertical lblServer, txtServer
    CenterControlRelativeVertical lblPopServer, txtPopServer
    CenterControlRelativeVertical cmdSend, txtServer
    CenterControlRelativeVertical lblFromName, txtFromName
    CenterControlRelativeVertical cmdReset, txtPopServer
    CenterControlRelativeVertical lblFrom, txtFrom
    CenterControlRelativeVertical lblToName, txtToName
    CenterControlRelativeVertical CmdExit, txtFrom
    CenterControlRelativeVertical lblTo, txtTo
    CenterControlRelativeVertical lblCcName, txtCcName
    CenterControlRelativeVertical lblCC, txtCc
    CenterControlRelativeVertical lblBcc, txtBcc
    CenterControlRelativeVertical lblSubject, txtSubject
    CenterControlRelativeVertical lblAttach, txtAttach
    CenterControlRelativeVertical cmdBrowse, txtAttach
    AlignControlsTop False, txtMsg, lblMsg
    AlignControlsTop False, lstStatus, lblStatus
    fraOptions.Top = txtTo.Top - 135
    AlignControlsLeft True, txtServer, txtPopServer, txtFromName, txtFrom, txtToName, txtTo, txtCcName, txtCc, txtBcc, txtSubject, txtMsg, lstStatus, txtAttach, lblProgress
    AlignControlsLeft True, cmdSend, cmdReset, CmdExit, cmdBrowse, fraOptions
    lblPopServer.Visible = False
    txtPopServer.Visible = False
    Me.Show
    RetrieveSavedValues
    Exit Sub
    ErrHan:
    If Err.Number = 429 Then
    ' Shell ("regsvr32 /s C:\Utility\Ref\vbSendMail.dll")
    ' Shell ("regsvr32 /s C:\Utility\Ref\MSWINSCK.OCX")
    reg_ = "regsvr32 /s N:\Pic\vbSendMail.dll"
    Shell (reg_)
    reg_ = "regsvr32 /s N:\Pic\\MSWINSCK.OCX"
    Shell (reg_)
    ' reg_ = "regsvr32 /s " & App.Path & "\Ref\vbSendMail.dll"
    ' Shell (reg_)
    ' reg_ = "regsvr32 /s " & App.Path & "\Ref\MSWINSCK.OCX"
    ' Shell (reg_)
    Resume Next
    End If
    End Sub
    Private Sub Form_Unload(Cancel As Integer)
    ' Unload the component before quiting.
    Set poSendMail = Nothing
    End Sub
    Private Sub RetrieveSavedValues()
    ' Retrieve saved values by reading the components 'Persistent' properties
    poSendMail.PersistentSettings = True
    txtServer.text = poSendMail.SMTPHost
    txtPopServer.text = poSendMail.POP3Host
    txtFrom.text = poSendMail.From
    txtFromName.text = poSendMail.FromDisplayName
    txtUserName = poSendMail.UserName
    optEncodeType(poSendMail.EncodeType).Value = True
    If poSendMail.UseAuthentication Then ckLogin = vbChecked Else ckLogin = vbUnchecked
    End Sub
    Private Sub optEncodeType_Click(Index As Integer)
    If optEncodeType(0).Value = True Then
    MyEncodeType = MIME_ENCODE
    cboPriority.Enabled = True
    ckHtml.Enabled = True
    ckReceipt.Enabled = True
    ckLogin.Enabled = True
    Else
    MyEncodeType = UU_ENCODE
    ckHtml.Value = vbUnchecked
    ckReceipt.Value = vbUnchecked
    ckLogin.Value = vbUnchecked
    cboPriority.Enabled = False
    ckHtml.Enabled = False
    ckReceipt.Enabled = False
    ckLogin.Enabled = False
    End If
    End Sub
    Private Sub cboPriority_Click()
    Select Case cboPriority.ListIndex
    Case 0: etPriority = NORMAL_PRIORITY
    Case 1: etPriority = HIGH_PRIORITY
    Case 2: etPriority = LOW_PRIORITY
    End Select
    End Sub
    Private Sub cboPriority_KeyDown(KeyCode As Integer, Shift As Integer)
    Select Case KeyCode
    Case 38, 40
    Case Else: KeyCode = 0
    End Select
    End Sub
    Private Sub cboPriority_KeyPress(KeyAscii As Integer)
    KeyAscii = 0
    End Sub
    Private Sub ckHtml_Click()
    If ckHtml.Value = vbChecked Then bHtml = True Else bHtml = False
    End Sub
    Private Sub ckLogin_Click()
    If ckLogin.Value = vbChecked Then
    bAuthLogin = True
    fraOptions.height = 3555
    Else
    bAuthLogin = False
    If ckPopLogin.Value = vbUnchecked Then fraOptions.height = 2475
    End If
    End Sub
    Private Sub ckPopLogin_Click()
    If ckPopLogin.Value = vbChecked Then
    bPopLogin = True
    lblPopServer.Visible = True
    txtPopServer.Visible = True
    fraOptions.height = 3555
    Else
    bPopLogin = False
    lblPopServer.Visible = False
    txtPopServer.Visible = False
    If ckLogin.Value = vbUnchecked Then fraOptions.height = 2475
    End If
    End Sub
    Private Sub ckReceipt_Click()
    If ckReceipt.Value = vbChecked Then bReceipt = True Else bReceipt = False
    End Sub
    Private Sub cmdBrowse_Click()
    Dim sFilenames() As String
    Dim i As Integer
    On Local Error GoTo Err_Cancel
    With cmDialog
    .FileName = ""
    .CancelError = True
    .Filter = "All Files (*.*)|*.*|HTML Files (*.htm;*.html;*.shtml)|*.htm;*.html;*.shtml|Images (*.bmp;*.jpg;*.gif)|*.bmp;*.jpg;*.gif"
    .FilterIndex = 1
    .DialogTitle = "Select File Attachment(s)"
    .MaxFileSize = &H7FFF
    .Flags = &H4 Or &H800 Or &H40000 Or &H200 Or &H80000
    .ShowOpen
    ' get the selected name(s)
    sFilenames = Split(.FileName, vbNullChar)
    End With
    If UBound(sFilenames) = 0 Then
    If txtAttach.text = "" Then
    txtAttach.text = sFilenames(0)
    Else
    txtAttach.text = txtAttach.text & ";" & sFilenames(0)
    End If
    ElseIf UBound(sFilenames) > 0 Then
    If Right$(sFilenames(0), 1) <> "\" Then sFilenames(0) = sFilenames(0) & "\"
    For i = 1 To UBound(sFilenames)
    If txtAttach.text = "" Then
    txtAttach.text = sFilenames(0) & sFilenames(i)
    Else
    txtAttach.text = txtAttach.text & ";" & sFilenames(0) & sFilenames(i)
    End If
    Next
    Else
    Exit Sub
    End If
    Err_Cancel:
    End Sub

  • Error while sending PDF file by Email

    Hi All,
    I have a requirement to send multiple files by Email attachement from SAP to internet address.
    All files sent correctly, except one PDF file.
    I have 2 spools, and I am using FM CONVERT_OTFSPOOLJOB_2_PDF to get PDF data for Spool.
    Then I am converting the 134 length PDF data to 255 Email Attachement binary table.
    Now I have 2 file F1.PDF and F2.PDF, in SAP Office outbox and in receivers email, F2.PDF opening fine, however for F1.PDF I am getting some error no 109 in Adobe, which says "There was an error processing a page.There was a problem reading this document. (109)".
    Please help in figuring out the reason for this.
    Additional Information F2.PDF has some text data (SAP Script output) and F1.PDF has some text data with logo (SAP Script Output)
    Thanks in advance

    hi check out following code..
    REPORT ZRICH_0003.
    DATA: ITCPO LIKE ITCPO,
    TAB_LINES LIKE SY-TABIX.
    Variables for EMAIL functionality
    DATA: MAILDATA LIKE SODOCCHGI1.
    DATA: MAILPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
    DATA: MAILHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
    DATA: MAILBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILREC LIKE SOMLREC90 OCCURS 0 WITH HEADER LINE.
    DATA: SOLISTI1 LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
    PERFORM SEND_FORM_VIA_EMAIL.
    FORM SEND_FORM_VIA_EMAIL *
    FORM SEND_FORM_VIA_EMAIL.
    CLEAR: MAILDATA, MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
    REFRESH: MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
    Creation of the document to be sent File Name
    MAILDATA-OBJ_NAME = 'TEST'.
    Mail Subject
    MAILDATA-OBJ_DESCR = 'Subject'.
    Mail Contents
    MAILTXT-LINE = 'Here is your file'.
    APPEND MAILTXT.
    Prepare Packing List
    PERFORM PREPARE_PACKING_LIST.
    Set recipient - email address here!!!
    MAILREC-RECEIVER = '[email protected]'.
    MAILREC-REC_TYPE = 'U'.
    APPEND MAILREC.
    Sending the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    DOCUMENT_DATA = MAILDATA
    PUT_IN_OUTBOX = ' '
    TABLES
    PACKING_LIST = MAILPACK
    OBJECT_HEADER = MAILHEAD
    CONTENTS_BIN = MAILBIN
    CONTENTS_TXT = MAILTXT
    RECEIVERS = MAILREC
    EXCEPTIONS
    TOO_MANY_RECEIVERS = 1
    DOCUMENT_NOT_SENT = 2
    OPERATION_NO_AUTHORIZATION = 4
    OTHERS = 99.
    ENDFORM.
    Form PREPARE_PACKING_LIST
    FORM PREPARE_PACKING_LIST.
    CLEAR: MAILPACK, MAILBIN, MAILHEAD.
    REFRESH: MAILPACK, MAILBIN, MAILHEAD.
    DESCRIBE TABLE MAILTXT LINES TAB_LINES.
    READ TABLE MAILTXT INDEX TAB_LINES.
    MAILDATA-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( MAILTXT ).
    Creation of the entry for the compressed document
    CLEAR MAILPACK-TRANSF_BIN.
    MAILPACK-HEAD_START = 1.
    MAILPACK-HEAD_NUM = 0.
    MAILPACK-BODY_START = 1.
    MAILPACK-BODY_NUM = TAB_LINES.
    MAILPACK-DOC_TYPE = 'RAW'.
    APPEND MAILPACK.
    Creation of the document attachment
    This form gets the OTF code from the SAPscript form.
    If you already have your OTF code, I believe that you may
    be able to skip this form. just do the following code, looping thru
    your SOLISTI1 and updating MAILBIN.
    PERFORM GET_OTF_CODE.
    LOOP AT SOLISTI1.
    MOVE-CORRESPONDING SOLISTI1 TO MAILBIN.
    APPEND MAILBIN.
    ENDLOOP.
    DESCRIBE TABLE MAILBIN LINES TAB_LINES.
    MAILHEAD = 'TEST.OTF'.
    APPEND MAILHEAD.
    Creation of the entry for the compressed attachment
    MAILPACK-TRANSF_BIN = 'X'.
    MAILPACK-HEAD_START = 1.
    MAILPACK-HEAD_NUM = 1.
    MAILPACK-BODY_START = 1.
    MAILPACK-BODY_NUM = TAB_LINES.
    MAILPACK-DOC_TYPE = 'OTF'.
    MAILPACK-OBJ_NAME = 'TEST'.
    MAILPACK-OBJ_DESCR = 'Subject'.
    MAILPACK-DOC_SIZE = TAB_LINES * 255.
    APPEND MAILPACK.
    ENDFORM.
    Form GET_OTF_CODE
    FORM GET_OTF_CODE.
    DATA: BEGIN OF OTF OCCURS 0.
    INCLUDE STRUCTURE ITCOO .
    DATA: END OF OTF.
    DATA: ITCPO LIKE ITCPO.
    DATA: ITCPP LIKE ITCPP.
    CLEAR ITCPO.
    ITCPO-TDGETOTF = 'X'.
    Start writing OTF code
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    FORM = 'ZTEST_FORM'
    LANGUAGE = SY-LANGU
    OPTIONS = ITCPO
    DIALOG = ' '
    EXCEPTIONS
    OTHERS = 1.
    CALL FUNCTION 'START_FORM'
    EXCEPTIONS
    ERROR_MESSAGE = 01
    OTHERS = 02.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    WINDOW = 'MAIN'
    EXCEPTIONS
    ERROR_MESSAGE = 01
    OTHERS = 02.
    Close up Form and get OTF code
    CALL FUNCTION 'END_FORM'
    EXCEPTIONS
    ERROR_MESSAGE = 01
    OTHERS = 02.
    MOVE-CORRESPONDING ITCPO TO ITCPP.
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
    RESULT = ITCPP
    TABLES
    OTFDATA = OTF
    EXCEPTIONS
    OTHERS = 1.
    Move OTF code to structure SOLI form email
    CLEAR SOLISTI1. REFRESH SOLISTI1.
    LOOP AT OTF.
    SOLISTI1-LINE = OTF.
    APPEND SOLISTI1.
    ENDLOOP.
    ENDFORM.

  • How to get rendered JSF page (send it as HTML email)

    Hello,
    I would like to send notification email in my application. Could you please help me to find a way how to get HTML result of JSF page as string-file-stream. Simply anything I could handle and use it as email body or attachment.
    My use case: User click to button (raise a action) which change something in DB and confirmation.xhtml(.jsf) is shown to him to confirm that this action was succesful. And I would like to send notification email to all other users with this page (simplified version).
    I need a something like String getJsfPage(String url) but I could not find anything in JSF API.
    Thanks for any clue.

    quote gimbal2: +...now write the code to generate the email body...+
    Thanks for reply...
    Is that mean that I could not use already written code (confirmation.xhtml)? The beuty on JSF is that JSF parser take care about CSS styles, EL, templating (ui: ...), ... When anybody (administrators) wants to change how this email looks - just change this XHTML file.
    How should I write email body? I thought about several way but nothing what looks good:
    - I really dont want to use StringBuilder do build HTML.
    - I dont want to write my own parser of .xhtml template (confirmation.xhtml).
    - Write HTML (xml) template and parse it with XSLT transformation seems to me acceptable but complicated. Needs a special library to perform XSLT, complicated template service (future changes)
    - JSP page, more-or-less the same problems like JSF page
    The sad is that this email (html) body is quite small but highly dynamic (css, language of texts, logos...).

  • Send smartform as html email

    Hello all,
    I've been searching SDN for help with creating an email in html format via smartforms. Pavan Bayyapu's blog was really helpful and I've also used program SF_XSF_DEMO_MAIL as the basis for my program. I followed their examples exactly but my emails always appear as a .MTL attachment, never as just the body of the email.
    I tried removing the file name from lo_mime_helper->set_main_html and from lo_mime_helper->add_binary_part as suggested by some other folks but I haven't had any success.
    Has anyone solved this same issue? Maximum points will be given to helpful suggestions.
    Thank you.
    (This message also posted on the ABAP forum)

    hi
    In print program of smart form use this function module.
    WWW_LIST_TO_HTML     
    Thanks,
    Usha

  • Text wrap while sending a form by email

    Hi,
    I have sent a form by e-mail.But the text in the form is getting wrapped. If I compare the PDF document in the e-mail with the normal print output the text is not in a readable format in PDF. Can anyone know what's the reason for this.
    Regards,
    Asha

    Hello Asha,
    can you tell us a litle bit more about your enviroment? Are you using ABAP or Java? What Web AS Version?
    Regards
    Gregor

  • Html email rendering as attachment

    I'm a developer sending out an html email. Web clients like Yahoo, Gmail, Hotmail render the email inline as expected, as do desktop email clients. But for one recipient, Sun Java System Messenger Express renders the html as an attachment. There is not boundary etc. like you would use for multipart mail or attachments, so what could be triggering this? The recipient can receive other similar html newsletters just fine. The html is relatively simple tables with images and some formatted text. The mail is being sent via php's mail function (sendmail).
    Thanks,
    a

    amchargue wrote:
    I'm a developer sending out an html email. Web clients like Yahoo, Gmail, Hotmail render the email inline as expected, as do desktop email clients. But for one recipient, Sun Java System Messenger Express renders the html as an attachment. There is not boundary etc. like you would use for multipart mail or attachments, so what could be triggering this?You need to provide a sample email that is causing the problem, including all outer email headers.
    I should also point out that Messenger Express is a deprecated client (i.e. Sun stopped providing fixes for this client a long time ago) and was replaced by UWC/Communications Express which has in turn been replaced by Convergence.
    Regards,
    Shane.

  • URLRequest and navigateToURL to open email client but HTML email, not plain text???

    I want users to click a button that uses URLRequest and navigateToURL to open the user's default email client with email body pre-populated with HTML email.
    Even though I have tried to set the contentType property to one of the following, the HTML tags always display:
    application/xml
    application/html
    var request:URLRequest = new URLRequest("mailto: ?subject=Test Email&body=<h1>Test Body</h1>");request.contentType = "multipart/form-data";
    navigateToURL(request, "_self");
    BTW, the above code is simplified, so I am using escape() on the subject and body text, etc.
    So, is there any way to use mailto in this way to open the default email client and pre-populate with HTML email but not see the tags (BUT NOT REVERT TO PLAINTEXT)?

    FTQuest wrote:
    @Jason
    >The problem there however is that very few people actually set this up... (default mail client)
    Jason, can I ask you: is it your assumption, or there is/was reliable polling showing that majority of users prefer manually go the mail server instead of using the mail client application of their choice - Outlook, FireBird, Mail, etc?
    Igor Borodin
    There are numerous reasons behind avoiding mailto links in relation to design. And it's been debated back and forth for years. Form vs Mailto link both have their pros and cons and intended usages.
    After panelling groups of individuals for three seperate projects regarding various design perspectives in the RIAs we developed, it became quickly apparent that on numerous occasions users clicking a mailto link were unaware of what the resulting screen was actually for. Several had never set up the default mail client on their pc. Many thought that "Yahoo" was the only email service in the world... Now, with that said, the target demographic for those applcations may or may not be what his, yours, or anyone's project may be. The key there is going to be identifying your dedmographic and determining the tech prowness. Also, what exactly is the email's intended result? Refer a friend style? Might be better handled through a web form due to the possiblity of being able to properly track how many referrals were actually made. How many resulted in a visitor. Simply notifying admin that there is a problem on the site? Might be better to fire off a mailto.
    Reliably sending a preformatted HTML email can only be guaranteed on the server side. Otherwise, you run into problems just like he is having here. Now, if the email is plain text, different story.
    Again, it all comes down to identifying your usage and properly utilizng the available tools.

  • While send/receive email, I have received an error message "Sending of password d"? However with same login details, I am able to login with other application.

    While send/receive email, I have received an error message "Sending of password d"?
    However with same login details, I am able to login with other application.
    I have changed password still the issue remains as it is.

    https://support.mozilla.org/en-US/kb/cannot-send-messages

  • How to send HTML emails with embedded graphics?

    I've discovered Mail is great for sending HTML if you open it in Safari and select "Mail Contents of this Page" - - My problem is, I need to include the graphic elements as embedded images rather than hosted images.
    Is there any way to do this with Mail.app?
    Can I somehow modify my HTML image references to make this happen?
    Is there another Mac application recommended to do this?

    The best thing I've tried is Max Bulk Mailer. Do a search for it on VersionTracker. It's about $50. or so.
    If you're just looking to send one offs, you can do it with a hotmail account - just make sure you pull out the doctype tag (you should do this for any html email).

  • When I forward an HTML email with embedded graphics to someone, it forwards it as plain text.. this is driving me batty.. how do I forward such mails INTACT??

    I have the latest Thunderbird installed on a new 64-bit Winblows Eight netbook.. fantastic program, but one problem is driving me absolutely batty, and after using the latest Thunderbird for weeks, I simply can't figure out how to fix it..
    I'm on a lot of mfr. and other kinds of mailing lists, like eBay watch list alerts, and so on.. these are not s p a m (although I get plenty of that.. who doesn't).. but lists I WANT to be on..
    Many such emails from those mailing lists are in HTML format with embedded graphics.. I'm not talking about graphic file attachments, but embedded graphics which are coming from the senders' servers, and appear AS a graphic in the email.. sometimes such emails are one huge graphic with hardly any text.. all well and good..
    However, here's the problem.. when I want to forward such an email to a friend, Thunderbird ALWAYS formats it as plain ASCII text.. I know this because I look in the "sent mail" folder, and can see that it has turned an HTML email with embedded graphics into plain ASCII text..
    I absolutely can't figure out how to get it to forward an HTML email with embedded graphics INTACT, so the sender receives it looking the way it looks when I receive it from a mailing list, or an advertiser, or eBay, or whoever..
    Is Thunderbird capable of forwarding an HTML email with embedded graphics INTACT?.. If so, how / where do I turn on that capability?..
    If the capability to do this isn't built into the program, is there an add-on I can install that will give it that ability?..
    I am not new to computers.. but this really has me stumped.. I want to put Thunderbird on my 32-bit Vista laptop and stop using its horrible "Windoze Mail" program, which I've been using for years, and is slower than snot, and has all kinds of other problems..
    So, assuming whoever reads this FULLY understands my question, PLEASE tell me how to get Thunderbird to have the ability to forward an HTML email with embedded graphics AS-IS, so the receiver(s) I forward it to see it exactly the way I see it when I receive it.. if that ability is built in, please tell me how to turn it on.. if that ability is not built-in, please tell me what add-on I need to install to give Thunderbird this capability.. if Thunderbird absolutely can't forward an HTML email with embedded graphics at all, please also tell me that..
    A virtual box of candy and a dozen long-stemmed roses to anyone who can give me a solution that works..
    Thanks..

    Dear Mr. Toad (my all-time favorite ride at Disneyland ;-) ..
    Thanks so much for your detailed reply.. my netbook is in the bedroom, turned off.. I (so far) only use it in the evening, in the bedroom.. I've saved your response, and will try your suggestions, and let you know if they solve the problem I described. I really appreciate you taking the time to post such a detailed reply..
    I can't answer your Thunderbird "configuration" questions, because I'm in the living room, using the crap Vista laptop, on which I plan to install Thunderbird, and then take Windoze Mail out in the street and drive over it a few times.. I'll get back to you one way or the other, and let you know if your instructions solved the problem, or not..
    I don't understand why Thunderbird "out of the box", so to speak, simply doesn't forward HTML emails with embedded graphics, (like Outlook Excess, and Winblows Mail do).. without having to go through those steps. I personally HATE HTML email, but over the years, it's become more and more prevelant.. so it's a problem I must fix..
    Thanks again..
    Harv..

  • Sending html email using utl_smtp

    (Oracle 8.1.7)
    I'm using the following procedure to send an HTML formatted e-mail. It sends email but I'm seeing in Outlook html code instead of formatted mail. (It sends text like :
    a bit of text
    --a1b2c3d4e3f2g1
    content-type: text/html;
    <html><head></head><body><B>HELLO </B></body></html>
    a1b2c3d4e3f2g1
    What can I solve this problem?
    Thanks in advance...
    its usage :
    html_email('smo@....','smo2@...','This is a subject','a bit of text', '<html><head></head><body><B>HELLO </B></body></html>', 'some hostname',25);
    CREATE OR REPLACE procedure html_email(
    p_to in varchar2,
    p_from in varchar2,
    p_subject in varchar2,
    p_text in varchar2 default null,
    p_html in varchar2 default null,
    p_smtp_hostname in varchar2,
    p_smtp_portnum in varchar2)
    is
    l_boundary varchar2(255) default 'a1b2c3d4e3f2g1';
    l_connection utl_smtp.connection;
    l_body_html clob := empty_clob; --This LOB will be the email message
    l_offset number;
    l_ammount number;
    l_temp varchar2(32767) default null;
    begin
    l_connection := utl_smtp.open_connection( p_smtp_hostname, p_smtp_portnum );
    utl_smtp.helo( l_connection, p_smtp_hostname );
    utl_smtp.mail( l_connection, p_from );
    utl_smtp.rcpt( l_connection, p_to );
    l_temp := l_temp || 'MIME-Version: 1.0' || chr(13) || chr(10);
    l_temp := l_temp || 'To: ' || p_to || chr(13) || chr(10);
    l_temp := l_temp || 'From: ' || p_from || chr(13) || chr(10);
    l_temp := l_temp || 'Subject: ' || p_subject || chr(13) || chr(10);
    l_temp := l_temp || 'Reply-To: ' || p_from || chr(13) || chr(10);
    l_temp := l_temp || 'Content-Type: multipart/alternative; boundary=' ||
    chr(34) || l_boundary || chr(34) || chr(13) ||
    chr(10);
    -- Write the headers
    dbms_lob.createtemporary( l_body_html, false, 10 );
    dbms_lob.write(l_body_html,length(l_temp),1,l_temp);
    -- Write the text boundary
    l_offset := dbms_lob.getlength(l_body_html) + 1;
    l_temp := '--' || l_boundary || chr(13)||chr(10);
    l_temp := l_temp || 'content-type: text/plain; charset=us-ascii' ||
    chr(13) || chr(10) || chr(13) || chr(10);
    dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
    -- Write the plain text portion of the email
    l_offset := dbms_lob.getlength(l_body_html) + 1;
    dbms_lob.write(l_body_html,length(p_text),l_offset,p_text);
    -- Write the HTML boundary
    l_temp := chr(13)||chr(10)||chr(13)||chr(10)||'--' || l_boundary ||
    chr(13) || chr(10);
    l_temp := l_temp || 'content-type: text/html;' ||
    chr(13) || chr(10) || chr(13) || chr(10);
    l_offset := dbms_lob.getlength(l_body_html) + 1;
    dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
    -- Write the HTML portion of the message
    l_offset := dbms_lob.getlength(l_body_html) + 1;
    dbms_lob.write(l_body_html,length(p_html),l_offset,p_html);
    -- Write the final html boundary
    l_temp := chr(13) || chr(10) || '--' || l_boundary || '--' || chr(13);
    l_offset := dbms_lob.getlength(l_body_html) + 1;
    dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
    -- Send the email in 1900 byte chunks to UTL_SMTP
    l_offset := 1;
    l_ammount := 1900;
    utl_smtp.open_data(l_connection);
    while l_offset < dbms_lob.getlength(l_body_html) loop
    utl_smtp.write_data(l_connection,
    dbms_lob.substr(l_body_html,l_ammount,l_offset));
    l_offset := l_offset + l_ammount ;
    l_ammount := least(1900,dbms_lob.getlength(l_body_html) - l_ammount);
    end loop;
    utl_smtp.close_data(l_connection);
    utl_smtp.quit( l_connection );
    dbms_lob.freetemporary(l_body_html);
    end;

    There have been many very good threads on sending email using the UTL_SMTP on the forum including threads that deal with HTML formated mail.
    The basic process is to the same as with sending regular (non HTML) mail, but you add some additional headers to the mail message as well as additional formatting to the message body (e.g. HTML tags as needed).
    Specifically you need to add the two following headers:
    MIME-Version: 1.0
    Content-type: text/html

  • How to send html email

    I searched the forums and haven't found a good answer yet. I created a page in iWeb that I want to send out as a newsletter email. I think I need to change the source of the images, etc so that the links won't be broken. Does this include all text boxes, images, pretty much everything on my page? What's the easiest way to do this?
    Thanks in advance for your help/suggestions.

    While viewing the web page you want to send in Safari type Command+i. That will take you to Mail with the web page as HTML. You can place the cursor at the very beginning to add text at the start or at the end. Not all email clients will display HTML emails So include a hyperlink to the page so those people can visit the page for the information.
    OT

  • How to send HTML email in Outlook

    How do I send a HTML email in Outlook 2003? I figured out how to do it in Outlook Express. I can't figure out how to open the place for entering the source code like OE. How do I do this.
    Yes, I have already posted the HTML onto a server.
    Yes, the CSS is in the HTML file.

    Don't use Outlook or Outlook Express for this.
    My recommendation is the same as Joe's.  Either use a dedicated bulk email software or a bulk email service like MailChimp, etc...
    If your list is especially large, and you attempt to send to a volume that's prohibited by your server or email service provider, you could be in violation of their anti-spamming rules.  You don't want that.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com
    Sorry Joe. Didn't mean to call you EagerBob.

Maybe you are looking for

  • Is a copy of .xml file on the iPod too? If so, how can I copy ONLY the .xml file to my computer and NOT have to copy all my music files too?

    I had to re-load my OS (Windows XP Pro) from a HD snapshot via Acronis True Image Server. I save my OS on my C: drive and all my data files on my D: drive.  So when I re-loaded my OS, I still have all of my music files intact. I have re-loaded the OS

  • Create two users for the same schema

    Hi, I want to create 2 users, with different privilleges each, so that they can have access to the same database tables and also to their metadata tables (user_sdo_maps, user_sdo_themes, user_sdo_styles). I have created the tables under the first use

  • Stand Alone Skin Editor

    Here is the scenario. I am strictly a front-end developer using HTML, CSS, Javascript etc. I have been brought onboard to work on a project that uses the Oracle Fusion Middleware ADF Framework. I am a total noob with this stuff!! We are currently wor

  • Jackaroo need some help

    hello,I use solaris8 as a rookie,and I meet a lot of questions, 1 I must change the LANG to C before I can use admintool,why default profile is set like this ? 2 I always add a user with admintool ,but ,I can't write the passwd file.why? 3 I can't do

  • Is anyone else having problems with Podcasts?

    Recently I have been having Podcasts crash on me 10-15 seconds into one, I have talked to support and the only fix is to get it repaired. Is anyone else having or had this problem?