Mail Sending Queue

What would be the best way to create a queue for outoing SMTP messages? Or does one already exist?
Here's my problem, I've developed an app with email-capable notices, error messges, and reminders. It can deliver an email an hour or up to 100 in a minute depending on what's happening. I originally started with a method I'd created to send the email via Transport(send) to my ISP's SMTP server. The first obstacle was the performance, it took anywhere from 1-25 seconds to deliver the messages. So, since I'm not 100% concerned if every email gets there I created a Thread object to handle the emails so that I could continue.
Then I noticed that some email weren't getting to their destination when the load went up. I saw that anything after your tenth message in a 2-minute period (or something like that) would get dropped. So, in the catch() in my Thread's run() method, I would call run() again recursively up to 10 times to try the messages again. I could send more reliably not, but not more than about 75%.
Then I looked at the SMTP server. I installed a local one and this improved things dramatically. Since, it's dedicated it will churn through messages at an average completion rate above 99% -- and I log all failed messages. This works now, but I can't guarantee everyone a dedicated SMTP box...
What I'd like is a way to guarantee me 100% message success. I want some kind of queue that pops the top message and tries to send it up to a maximum number of retries, or signals an exception, before it moves on to the next message. Does this exist already somewhere, or what would be the best way to do this so that JavaMail would be intelilgent enough to read the SMTP responses to know that the message was successfully queued up?
Thanks.

Or do you want some way of making sure that when the
SMTP server accepts a message, it really got the
message? That isn't what you asked, but that seems to
be the problem you are trying to solve. At any rate I
have no idea how to compensate for unreliable
servers. Except... if you are creating one Thread per
message (it doesn't sound like it but maybe I don't
get it), you may be flooding the server at times. If
so then try to limit the number of simultaneous
threads.This is exactly what I want. This is just my initial impression, but it seems like Javamail is quick to throw exceptions. I'm looking for a more robust transport mechanism -- I want to "set it and forget it." Can you make a call to the JavaMail API that would tell it to retry sending on its own for non-fatal errors, i.e. Code 450 ~ server busy status?
I do create a Thread for each email right now, at least with my dedicate SMTP box, it's not causing a problem. It's admin report is telling me that I'm only ever getting to 7% of it's concurrent session limits. I would like to have a queue with a definable number of "sender threads" to pop the messages and follow their progress.
So, to sum it up in one long sentence, I'm looking to see if there's a pre-canned mechanism out there which implements JavaMail which is robust enough to listen to the SMTP return codes and follow a message's lifecycle to guarantee either message delivery or failure only due to either connectivity problems to the SMTP host or to invalid addresses so that I don't have to parse all possible exceptions and SMTP error codes to make resubmission decisions.
Thanks in advance and sorry for my long-winded diatribe...

Similar Messages

  • MAIL Sender adapter going in to error

    Hello Experts ,
    We have configured one mail sender adpater with a custom module to read the attachements in the email message. This was working fine before.
    We recently had a restart of the PI servers. After that the channel is going in to error. The first error as per NWA logs is :
    failed to call the adapter engine; caused by javax.ejb.EJBException: Exception in getMethodReady() for stateless bean sap.com/com.sap.aii.adapter.mail.app*xml|com.sap.aii.adapter.mail.ejb.jar*xml|XIMailAdapterBean; nested exception is: com.sap.engine.services.ejb3.util.pool.PoolException: javax.ejb.EJBException: Exception raised from invocation of public void com.sap.aii.adapter.mail.ejb.XIMailAdapterBean.ejbCreate() throws javax.ejb.CreateException method on bean instance com.sap.aii.adapter.mail.ejb.XIMailAdapterBean@243be1e1 for bean sap.com/com.sap.aii.adapter.mail.app*xml|com.sap.aii.adapter.mail.ejb.jar*xml|XIMailAdapterBean; nested exception is: javax.ejb.CreateException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Failed to load messages into Queue AFWSend from database. Reason: com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException occurred in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot get connection. Reason: the thread of component "ejbContexts/sap.com/com.sap.aii.adapter.mail.app/com.sap.aii.adapter.mail.ejb.jar/XIMailAdapterBean" in application "sap.com/com.sap.aii.adapter.mail.app" is currently associated with a restricted resource set and it is not allowed to get connection within it.
    After that whenever it is trying to process a message its throwing the below error :
    exception caught during processing mail message [588]com.sap.aii.af.lib.mp.module.ModuleException
    Has anybody faced thsi error before? Please help!!!
    Thanks

    Hi VR
    Have you tried swapping by Payload name?
    Please try it out with the following configuration, and remove any extra lines - there are duplicate key names and values in your configuration.
    You should be able to see the successfully swap by payload name in the audit log as shown below.
    Rgds
    Eng Swee

  • Mail-Sender-Adapter, FetchReport

    Hello,
    can anyone explain me how to use the FetchReport option in the Mail-Sender-Adapter?
    In the Adapter-Audit-Protocol the Adapter I always get an error.
    The SAP-Help pages are not very helpful, an in SDN there are no articles about this.
    kind regards
    Thorsten Gawantka

    Hi Chris,
    the Definition is imported already.
    Here are the message-data:
    Message-Daten
    Attribut     Wert
    Status     fehlerhaft beendet
    Wiederholbar     Nein
    Beendbar     Nein
    Fehlerkategorie     XI_J2EE_ADAPTER_XI_HANDLER
    Fehlercode     CALL_CONSUMER_ERROR
    Start     30.04.2008 13:27:03
    Ende     30.04.2008 13:27:03
    Sender-Partner     
    Sender-Service     opx
    Empfänger-Partner     
    Empfänger-Service     
    Interface     http://sap.com/xi/XI/Mail/30
    FetchReport
    Quality-of-Service     Best Effort
    Message     5b2e4a20-16a8-11dd-c67c-00145e36a4e4
    Referenz     
    Konversations-ID     
    Version     0
    Bearbeitet     Nein
    Serialisierungskontext     
    Richtung     OUTBOUND
    Message-Typ     Call
    Profil     XI
    Verbindung     Mail_http://sap.com/xi/XI/System
    Transport     HTTP
    Endpunkt     http://op-sap-xi:8000/sap/xi/engine?type=entry
    Berechtigung     SAPPasswordCredential(PIAFUSER):password=********:sapclient=001:saplang=
    Sequenznummer     0
    Anz. Wiederh.     0
    Fehlg.     1
    Wiederh.     0
    and the audit-protocol:
    Audit-Protokoll für Message: 5b2e4a20-16a8-11dd-c67c-00145e36a4e4
    Zeitstempel     Status     Beschreibung
    2008-04-30 13:27:03     Erfolgreich     Mail: calling the module processor for channel CC_AeroDB_Mail_Send
    2008-04-30 13:27:03     Erfolgreich     MP: Tritt in den Modulprozessor ein
    2008-04-30 13:27:03     Erfolgreich     MP: Lokales Modul localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean wird verarbeitet
    2008-04-30 13:27:03     Erfolgreich     Mail: message leaving the adapter (call)
    2008-04-30 13:27:03     Erfolgreich     Die Anwendung versucht eine XI Message synchron zu senden über Mail_http://sap.com/xi/XI/System
    2008-04-30 13:27:03     Erfolgreich     Versuch die Message in die Call-Queue zu stellen
    2008-04-30 13:27:03     Erfolgreich     Message erfolgreich in Queue gestellt
    2008-04-30 13:27:03     Erfolgreich     Die Message wurde erfolgreich aus der Call-Queue abgerufen
    2008-04-30 13:27:03     Erfolgreich     Der Status der Message wurde auf DLNG gesetzt
    2008-04-30 13:27:03     Fehler     XI-Systemfehler erhalten. ErrorCode: NO_RECEIVER_CASE_BE ErrorText:   ErrorStack: No receiver could be determined
    2008-04-30 13:27:03     Fehler     Rückgabe synchroner Fehlerbenachrichtigung an rufende Anwendung: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:.
    2008-04-30 13:27:03     Fehler     Die Übertragung der Message über http://op-sap-xi:8000/sap/xi/engine?type=entry ist fehlgeschlagen, weil: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
    2008-04-30 13:27:03     Fehler     Der Status der Message wurde auf FAIL gesetzt
    2008-04-30 13:27:03     Fehler     Zurück zur Anwendung. Ausnahme: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
    2008-04-30 13:27:03     Fehler     Mail: error occured: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
    2008-04-30 13:27:03     Fehler     Mail: error occured: com.sap.aii.af.mp.module.ModuleException: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE: caused by: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
    2008-04-30 13:27:03     Fehler     MP: Ausnahme aufgetreten mit Grund com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
    2008-04-30 13:27:03     Fehler     Mail: failed to call the module processor: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
    Now the question is, how do i define the receiver in an asynchrounious scenario? And what does the FetchReport option exactly?
    thx for your help
    Thorsten

  • SMTP Mail send confirmation

    Im trying to build a program which checks SMTP mail setup is correctly done or not using a single user account.
    So the program will send message to the same account and check if the user credentials, network connectivity etc. are correctly set.
    I will be using following method,
    SMTPTransport.sendMessage(message,Address[]) method throws following exceptions,
    SMTPSendFailedException - if the send failed because of an SMTP command error
    SendFailedException - if the send failed because of invalid addresses.
    MessagingException - if the connection is dead or not
    My query is,
    If none of the above exceptions are thrown, is it guaranteed for all providers, that the mail has reached MTA or mail server queue?
    or
    Do i need to create a thread to do a IMAP query on INBOX folder for the message, which was sent and then i can compare MessageID to confirm that the setup and connectivity is all well set?
    Please suggest

    Guarantees are few and far between in the email world.
    If you don't get an exception, the mail server has accepted the message.
    Depending on the quality of the mail server, it may or may not guarantee
    anything after that.
    While this is supposed to be true for all Transport providers, there aren't many
    providers beyond Sun's SMTP provider.
    And of course accepting the message doesn't guarantee it will be delivered
    to the mailbox you expect, or anywhere for that matter.

  • Lot of SPAM mails in queue - Warnings from ISP

    Hi Jay,Shane and ALL,
    We are running messaging on Solaris 10 with below version.
    Sun Java(tm) System Messaging Server 6.2-7.05 (built Sep 5 2006)
    libimta.so 6.2-7.05 (built 12:18:44, Sep 5 2006)
    Insured that no entries added to mappings (except localhost) and only "authenticated SMTP" allowed.
    We implemented Separate AV/anti-spam box with aliasdetour and conversion channel which is working fine.
    we could achieve >95% spam control but recently we started receiving warnings from ISP that SPAM being sent out from our mail server.
    ++++++++Part of mail sent by ISP+++++++++
    Data received in complaint:
    Return-Path: <x>
    Delivered-To: x
    Received: from webmail.<our-domain>.com (our_mail_server_IP) by mail.iecc.com with SMTP;
    7 Sep 2007 03:29:00 -0000
    Received: from User ([210.70.82.129]) by webmail.<our-domain>.com (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTPA id <x> for x; Thu,
    06 Sep 2007 20:45:43 -0400 (EDT)
    Date: Fri, 07 Sep 2007 08:47:54 +0800
    From: Bank of America <x>
    Subject: Account Information Update.
    To: Undisclosed recipients: ;
    Reply-to: x
    Message-id: <x>
    MIME-version: 1.0
    X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
    X-Mailer: Microsoft Outlook Express 6.00.2600.0000
    X-Priority: 1
    X-MSMail-priority: High
    X-DCC-IECC-Metrics: tom.iecc.com 1107;
    bulk Body=154 Fuz1=154 Fuz2#X-Tag: tagged by DCC
    Content-Type: text/plain
    Content-Transfer-Encoding: 8bit
    ++++++++++++end-of-part-mail-sent-by-ISP++++++++++++
    I noticed around 10K SPAM mails getting generated (added) daily in tcp_local channel queue.
    +++++++++a mail in queue++++++++++
    qm.maint> read 3000
    Message id: 3000
    Filename: /iplanet/SUNWmsgsr/data/queue/tcp_local/017/ZWf0I3dFTzue9.00
    Transport layer information:
    Envelope From: address: [email protected]
    Envelope To: addresses: [email protected]
    Message header:
    Received: from User ([203.144.16.210])
    by webmail.<our_domain>.com (Sun Java System Messaging Server 6.2-7.05 (built Sep
    5 2006)) with ESMTPA id <0JO300B5LSZDBK10@webmail.<our_domain>.com> for
    [email protected]; Sun, 09 Sep 2007 09:47:45 -0400 (EDT)
    Date: Sun, 09 Sep 2007 23:49:59 +1000
    From: Bank Of America <[email protected]>
    Subject: Account Information Update Urgently Needed
    To: Undisclosed recipients: ;
    Reply-to: [email protected]
    Message-id: <0JO300B5MSZFBK10@webmail.<our_domain>.com>
    MIME-version: 1.0
    X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
    X-Mailer: Microsoft Outlook Express 6.00.2600.0000
    Content-type: text/html; charset=Windows-1251
    Content-transfer-encoding: 7BIT
    X-Priority: 3
    X-MSMail-priority: Normal
    qm.maint>
    ++++++++++++++++++++end-of-mail-in-queue++++++++++++++++++++
    Wondering how these mails exist in tcp_local queue wherein none of IPs (or users) allowed to relay through our servers.
    Pl help me resolve this issue.
    TIA
    Prvn

    Thanks Shane.
    Pl find my below answers:
    Hi,
    You need to track down the source of the emails by
    locating the relevant mail.log lines that correspond
    to the email delivery attempt. This will at least
    tell you how they are getting in (whether the email
    is coming in via the
    tcp_local/tcp_auth/tcp_submit/tcp_intranet channel
    etc.).07-Sep-2007 19:13:44.02 tcp_auth tcp_local EA 3 [email protected] rfc822;[email protected] [email protected] User ([210.70.82.129])
    08-Sep-2007 16:21:44.38 tcp_auth tcp_local EA 1 [email protected] rfc822;[email protected] [email protected] User ([203.144.16.210])
    >
    From there you can determine (if you have enough
    logging enabled such as LOG_USERNAME=1,
    LOG_CONNECTION=1, LOG_MESSAGE_ID=1) why they emails
    are being allowed through... After enabling the three parameters (option.dat and did cnbuild/restart),
    i noticed lot of such entries in mail.log_current:
    10-Sep-2007 00:04:28.59 tcp_local Q 2 [email protected] rfc822;[email protected] [email protected] <0JO400CPG2A15F00@webmail.<our-domain>.com> *admin@<our-domain>.com mailin.binghamton.edu dns;mailin.binghamton.edu (TCP|192.168.1.41|34548|128.226.7.23|25) (mail2.binghamton.edu ESMTP [7e5e6797de0c707331914caad1b54f2f]) smtp;450 <[email protected]>: Sender address rejected: Domain not found [email protected]: smtp;450 <alert@bancamerica.
    I have seen cases of:
    -> Incorrect mapping rules (so tcp_local->tcp_local
    relaying was broken)
    -> Overly large 'internal' IP mappings (so
    tcp_intranet was the source channel)My Mappings file:
    +++++
    ! MTA mappings file
    ! for access control and other table lookups
    PORT_ACCESS
    *|*|*|*|* $C$|INTERNAL_IP;$3|$Y$E
    * $YEXTERNAL
    INTERNAL_IP
    $(192.168.1.41/32) $Y
    127.0.0.1 $Y
    * $N
    ORIG_SEND_ACCESS
    tcp_local|*|tcp_local|* $N$D30|Relaying$ not$ allowed
    tcp_*|*|native|* $N
    tcp_*|*|hold|* $N
    tcp_*|*|pipe|* $N
    tcp_*|*|ims-ms|* $N
    ! Block "external" submissions of explicitly source-routed "internal" addresses
    tcp_local|*|tcp_intranet|@*:*.* $N$D30|Explicit$ routing$ not$ allowed
    tcp_local|*|tcp_intranet|*$%*@* $N$D30|Explicit$ routing$ not$ allowed
    tcp_local|*|tcp_intranet|*.*!*@* $N$D30|Explicit$ routing$ not$ allowed
    tcp_local|*|tcp_intranet|"*@*"@* $N$D30|Explicit$ routing$ not$ allowed
    SEND_ACCESS
    tcp_*|*|*|*@[127.*] $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@localhost.* $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@example.com $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@example.net $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@example.org $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@*.test $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@*.example $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@*.invalid $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@*.localhost $X5.1.2|$NBad$ destination$ system
    <IMTA_TABLE:mappings.locale
    NOSCAN_IP
    $(192.168.1.49/32) $Y$E
    * $N
    CONVERSIONS
    IN-CHAN=tcp_noscan;OUT-CHAN=*;CONVERT No
    IN-CHAN=tcp_local;OUT-CHAN=tcp_intranet;CONVERT No
    IN-CHAN=tcp_*;OUT-CHAN=*;CONVERT Yes,Channel=tcp_scan
    ++++++++
    -> A users username/password being hacked so
    authenticated delivery was being used (tcp_auth was
    the source channel with the same username each time)i will see this option but if somebody gets authenticated, i should see in logs?
    Pls help me on this.....
    Thanks
    Prvn

  • Sending queue says I'm sending more messages than I actually am...

    When sending emails on Mac Mail, the queue notifcation is always higher than the actual number of emails sent. Why is that? What else is sending and where is it going?!?!? For example, I just sent one email to two different people.. but the queue notification said I sent 3 mails.
    Very confusing, and I can find no evidence in the 'sent' folder of this phantom email.

    This is happening for me as well. I'm very worried that I am sending some kind of ick through email that I can't prevent.

  • Status of the mail sending option using SO_NEW_DOCUMENT_ATT_SEND_API1

    Hi experts,
    I m using SO_NEW_DOCUMENT_ATT_SEND_API1 function moduel for sending mails to dealers. That is, whenver i execute a Z transaction, the customer invoice details are getting displayed in report output. At the same time, the same output data is sent as mail to the respective dealers.
    Now teh user is asking whether there is any possiblity for the end users to have a proof of the mail which is being sent from the Z transaction. If the mail is sent, the end user who executes the Z transaction (mail sending transaction) should have that mail in his/her SENT ITEMS. If the mail not reaches the dealer, then the user must identify the mail bounce identification.
    Pls tell me how to achve the same..
    Regards,
    Shanthi

    Hi,
    Yes it is possible..
    Just pass 'X' to the exporting parameter 'put_in_outbox'. The user can check the send mail in 'sost'. All the details of the mail will be there. This will be the proof that the mail was sent.
    Reg the 2nd part of your query, if the mail is not delivered to any reciepent or to particular recipient, the details will be there in the SAP outbox, that also you can see through transaction 'sost'.
    Thanks & Regards
    Rocky

  • Mail Send Functionality using SO_NEW_DOCUMENT_ATT_SEND_API1

    hi,
    i m using Fn Module "SO_NEW_DOCUMENT_ATT_SEND_API1" to send email with attachment.
    I have written  a program which will fetch data in excel format . this excel should be sent as attachment to specified receiver. however i m having difficulties adding attachment to function module.
    I specified under parameter "contents_bin" but its giving some error message related wth structure.
    I chkd SDN and wasnt able to find any resolution yet.
    Any suggestion or idea which can be useful on this.
    Thanks.

    REPORT  zsendemail                    .
    PARAMETERS: psubject(40) type c default  'Hello',
                p_email(40)   type c default 'write email address' .
    data:   it_packing_list like sopcklsti1 occurs 0 with header line,
            it_contents like solisti1 occurs 0 with header line,
            it_receivers like somlreci1 occurs 0 with header line,
            it_attachment like solisti1 occurs 0 with header line,
            gd_cnt type i,
            gd_sent_all(1) type c,
            gd_doc_data like sodocchgi1,
            gd_error type sy-subrc.
    data:   it_message type standard table of SOLISTI1 initial size 0
                    with header line.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Perform populate_message_table.
    *Send email message, although is not sent from SAP until mail send
    *program has been executed(rsconn01)
    PERFORM send_email_message.
    *Instructs mail send program for SAPCONNECT to send email(rsconn01)
    perform initiate_mail_execute_program.
    *&      Form  POPULATE_MESSAGE_TABLE
          Adds text to email text table
    form populate_message_table.
      Append 'Email line 1' to it_message.
      Append 'Email line 2' to it_message.
      Append 'Email line 3' to it_message.
      Append 'Email line 4' to it_message.
    endform.                    " POPULATE_MESSAGE_TABLE
    *&      Form  SEND_EMAIL_MESSAGE
          Send email message
    form send_email_message.
    Fill the document data.
      gd_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      gd_doc_data-obj_langu = sy-langu.
      gd_doc_data-obj_name  = 'SAPRPT'.
      gd_doc_data-obj_descr = psubject.
      gd_doc_data-sensitivty = 'F'.
    Describe the body of the message
      clear it_packing_list.
      refresh it_packing_list.
      it_packing_list-transf_bin = space.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      describe table it_message lines it_packing_list-body_num.
      it_packing_list-doc_type = 'RAW'.
      append it_packing_list.
    Add the recipients email address
      clear it_receivers.
      refresh it_receivers.
      it_receivers-receiver = p_email.
      it_receivers-rec_type = 'U'.
      it_receivers-com_type = 'INT'.
      it_receivers-notif_del = 'X'.
      it_receivers-notif_ndel = 'X'.
      append it_receivers.
    Call the FM to post the message to SAPMAIL
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           exporting
                document_data              = gd_doc_data
                put_in_outbox              = 'X'
           importing
                sent_to_all                = gd_sent_all
           tables
                packing_list               = it_packing_list
                contents_txt               = it_message
                receivers                  = it_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.
    Store function module return code
      gd_error = sy-subrc.
    Get it_receivers return code
      loop at it_receivers.
      endloop.
    endform.                    " SEND_EMAIL_MESSAGE
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    form initiate_mail_execute_program.
      wait up to 2 seconds.
      if gd_error eq 0.
          submit rsconn01 with mode = 'INT'
                        with output = 'X'
                        and return.
      endif.
    endform.                    " INITIATE_MAIL_EXECUTE_PROGRAM

  • I need an e-mail sending to my macbook, it appears to download but is never in my inbox. It does got to my iphone.  It isn't in trash.  Can anyone help ?

    I need an e-mail sending to my macbook, it appears to download but is never in my inbox. It does got to my iphone.  It isn't in trash.  Can anyone help ?

    I get those all the time. Most annoying. I usually ignore them or mark them as spam.

  • Send E-mail Send E-mail question

    Hi,
    Im trying out the Developers Toolbox and am trying to figure out if its right for me, and have very basic - beginning MySQL and php skills.
    The tutorial at http://help.adobe.com/en_US/Dreamweaver/9.0_ADDT/help.html?content=ch12_send_email_01.htm l is rather sketchy, when I follow the tutorial on that page:
    "The Send E-mail trigger allows the site developer to automatically send an e-mail when a form is submitted. It is an AFTER trigger, and it can be executed after insert/update/delete/custom transactions.
    This trigger is accessible from the Application panel, Server Behaviors > + > Developer Toolbox > Send E-mail > Send E-mail."
    well, when I try that, I get an error on the page which says:
    "There are no insert, update, custom or login or delete transactions on page. Please insert an appropriate transaction first."
    OK I am assuming that I need some kind of an html form open and on a page, however where do I start? Its as if the tutorials left out a huge chunk of the instructions. I realize I am no expert but if someone was buying the toolbox for the first time how would one know where to start? Do I need to create a new database table first? What kind of table? Can it be a table that is part of the site database for the shopping cart database that I already have linked to the store? Or does it need to be a seperate - database, table? Or just a php page with the form in it? Or does the form page need to be .html?
    Or is the toolkit only for advanced developers with advanced php and MySQL skills and should I not even bother buying it?
    Anyway can someone please give me a hint?
    All I am trying to do is construct a simple email form for my web site which I have created in Dreamweaver and I need a php script to process the data inserted into the form and send it off to the mail server to forward to the webmaster's email address. I have the form created and brought up the form page, but then the Server Behaviors > + > Developer Toolbox > Send E-mail > Send E-mail. Tab is not accessible, and I am assuming that it wont be unless I have a .php file open, so I dont have a clue as to where to start.
    So Ive got 27 days left to determine if its worth buying the toolbox, if I cant figure it out by then then I guess Ill buy some easier to use extension or stand alone to create my email form and other scripts.

    Hi DBS,
    just some thoughts:
    So Ive got 27 days left to determine if its worth buying the toolbox, if I cant figure it out by then then I guess Ill buy some easier to use extension or stand alone to create my email form and other scripts
    honestly said: if sending form data via email is about all you want to achieve, buying ADDT or even trying to learn it would be overkill, as it comes with heaps of features which you´ll probably never need -- in this case investing in a stand alone form-to-email script seems a better solution.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How can i read only .txt file and skip other files in Mail Sender Adapter ?

    Hi Friends ,
                       <b> I am working on scenario like , I have to read an mail attachement and send the data to R3.</b>
                        It is working fine if only the .txt file comes.
                      <b>Some times ,html files also coming along with that .txt files. That time my Mail adapter fails to read the .txt file.</b>
                       I am using PayLoadSwap Bean and MessageTransformBean to swap and send the attachment as payload .
                         <b>Michal as told to write the Adapter module to skip the files .But i am not ware of the adapter moduel . If any blogs is there for this kind of scenarios please give me the link.</b>
                           Otherwise , please tell me how to write adapter module for Mail  Sender Adapter?
                      How to download the following
                        newest patch of XI ADAPTER FRAMEWORK CORE 3.0
    from SAP Service Marketplace. Open the file with WinZip and extract the following
    SDAs:
    &#61589;&#61472;aii_af_lib.sda, aii_af_svc.sda
    &#61589;&#61472;aii_af_cpa_svc.sda
                        I have searche in servive market place .But i couldn't find that . Can you please provide me the link to download the above .
                      If any other suggestions other than this please let me know.
    Regards.,
    V.Rangarajan

    =P
    Dude, netiquette. Messages like "i need this now! Do it!" are really offensive and no one here is being payed to answer anyone's questions. We're here because we like to contribute to the community.
    Anyway, in your case, just perform some search on how you could filter the files that are attached to the message. The sample module is just an example, you'll have to implement your own. Tips would be to query the filename of the attachments (or maybe content type) and for the ones which are not text, remove them.
    Regards,
    Henrique.

  • Mail Sender adapter issue in PO7.4

    Hello Experts,
    We are migrating from PI7.0 to PO7.4, where in we are struck up with an issue of Mail Sender Interface.
    Here we have a scenario of Mail to Proxy where we are processing attachment(CSV file). But here when I we run the interface mail body is being processed not the attachment. Also could nt see the Payload as when I click on the Attachment payload a pop up is coming and closing automatically.
    Can someone please suggest where it went wrong as this is working in existing PI7.0 version.
    Thanks.
    VR

    Hi VR
    Have you tried swapping by Payload name?
    Please try it out with the following configuration, and remove any extra lines - there are duplicate key names and values in your configuration.
    You should be able to see the successfully swap by payload name in the audit log as shown below.
    Rgds
    Eng Swee

  • Mail Sender Adapter - Attachment Handling

    Hello,
    I 'm using XI 3.0 SP 14.
    I have problems with my Mail-Sender-Adapter.
    The mails, I fetch, have an xml-attachment which
    represents an IDOC-structure (ORDERS.ORDERS05).
    I want to sent this attachment as payload to an SAP-System.
    The problem is now, that I have 2 Payloads (SXMB_MONI).
    One for the normal email-body and one for my original
    xml-attachment. See below:
    - <SAP:Payload xlink:href="cid:[email protected]">
      <SAP:Name>MailMessage</SAP:Name>
      <SAP:Description>mail message</SAP:Description>
      <SAP:Type>Application</SAP:Type>
      </SAP:Payload>
    - <SAP:Payload xlink:href="cid:[email protected]">
      <SAP:Name>MailAttachment-1</SAP:Name>
      <SAP:Description>mail attachment</SAP:Description>
      <SAP:Type>ApplicationAttachment</SAP:Type>
      </SAP:Payload>
      </SAP:Manifest>
      </SOAP:Body>
    The XI Runtime Workbench (SXMB_MONI) takes (in my case)
    the wrong one (email-body-attachment) and gives me
    an parsing error. (Error occurs at my IDOC-Receiver-Adapter)
    Now my question:
    Can I remove the email-body-attachment, so that
    the further processing works with my xml-attachment?
    Or how can I resolve my problem.
    best regards
    Marcel Reichert

    Hi Marcel,
    use the PayloadSwapBean module to get the attachment as main payload.
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/frameset.htm
    As parameters use:
    swap.keyName = payload-name
    swap.keyValue = MailAttachment-1
    Regards
    Stefan

  • Variable Transport Parameters in Mail Sender

    Did anyone ever successfully use the "Variable Header XHeaderName1" in the mail sender adapter (IMAP4)?
    We have two mail sender channels which require a slightly different mapping. My idea was to define a value for the field "Variable Header XHeaderName1" and evaluate that in the mapping. But the value is not passed into the SOAP header, I can configure what I want. I turned on "Adapter spec.attributes" and "Variable Transport...".
    So I cannot access the field value in the mapping.
    Now I evaluate the dynamic configuration field "SUser", that works, but that's only a workaround.
    So either this is a bug in the system (XI 3.0 SP 21) or the documentation is wrong.
    We are using an attachment, is that the problem ? "Use Mail package" off/on does not change anything.
    Any ideas ? No general links to the documentation please.
    CSY
    Edited by: Christian Sy on Aug 15, 2008 8:48 AM

    I think the DynamicConfigurationBean would help in this scenario.
    You can assign a constant value in sender channel and use that constant for the determination of the mapping.
    Regards
    Stefan

  • Mail sender adapter POP server not configured for URL access

    Hi Experts,
    I have a Mail --> PI --> R/3 scenario and I am configuring the Mail sender adapter for POP3. The issue is that the POP server is not configured to be accessed via a URL and hence the URL pop://hostname/ is causing the following error at runtime:
    _1. When I use pop://Fully qualified host name/
    _Error: exception caught during processing mail message; java.net.UnknownHostException
    _2. When I use pop://IP address of host/
    _Error: exception caught during processing mail message; java.net.SocketException: Connection timed out:could be due to invalid address
    I am able to ping the POP3 server from the PI server using both the FQDN and IP address.
    Can someone please help.
    Thanks,
    Shobhit
    Edited by: Shobhit Swarup Mathur on Jul 14, 2009 9:29 AM
    Edited by: Shobhit Swarup Mathur on Jul 14, 2009 9:29 AM

    Hi Shobhit
    Check with these notes:
    804102
    xi 3.0 mail adapter with pop3 user authentication problem
    810238
    XI 3.0 Mail Adapter for POP3 may not report some errors
    also check mailserver security settings ...
    Connection refused occures when XI cannot connect
    in most cases so try checking it again , maybe some ports are not opend on the firewall
    Thanks
    Edited by: Abhishek Agrahari on Jul 14, 2009 11:44 AM

Maybe you are looking for