Mailing in HTMLB using HTML a href syntax

Hi
my question is as follows.
I am using a HTML syntax inside BSP page and trying to call onInputprocessing event. It gives me a Javascript error. The point is i need the mail ids at runtime and hence the ABAP scripting involved.. Is the code wrong-?
<a href="mailto:
      <%
  loop at i_mail into wa_mail.
      %>
      <%=wa_mail%>",
      <%
  endloop.
      %>
onClick="onInputProcessing()">Send Email to selected </a>

Hi,
You cannot trigger server event with pure HTML such as a href.
Here is an example that should not be far from the truth:
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2002">
  <htmlb:document>
    <htmlb:documentBody>
      <htmlb:form id="form">
<% DATA: recipients  TYPE TABLE OF string.
   DATA: w_recipient LIKE LINE OF recipients.
   w_recipient = '[email protected]'.
   APPEND w_recipient TO recipients.
   w_recipient = '[email protected]'.
   APPEND w_recipient TO recipients.
   LOOP AT recipients INTO w_recipient. %>
     <htmlb:link id            = "mail_<%= sy-tabix %>"
                 reference     = "mailto:<%= w_recipient %>"
                 onClick       = "mail"
                 text          = "<%= w_recipient %>" />
<% ENDLOOP. %>
      </htmlb:form>
    </htmlb:documentBody>
  </htmlb:document>
</htmlb:content>
Best regards,
Guillaume

Similar Messages

  • Some email images do not show while using the icloud web app.  I can see the images on my IOS devices and in gmail but I only see a small gray box in the icloud web mail app.  Load HTML images is checked in preferences.

    Some email images do not show while using the icloud web app.  I can see the images on my IOS devices and in gmail but I only see a small gray box in the icloud web mail app.  Load HTML images is checked in preferences.  Is there a solution to this issue?

    I've seen the opposite issue.  My wife recieved an email with jpg attachments.  She couldn't see or print them on her iPhone 4S but they showed up fine in iCloud or in the mail app.  I had her forward the email to herself and then they showed up.  I assume there is an issue with how Apple is processing the attachments and resending causes them to get reformatted in a way that makes them easier to handle.
    So yeah.  Seems like some bugs.  Hope Apple fixes them soon.

  • How to increase TD width in SAP using HTML code in mail body

    Dear guru.
    how to increase TD width in SAP using HTML code in mail body
    Sample Code :
    CONCATENATE '<tr height= "3%"> <td style="background-color:#CCC8AA;" style="font = 12.0" colspan = 3 >' WA_EIS_TOT-DESC '</td>'
           INTO WA_OBJTXT-LINE separated by space.
      APPEND WA_OBJTXT TO T_OBJTXT.
      CLEAR: WA_OBJTXT.
    Regards,
    Dharmin Shah

    Hi Dharmin,
    Did you try something like
    CONCATENATE '<tr height= "3%"> <td  height="23" width="84" style="background-color:#CCC8AA;" style="font = 12.0" colspan = 3 >' WA_EIS_TOT-DESC '</td>'
    Regards,
    Soundarya.

  • Composing mail message using HTML?

    Hello,
    I have been using Microsoft Outlook for all of my mail activities (and Microsoft Entourage prior to Outlook) for several years now. Because of MobileMe and the coming "iCloud" service, I would like to switch over to Apple's "Mail" program. I think I have it all set up correctly, however, I am having a difficult time figuring out how to send email using HTML. I have located the preferences where you can choose either "plain text" or "rich text", but rich text does not seem to be HTML because I sent a rich text message to myself, and I viewed it in Outlook where it was simply plain text.
    What am I missing? If HTML is in there, it's really well hidden---I just can't seem to find it. Any suggestions?
    Thank you very much.
    Message was edited by: smitty195

    smitty195 wrote:
    Whoa.....that is VERY interesting! I definitely prefer sending out HTML emails because I feel that they look more professional, and the plain text emails look kinda "blah". The reason I find this so interesting is because Apple is so ahead of the curve in so many areas, and this seems way behind the times. They must have a reason for doing this, although offhand I can't come up with one.
    Because if you are trying to exchange e-mails with people who have really poor e-mail clients, they won't be able to see anything. E-mail is pretty much a lowest-common denominator. Apple has been steadily dumbing down Apple Mail over the years to make it more compatible with Outlook. There is an e-mail standard for "rich text" messages. Apple was the only company that ever supported it as far as I know. Netscape and Microsoft both came up with HTML e-mail on their own and that became the de-facto standard.
    Thank you for the tip of creating a signature with styled text. I've never used a signature before, so I suppose I'll have to start doing that. Yikes.
    There are a number of tutorial sites for making really fancy signatures. I've never really used any of them, but if you want to play around, search for "apple mail fancy signature". I normally avoid saying "go Goggle for it", but in this case, there are a number of examples and they are significantly different. You have to find one that makes the most sense to you.
    Keep in mind that standard e-mail complexities always apply. You have no guarantee about how your fancy e-mail or signature will be displayed. It may look great in Apple Mail and it could be awful or non-existent in some other client or some webmail tool.
    E-mail is just a mess.

  • Unable to use HTML tags in the BPEL email component

    Hi,
    I am using BPEL email component to send mail notifications. I want the email should be in proper format.If I use HTML tags the workflow application build fails .It says invalid syntax for html tags.So, I removed the tags and just using the concat string operations as of now.To format i even tried '\n' like in java but it didnt help. Could you please let me know how do I achieve this?
    The JDeveloper version is 11.1.1.3 and SOA ,OIM both are 11.1.1.3
    The BPEL source code for the email content I configured is:
    <copy>
    <from expression="concat(string('AD Account access request has been rejected by manager.\n
    Here are some details about the request:\n
    Request ID : '), bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:RequestID'),string('\n'),
    string('Employee First Name : '),bpws:getVariableData('empFName'),string('\n'),
    string('Employee Last Name : '),bpws:getVariableData('empLName'),string('\n'),
    string('Manager Employee ID : '),bpws:getVariableData('manager'),string('\n\n\n'),string('Thanks,\n IDM Administration')
    )"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns15:Content/ns15:ContentBody"/>
    </copy>
    Please suggest .
    Thanks,
    Piyasa

    Hi
    Here is the sameple email from BEPL email component. See if this helps:
    "<html>&#x0A;<body>&#x0A;<p>This is an automated message from the <b>Identity Provisioning Solution</b>. Please don’t reply to this email.</p>&#x0A;&#x0A;<p>An access request has been successfully submitted for <%concat(bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:BeneficiaryDetails/ns4:FirstName'),' ',bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:BeneficiaryDetails/ns4:LastName'))%> to access <%bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:ObjectDetails/ns4:name')%>.</p>&#x0A;&#x0A;To view additional details of the request, login to the Identity Provisioning Solution.&#x0A;&#x0A;<br>Request ID: <%bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:RequestID')%>&#x0A;<br>&#x0A;<br>&#x0A;<br>&#x0A;<br>Thank you,&#x0A;<br>Identity and Access Management&#x0A;</body>&#x0A;</html>&#x0A;"
    Regards
    user12841694

  • How to use html tags inside java

    I have to retrieve data from db and return the data to my index.jsp page.
    Its working fine.
    But I have o display in a pable format using html. How to embed html tags? I tried this way. Its not working. Any suggestions?
       String htmlOpen = "<html>";
        String htmlEnd = "</html>";
        String titleOpen ="<title>";
        String titleEnd ="</title>";
        String bodyOpen = "<body>";
        String bodyEnd = "</body>";
        for (int i = 1; i <= cols;i++){
            output = output + rsmd.getColumnName(i);
         while (rst.next()) {
            for (int i = 1; i <= cols;i++){
                      output = output +rst.getString(i);
      result = htmlOpen + titleOpen + titleEnd + bodyOpen + output+ bodyEnd + htmlEnd;
        stmt.close();
        conn.close();
         return htmlOpen;
      }

    See those charcters in your JSP that look like "<%"? Those characters mean: "the code after this is Java - interpret it as such".
    Then when you close your Java block with "%>", it then means: "the code after this is html - output it to the request response that is being built. However, within the html code, the syntax "<%= java_variable_name %>" means "take the current value of that Java variable and insert it into the html output".
    Here's an example:
    %>
    <table cellspacing="2" cellpadding="2" border="1">
    <tr>
    <%
        String s = null;
        for (int i = 1; i <= ncol; i++)
          s = rsmd.getColumnName(i);
    %>
      <th nowrap><A HREF="<%=sortLink.toString()%>&sortby=<%=s%>"><%= s %></th>
    <%
    %>
    </tr>
    <%
        if (rs == null || numRows <= 0)
          %><tr><td colspan="10" nowrap>No data available for specified query.</td></td><%
        else
          int rowCounter = 0;
          while(rs.next() && rowCounter < PAGE_SIZE)
            rowCounter++;
    %>
      <tr><%
            for (int i = 1; i <= ncol; i++)
              s = rs.getString(i);
              if (rsmd.getColumnName(i).equalsIgnoreCase("password"))
                    %><td nowrap>********</td>
    <%
              else
                %><td nowrap><%= s %></td>
    <%
            %></tr><%
    %>
    </table>This is JSP 101, what they teach in the first hour of class...
    Here's a decent JSP tutorial:
    http://www.jsptut.com/

  • How can I keep My 2 email accounts and all other using HTML? It only lasts temporarily, i.e. for the day...

    (1) - when I open Firefox I recently have clicked on the hyperlink for HTML at the bottom of page, it works great for my gmail and yahoo accounts. However, it is not a permanent fix, as it apparently lasts just for the daily session. How can I keep my internet, et al. HTML permanently?
    (2) - Firefox v24.0 is said to be fast and faster! However, I am not finding it so. when I click on a link or open a tab, it is frustrating as the tab labors too long to open...I more than not click on reload, which appears to help somewhat. Any suggestions?
    (3) - I've just printed out the Mozilla Support Q&A on the error message from Firefox stating that it cannot load the website...how to I remedy this, as it occurs constantly with my Yahoo mail login?
    (4) Finally, several weeks ago I inadvertently popped the "HEALTH" Bookmark (I have a Bookmarks Toolbar), which is excellent (had it with WinXP also, now with Win7), but I seem to pop, double click, or something or other, that makes a bookmark folder jump into the wild blue yonder! I've posted for answers here and elsewhere, printed out and read all variable instructions to navigate and locate, all to no avail. More sage advice please?
    with appreciation and, thanks in advance.

    For #1, is the link to use HTML to simplify the interface?
    It may be that the site stores your preference in a cookie, and you might have set Firefox to delete the cookie when you exit the browser. There are a few built-in ways to do this:
    * Set Firefox to "Keep [cookies] until: I close Firefox" on the Privacy Options (you can create an exception for your mail sites)
    * Set Firefox to "Clear history when Firefox closes" on the Privacy Options
    * Use a private browsing window to visit your mail site
    It's also possible that add-ons or external software may clean out cookies, or that there is a problem with the database file Firefox uses the store cookies.
    For #2, did this problem just start recently? Do you notice any relationship with the type of site content (e.g., pages that use Flash or other media)?

  • How to use HTML Tags in Smartforms

    Hi,
    Can you please help me out in knowing how to use HTML tags in Smartforms,
    suppose i want to display some text in BOLD i should use the tag </b> as shown
    </b>  Header Information <b>
    regards
    Ranveer

    Hi Ranveer ,
        check this following links,
      hope this wil helps you
    <a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/smartforms/smartform%20in%20abap.pdf">check this link,to know abt HTML in smartforms</a>
    rgds,
    shan

  • Mail not appearing as HTML - Mail Adapter

    Hello All,
    I'm using the mail package in a receiver mail adapter. During mapping I format the content in HTML format, using &lt; &gt; form < and >. Also I set the content type of the mail package to text/html. However when the mail is received, the content of the mail is the html with tags, it does not appear as an html page. When I see the source the file still has the escape characters instead of < and >. But when I save this as an html file and open it, it appears as a web page.
    Any thoughts?
    Thanks,
    Sandeep

    HI,Specify whether you want to encode the content of the e-mail message. You have the following options:
    ·        None
    ·        base64 (default value)
    ·        quoted-printable
    use quoted-printable
    Coding of characters in e-mails that are not contained in the ASCII character set.
    The code contains German umlauts and special characters
    http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
    Regards
    Chilla
    Message was edited by:
            Chandra Sekhar Chilla

  • Mac mail program with complex HTML and ability to send hyperlinks?

    Alright, here is the issue I've been struggling with forever.
    I'm responsible for sending out my band's emails to our mailing list. I need to add hyperlinks and insert pictures that will show up in the body of the email for both mac and PC users.
    In Mac mail with Panther, my hyperlinks come out fine for both Macs and PC users. However, my inserted pictures show up in the body of the email only for other Mac users. Most PC users only see the pics as attachments not in the body of the email.
    I've also tried Entourage X, but the opposite problem occurs. Using HTML mode, my pictures always show up in the body of the email for both PC and Mac users, but when I'm in HTML mode there is no way to add hyperlinks.
    What is my solution here? Does anyone use other email programs that would allow me to fix the problem. Perhaps I need to compose complex HTML messages in order to ensure hyperlinks and pics appear in the body of emails? If you agree with this, where would I begin to learn how to do this?
    Please help!
    Danny

    I have been searching for how to create custom HTML emails in Mail, in a way that would work with OS 10.3 and 10.4, so as not to rely on the user having Tiger. After reading through many posts, I came up with a script that creates a new HTML message that you can still edit in Mail itself before sending, and you don't need Safari 2. I'm new to scripting so please let me know if this is useful.
    Jodain
    Part I: defines the HTML code; you can make something in the script itself as long as the string this_html ends up in proper formatting. I actually came up with this primarily for pasting most the html code in the script itself, with a few changing variables. If you do paste or type html code in the script, make sure you use \\ for every \, and \" for every ". If you're using TextEdit to alter the html, use find and replace in that order (\:\\ then ":\").
    Part II: builds a message in Mail with the html content... an undocumented property of a Mail message. However, it only works when visibility is false, so unless you send it right away, the user is not able to still type the recipients and edit the body in Mail as he/she might be used to. Which brings me to...
    Part III: takes the saved draft and opens it up for editing. The open command only lets you view the message, even if it is outgoing, so I had to come up with a work-around so you can still edit as if you're composing it for the first time.
    --Part I
    tell application "Safari" to set this_html to source of document 1
    tell application "Safari" to set this_page to name of document 1
    --Part II
    tell application "Mail"
    activate
    set theMsg to make new outgoing message with properties ¬
    {subject:this_page, html content:this_html & ¬
    return & return, content:""}
    tell theMsg to make new to recipient
    save theMsg
    --Part III
    if not (exists the front message viewer) then make new ¬
    message viewer
    tell front message viewer
    set selected mailboxes to {the drafts mailbox}
    set sort column to date received column
    set sorted ascending to false
    delay 3
    set selected messages to {first message}
    tell application "System Events" to tell process ¬
    "Mail" to keystroke return
    end tell
    end tell

  • Sending mails with attachments using oracle 8i

    Hi,
    Could anybody please send a sample code for sending mails
    with attachments using oracle 8i.
    Thanks in advance

    For oracle8i there is an example package from OTN:
    http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    You have to re-write the package a bit to work it with BLOBs instead of RAW attachments, but that should be no problem
    Hop this helps,
    Michiel

  • Can i use HTML tag in text when sending contens as "Attachement(PDF)".

    Hi all!!
    i try to add html tag on ibot email text column.
    is it possible?
    - in ibot delivery content.
    send content as Attachment(PDF)
    "if sent as attachement, include this text" <--- mark this field
    and below multi line input column, can i use html tag, for example,
    Yahoo
    thanks in advance.
    Edited by: vingorius on 2010. 10. 31 오후 7:27

    hi vingorius ,
    No you cant include html but u can use variables
    To add a variable in a text message to provide context for the iBot attachment
    1. Click the following option:
    If sent as attachment, include this text
    2. Type the text into the text box with a session variable, a repository variable, or a presentation variable using the syntax shown in the following table:
    Variable Type
    Syntax
    Repository @{Variable_Name}
    Session @{NQ_SESSION.Variable_Name}
    Presentation @{Variable_Name}
    For example, Dear, @{NQ_SESSION.Variable_Name}, here is your personalized Weekly Sales Territory Update.
    NOTE: If you want to use the @ character, you need to precede it with the \ (back slash) character to separate it from the variable syntax. For example, Dear @{NQ_SESSION.DISPLAYNAME}, \@ New York, appears as Dear Joe Smith, @ New York.
    Source : BI Guide
    Thanks,
    Saichand.v

  • Using html in a workflow email

    Hi.
    Does anyone know if there's a way to use html in a workflow email so the the html tags are rendered and not displayed literally? I'm trying to include an a href tag so that the email just displays the hyperlink in the email and not the big long ugly url that I'm referencing. I thought maybe there was a function that would allow the html to "execute" but I cannot seem to find one.
    Thanks for any help you can offer!
    Pam

    Hi Taier,
    For this issue, I recommend to verify the things below for troubleshooting this issue:
    What are the OS used in your phone and tablet? Does this issue occur with all the phones or tablets? I recommend to check the email with another phone or tablets to narrow doen the issue scope.
    What email client is used in your phone?
    What HTML tags did you used in your email template?
    Here is a link about some reasons about blank email in mobile for your reference:
    http://www.emailonacid.com/blog/details/C13/5_reasons_why_the_mobile_version_of_your_email_might_not_be_displaying
    Best regards.
    Thanks
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to use HTML tags inside JSF pages

    I am creating a Menu using dataTable and outputLink in a JSF page.
    <div class="bodyarea">
    <div id="location">
    <ol>
    <h:dataTable value="#{menuItem.breadCrumb}" var="bread" >
    <h:column>
    <li>
    <h:outputLink id="crumbID" value="#{bread.menuLink}">
    <h:outputText id="crumpName" value="#{bread.menuLabel}" style="width: 165px;"/>
    </h:outputLink>
    <li>
    </h:column>
    </h:dataTable>
    </ol>
    </div>
    </div>
    I want to use <li> HTML tag as shown in code above before and after every <tr> tag formed, but when i run it and see view source, this is how it shows:
    NOTE: you can see it has thrown out of <table> tag itself.
    <div class="bodyarea">
    <div id="location">
    <ol>
    <li>
    </li>
    <table>
    <tbody>
    <tr>
    <td><a id="_id0:0:crumbID" href="/eApps/admin/loginPage.jsp?MenuItem=-1"><span id="_id0:0:crumpName" style="width: 165px;">Home</span></a></td>
    </tr>
    <tr>
    <td><a id="_id0:1:crumbID" href="/eApps/admin/loginPage.jsp?MenuItem=3~-1"><span id="_id0:1:crumpName" style="width: 165px;">HIM Admin</span></a></td>
    </tr>
    </tbody>
    </table>
    </ol>
    </div>
    </div>
    Can some one help me, how do i use HTML tags inside <h:dataTable>.
    Or is their any other way i should form my Menus, to fully utilize to HTML tags.
    Thanks
    Ravi

    Hello,
    You can embed the verbatim elements in your datatable, ie,
    <h:dataTable value="#{menuItem.breadCrumb}" var="bread" >
      <h:column>
        <f:verbatim><li></f:verbatim>
        <h:outputLink id="crumbID" value="#{bread.menuLink}">
          <h:outputText id="crumpName" value="#{bread.menuLabel}" style="width: 165px;"/>
        </h:outputLink>
        <f:verbatim></li></f:verbatim>
      </h:column>
    </h:dataTable>

  • HTML a href Attribute in Safari

    I have set up my personal homepage using a number of HTML a href attributes inside a table, so that when I click on one of these, it will take me down to the appropriate anchor defined by HTML a name. This works fine in Firefox, but does not seem to work in Safari 3.2.1. In Safari, it simply stays put and does not take me down to the appropriate anchor.
    Example of my HTML:
    <tr>
    <td>Favourites</td>
    <td>Airlines</td>
    <td>Architecture</td>
    <td>Art, Images, Pictures, Photography & Posters</td>
    <td>Books, Book Stores, Literature, Literary Societies</td>
    <td>Cars</td>
    <td>CCCV</td>
    </tr>
    Airlines
    Cathay Pacific
    Qantas
    Frequent Flyer
    Singapore Airlines
    Virgin Blue Australia
    <hr>
    Architecture
    Monument Environments
    <hr>

    Hi Alex,
    Have you tried dropping the <base> tag in the header? That should make the named anchors load quicker as well as the browser won't attempt to re-download the page all over again.
    Also, your DOCTYPE declaration seems a bit out of date. I don't think it's affecting anything as such but you might want to update it. I only mention it as the W3C validator check [marks it as being problematic|http://validator.w3.org/check?uri=http%3A%2F%2Fmembers.optusnet.com .au%2Falexcywong%2F&charset=(detect+automatically)&doctype=Inline&group=0].
    I should note that I can't actually test that recommended change above in Safari as I'm not on a Mac at the moment, but it does help with a browser that uses WebKit on my current machine.
    Hope that helps.

Maybe you are looking for