How Can I Build Mailing List Portlets?

I want to make a portal with a mailing list portlet. I need to know how can I build the servlet for my apache server.

By a mailing list portlet, do you mean a portlet where users can sign up for different mailing lists, or do you mean a specific mailing list that would archive all the messages sent to the list?
In any case, if you have an existing application that manages a mailing list (like a list on listbot.com), one of the options you could investigate is to integrate that application as an External Application to Portal and leverage the Single Sign On capability.
null

Similar Messages

  • How can i send mails from SAP?

    how can i send mails from SAP?
    what are the configurations i have to do in SAP for that?
    pls give me a detail reply......
    if possible, pls give me the sample ABAP program for that.

    recently i have worked on a similar requirement here is the sample code for that
    REPORT ZDOC_AS_EMAIL_3.
    *& Report ZEMAIL_ATTACH *
    *& Example of sending external email via SAPCONNECT *
    TABLES: ekko.
    PARAMETERS: p_email TYPE somlreci1-receiver.
    TYPES: BEGIN OF t_ekpo,
    ebeln TYPE ekpo-ebeln,
    ebelp TYPE ekpo-ebelp,
    aedat TYPE ekpo-aedat,
    matnr TYPE ekpo-matnr,
    END OF t_ekpo.
    DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
    wa_ekpo TYPE t_ekpo.
    TYPES: BEGIN OF t_charekpo,
    ebeln(10) TYPE c,
    ebelp(5) TYPE c,
    aedat(8) TYPE c,
    matnr(18) TYPE c,
    END OF t_charekpo.
    DATA: wa_charekpo TYPE t_charekpo.
    DATA: it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
    WITH HEADER LINE.
    DATA: it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
    WITH HEADER LINE.
    DATA: l_t_objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
    DATA: t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
    t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
    t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    w_cnt TYPE i,
    w_sent_all(1) TYPE c,
    w_doc_data LIKE sodocchgi1,
    gd_error TYPE sy-subrc,
    gd_reciever TYPE sy-subrc.
    *START_OF_SELECTION
    START-OF-SELECTION.
    *Retrieve sample data from table ekpo
    PERFORM data_retrieval.
    *Populate table with detaisl to be entered into .xls file
    PERFORM build_xls_data_table.
    *END-OF-SELECTION
    END-OF-SELECTION.
    *Populate message body text
    perform populate_email_message_body.
    *Send file by email as .xls speadsheet
    PERFORM send_file_as_email_attachment
                        tables it_message
                                it_attach
                            using p_email
        'Example . xls documnet attachment'
                                     'XLS'
                                'filename'
                        changing gd_error
                              gd_reciever.
    *Instructs mail send program for SAPCONNECT to send email(rsconn01)
    PERFORM initiate_mail_execute_program.
    *& Form DATA_RETRIEVAL
    *Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
    SELECT ebeln ebelp aedat matnr
    UP TO 10 ROWS
    FROM ekpo
    INTO TABLE it_ekpo.
    ENDFORM. " DATA_RETRIEVAL
    *& Form BUILD_XLS_DATA_TABLE
    *Build data table for .xls document
    FORM build_xls_data_table.
    *CONSTANTS: con_cret(2) TYPE c VALUE '0D', "OK for non Unicode
    *con_tab(2) TYPE c VALUE '09'. "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    class cl_abap_char_utilities definition load.
    constants:
    con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
    con_cret type c value cl_abap_char_utilities=>CR_LF.
    CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
    INTO it_attach SEPARATED BY con_tab.
    CONCATENATE con_cret it_attach INTO it_attach.
    APPEND it_attach.
    LOOP AT it_ekpo INTO wa_charekpo.
    CONCATENATE wa_charekpo-ebeln wa_charekpo-ebelp
    wa_charekpo-aedat wa_charekpo-matnr
    INTO it_attach SEPARATED BY con_tab.
    CONCATENATE con_cret it_attach INTO it_attach.
    APPEND it_attach.
    ENDLOOP.
    ENDFORM. " BUILD_XLS_DATA_TABLE
    *& Form SEND_FILE_AS_EMAIL_ATTACHMENT
    *Send email
    FORM send_file_as_email_attachment tables pit_message
                                              pit_attach
                                           using p_email
                                                p_mtitle
                                                p_format
                                              p_filename
                                        p_attdescription
                                        p_sender_address
                                    p_sender_addres_type
                                        changing p_error
                                              p_reciever.
    DATA: ld_error TYPE sy-subrc,
    ld_reciever TYPE sy-subrc,
    ld_mtitle LIKE sodocchgi1-obj_descr,
    ld_email LIKE somlreci1-receiver,
    ld_format TYPE so_obj_tp ,
    ld_attdescription TYPE so_obj_nam ,
    ld_attfilename TYPE so_obj_des ,
    ld_sender_address LIKE soextreci1-receiver,
    ld_sender_address_type LIKE soextreci1-adr_typ,
    ld_receiver LIKE sy-subrc.
    ld_email = p_email.
    ld_mtitle = p_mtitle.
    ld_format = p_format.
    ld_attdescription = p_attdescription.
    ld_attfilename = p_filename.
    ld_sender_address = p_sender_address.
    ld_sender_address_type = p_sender_addres_type.
    *Fill the document data.
    w_doc_data-doc_size = 1.
    *Populate the subject/generic message attributes
    w_doc_data-obj_langu = sy-langu.
    w_doc_data-obj_name = 'REPORT'.
    w_doc_data-obj_descr = ld_mtitle . "mail description
    w_doc_data-sensitivty = 'F'.
    *Fill the document data and get size of attachment
    CLEAR w_doc_data.
    READ TABLE it_attach INDEX w_cnt.
    w_doc_data-doc_size =
    ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
    w_doc_data-obj_langu = sy-langu.
    w_doc_data-obj_name = 'SAPRPT'.
    w_doc_data-obj_descr = ld_mtitle.
    w_doc_data-sensitivty = 'F'.
    CLEAR t_attachment.
    REFRESH t_attachment.
    t_attachment[] = pit_attach[].
    *Describe the body of the message
    CLEAR t_packing_list.
    REFRESH t_packing_list.
    t_packing_list-transf_bin = space.
    t_packing_list-head_start = 1.
    t_packing_list-head_num = 0.
    t_packing_list-body_start = 1.
    DESCRIBE TABLE it_message LINES t_packing_list-body_num.
    t_packing_list-doc_type = 'RAW'.
    APPEND t_packing_list.
    *Create 1st attachment notification
    t_packing_list-transf_bin = 'X'.
    t_packing_list-head_start = 0.
    t_packing_list-head_num = 1.
    t_packing_list-body_start = 1.
    DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
    t_packing_list-doc_type = ld_format.
    t_packing_list-obj_descr = ld_attdescription.
    t_packing_list-obj_name = ld_attfilename.
    t_packing_list-doc_size = t_packing_list-body_num * 255.
    APPEND t_packing_list.
    **Create 1st attachment notification
    *t_packing_list-transf_bin = 'X'.
    *t_packing_list-head_start = 0.
    *t_packing_list-head_num = 1.
    *t_packing_list-body_start = 1.
    *DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
    *t_packing_list-doc_type = ld_format.
    *t_packing_list-obj_descr = ld_attdescription.
    *t_packing_list-obj_name = ld_attfilename.
    *t_packing_list-doc_size = t_packing_list-body_num * 255.
    *APPEND t_packing_list.
    **Create 2nd attachment notification
    data: x type i.
    DESCRIBE TABLE t_attachment LINES X.
    append lines of it_attach to t_attachment.
    data: start type i,
          end type i,
          cal type i.
    start = X + 1.
    describe table t_attachment lines end.
    cal = end - start.
    t_packing_list-transf_bin = 'X'.
    t_packing_list-head_start = 0.
    t_packing_list-head_num = 1.
    t_packing_list-body_start = start.
    t_packing_list-body_num = end.
    *DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
    t_packing_list-obj_descr = 'Eng Change'. "ld_attdescription.
    t_packing_list-doc_type = ld_format.
    *t_packing_list-obj_name = 'Eng' .
    t_packing_list-doc_size = t_packing_list-body_num * 255.
    APPEND t_packing_list.
    *Add the recipients email address
    CLEAR t_receivers.
    REFRESH t_receivers.
    t_receivers-receiver = ld_email.
    t_receivers-rec_type = 'U'.
    t_receivers-com_type = 'INT'.
    t_receivers-notif_del = 'X'.
    t_receivers-notif_ndel = 'X'.
    APPEND t_receivers.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
    EXPORTING
    document_data = w_doc_data
    put_in_outbox = 'X'
    sender_address = ld_sender_address
    sender_address_type = ld_sender_address_type
    commit_work = 'X'
    IMPORTING
    sent_to_all = w_sent_all
    TABLES
    packing_list = t_packing_list
    object_header = l_t_objhead
    contents_bin = t_attachment
    contents_txt = it_message
    receivers = t_receivers
    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.
    *Populate zerror return code
    ld_error = sy-subrc.
    *Populate zreceiver return code
    LOOP AT t_receivers.
    ld_receiver = t_receivers-retrn_code.
    ENDLOOP.
    ENDFORM.
    *& Form INITIATE_MAIL_EXECUTE_PROGRAM
    *Instructs mail send program for SAPCONNECT to send email.
    FORM initiate_mail_execute_program.
    WAIT UP TO 2 SECONDS.
    SUBMIT rsconn01 " WITH mode = 'INT'
    "WITH output = 'X'
    AND RETURN.
    ENDFORM. " INITIATE_MAIL_EXECUTE_PROGRAM
    *& Form POPULATE_EMAIL_MESSAGE_BODY
    *Populate message body text
    form populate_email_message_body.
    REFRESH it_message.
    it_message = 'Please find attached a list test ekpo records'.
    APPEND it_message.
    endform. " POPULATE_EMAIL_MESSAGE_BODY

  • How can I see a list of contacts on my PC?

    My step-son recently used the USB port on my PC to recharge his iPhone. Apparently it also synched because he now has my contacts on his iPhone. I DO NOT want his 350+ contacts on my iPhone. How can I see a list of what contacts would be loaded onto my iPhone if I plugged it into the USB port on my PC? When I look at my Outlook contacts, they only show my contacts, not his. I do not use M.Me
    And, if his contacts would be synched onto my iPhone if I plugged it into the USB port, how can I get rid of them before they would be loaded into my iPhone?
    Thanks!

    With Windows, you can sync contact info with Outlook 2003 or 2007, or with the address book used by Outlook Express with XP, or with the address book used by Windows Mail with Vista - the name change for Outlook Express with Vista.
    Contact info is included with your iPhone's backup, but isn't stored anywhere else in some hidden file on your computer except for the supported address book application on your computer when syncing contact info with a supported address book on your computer. Your iPhone's backup comes into play only when restoring your iPhone with iTunes from your iPhone's backup, or when connecting a new iPhone that has never been synced with any computer to a computer that was used to sync with another iPhone. When connecting a new iPhone that has never been synced with any computer to a computer that was used to sync with another iPhone, you are prompted to transfer the backup for another iPhone to the new iPhone - this is not automatic, and an iPhone's backup includes more data than just contact info.
    If your Outlook address book does not include his contact info, this should not be a problem since this is where your iPhone address book gets contact info from when syncing.

  • How can I force Mail to send email requesting a server DSN?

    I would like mail to send every message with a server DSN request (the RFC1891 type). I found "tech savvy" info on this archived thread:
    https://discussions.apple.com/thread/1965944?start=0&tstart=0
    But, I am not a technical person, so, how can I get mail to do this in practise? Or would there be a utility/add-on/plug-in that allows for this?

    First thing to try: go to System Preferences>iCloud and uncheck 'Mail' in the list there. Then re-check it. Give it time to settle in. Go to Mail Preferences>Accounts (not 'Accounts' in the 'Mail' menu) and select your iCloud account. You should see this:
    'Email address' (greyed out) is your login - this should be your @me.com address. The 'Alias' drop-down menu should both versions of your address - @me.com and @icloud.com/ - plus any aliases you have set up.
    (the image is from Mavericks, I would expect Yosemite to be much the same).
    If this hasn't worked, try clicking the Sign Out button in System Preferences>iCloud. It wouldn't hurt to reboot; then sign back in again. Your iCloud synced data will disappear when you sign out but will reappear when you sign back in (give it time).

  • How can you tag mail as junk on my iphone?

    How can you tag mail as junk on my iphone?

    If you have updated to iOS7, this is incorrect.
    To mark and file your mail as junk on iPhone, do this:
    When looking in your mailbox at the list of emails:
    1. Choose the email you wish to send to Junk (do not open it)
    2. Swipe it to the left. 
    You will see on the right 2 choices: Trash or More.
    3. Choose More
    Now you will see the choice to move it to Junk.  When you do this it will create a Junk folder for that mailbox.

  • How can I see block list in skype for I phone5s

    How can I see block list in skype for I phone5s

    My point to the OP was that if he could see the "inboxes" in the mail app, he had to be at the main navigation point of the app. The main window of the mail app shows the Inboxes Heading and all of the inboxes for each mail account listed underneath and then the Heading - Accounts with all of the different email accounts listed under that heading.
    Maybe I explained my point incorrectly. You can view the list of messages in either Landscape or Portrait view.
    If you are in portrait view and there is no message selected, tap on whatever icon is shown directly below the iPad logo and the WiFi indicator and the drop down box pops up. Is that what you are asking?
    Once the drop down list pops up, you can navigate in portrait like you do in landscape. In the photo below, I tapped the Trash Icon and the drop down menu popped up. Then if I tap the AOL Account, the pop up takes me back to Mailboxes which shows the list of all of your inboxes and all of the accounts underneath that.

  • HT5361 How can I forward mail to multiple recipients?  When I try to add an address, it replaces the previous address

    How can I forward mail to multiple recipients?  When I add an address, it replaces the previous address.

    Using the + button helped--should have been obvious, but I haven't been using it.  It works but seems very cumbersome to add one at a time.  I had another list of addresses that I could hold down the command button while selecting as many as desired, then click on BCC and double-click on just one of the addresses, and BCC would autofill with all of them.  Unfortunately, when I installed the latest Mac system update, I lost that multiple address capability--it's always something!

  • Since updating to ios7 i can no longer partially download emails and this is using up all my data plan. How can I make Mail only be partially downloaded again?

    Since updating to ios7 i can no longer partially download emails and this is using up all my data plan. How can I make Mail only be partially downloaded again?

    YEA!  My jurryrig worked!  To all with this problem:
    You CAN have podcasts in a regular playlist IF you convert them to a standard MP3 first.  So, yes, a lot of manual labor
    The good news: if, like me, it is a track that you listen to frequently (in my case meditations for sleep and relaxation) then the time is worth it.  I will mess with automator later to see if there is anyway to script this!  Then, less work for me and more for my mac.
    Here are the steps:
    Select the file from your Podcast folder.
    Change all data you need -- "artist," "album" etc...
    Make a copy of the cover art for this file by dragging it to the desktop.
    Select the Advanced -> Convert ID3 Tags menu item.
    Check ID3 tag version, and select "v1.0" from the drop-down menu.
    Drag the file to the desktop (this will make a copy of the MP3 on the desktop)
    Delete the file from the iTunes list.
    Drag the copy of the file you have on the Desktop back into iTunes.
    Search for the file in the Library, and add the cover art again to the file.
    Now the file is out of the Podcasts folder and works like a regular MP3 file inside iTunes. You can re-add it back to playlists!

  • How can I make mail my default mail programme

    How can I make mail my default mail programme, I used to use entourage and now when I want to share I only have the option of entourage in the share list on safari

    Open Mail. Select Preferences from the Mail menu in the menubar. Click on the General icon in the toolbar. Set the desired default in the dropdown menu labeled "Default email reader."

  • TS3276 How can I block mail from a specific email address?

    How can I block mail from a specific email address?

    Create a Rule
    Mail menu
    You can choose the Delete option from the drop down list or you can move the message to a specific folder.

  • How can I get a list of apps which are supported on ipod touch model ma623zo?

    How can I get a list of apps which are supported on ipod touch model ma623zo?
    It's about 6 years old I think.
    I have put the latest IOS on there (currently 3.1.3 (7E18)).
    I download apps from the app store but they often fail to launch. I assume they're incompatible.
    Is there a way to check which apps will work and which won't before I buy them?
    Thanks!

    I have no idea how my reply could be "misleading". I stated the exact situation: there are millions of apps in the iTunes Store, and providing a comprehensive, accurate list of which apps support which version(s) of iOS would be highly impractical. You can perhaps help with your search by going to AppShopper:
    http://appshopper.com/search/?search=iOS+3
    That will give you at least some starting points, but AppShopper is neither comprehensive nor completely accurate. I've found a number of apps listed there over the time the site has existed that either are no longer offered or which have been updated beyond the iOS version indicated. But it might help.
    Regards.

  • How can I see a list of all my comments for a certain PDF document on my iPad?

    how can I c a list of all of the comments in a PDF document in the acrobat app on my iPad?
    thanks,
    ori

    Hi Orirotlevy,
    Sorry but no such feature is available in Adobe Acrobat app for ipad.
    Moreover, You can provide your valuable suggestions for this app, using the following Link : https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Regards,
    Rahul

  • I resently cracked my screen on my iPhone 4 and had to get a new one... Whe backed the old phone up it didn't save my old apps and now I no longer have that phone...  How can I recover a list of all my apps?

    I resently cracked the screen on my iPhone 4 and had to get a new one... When i backed the old phone up it didn't save my old apps and now I no longer have that phone...  How can I recover a list of all my apps?

    Backup does not include apps,music,vids,etc
    Backing up, updating, and restoring iPad, iPod touch, and iPhone software
    You can loo up your purchases in your purchase history ( in your account in itunes)  and unlike music, you can redownload apps.
    How to redownload purchased apps from the App Store

  • HT1390 how can i view a list of only the rentable movies in itunes?

    how can i view a list of only the rentable movies in itunes?

    you mean using itunes for windows or from the ipad

  • How can I get a list of database names from environment

    Hi,
    How can I get a list of database names from environment.
    I had found a method in JE API Docs named Environment.getDatabaseNames(), and i couldn't found the same method in Berkeley DB.
    I use java interface, is it supported?
    Thanks.

    Hello,
    I don't know if it would work for you, but have you checked the db_archive utility at:
    http://download.oracle.com/docs/cd/E17076_01/html/api_reference/C/db_archive.html
    Check the -s option.
    Thanks,
    Sandra

Maybe you are looking for

  • What's wrong with my Satellite L305D-S5892 screen?

    I never had any problems with it before, the screen as shown in the video would often do whats shown then the screen would resume fine no problems. now all it does is that. I hooked my laptop to my HDTV and it displays it fine, but it doesn't on the

  • Restore standard organizational model in CRM

    Just out of interest: if I were to convert the organizational model in CRM into an enhanced one, is there any possibility to later restore the standard organizational model, for instance via a backup?

  • Microsoft Outlook for Mac

    I need to use Outlook for work and created an alias email account in iCloud which works perfectly. How can I compose a new email using Outlook as the client, and I need to be able to use my alias account as the sender. It was easy to set up in iPhone

  • Invalid Bitmap Data error when Flex tries to play a Crossfade transition?

    Hi All, I've got a Grid like this in my Flex 4 app.  When the view that contains this Grid is visible, and the view is changed to another view, my application tries to play the Crossfade effect as the transition to the other view.  My transition is d

  • IMac crashing after Mavericks

    My iMac ran immaculately piror to upgrading to Mavericks.  Immediately after the upgrade it started acting up.  First it wouldn't wake from sleep.  I'd have to manually power off then power on after long periods of no use.  Then it started crashing.