Fax Attachments

Hi all,
we have a problem with display of fax attachments in the view FaxDispLrg, instead in the view FaxPreview they are displayed properly.
The table is always empty: i try to debug it but i can't find the problem.
Has anyone ever encountered this problem?
Thanks

Hi,
The issue can be an Outlook or Fax mail problem. As this is Exchange server fourm, I suggest you write post in our Outlook community.
http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.outlook.general&lang=en&cr=US
Personally, as I focus on Exchange server, I'm afraid I could not help you on the current issue. :(
Thanks,
Elvis

Similar Messages

  • Inbound emails stripped of .FAX attachments

    G'day all,
    I'm on a 620 system up to basis patch 60.
    When an inbound email contains an attachment with extension .FAX the attachment disappears!!
    Any other extensions are fine. The .FAX files in my case are actually .TIF files but the software creates them with .FAX extension.
    If I rename the file to have a .FOX extension for example, the attachment makes it into SAP just fine, as does any other extensions I've tried (.TXT, .DOC, .ZIP, .PDF, .XLS etc)
    This happens whether I send to a normal SAP users inbox or whether I handle the inbound request using my own SO50 configured class.
    We've turned on the Inbound and General trace in SCOT and there is nothing too exciting. The log does show there is a .FAX attachment present (so it's not stripped by the external mail system) but it doesn't indicate that it's been removed.
    Please note!! This is NOT inbound Fax handling. It's just a mail that happens to have an attachment which ends with the extension .FAX.
    Any ideas??
    Thanks,
    Mark

    Hello,
    Can you please check SAP note:
    813619
    make sure the customizing of the type .FAX is correct.
    Best regards,
    Dezso

  • Unable to view PDF attachments from my iPhone.

    I am using service called RightFax this service is send the faxes to clients mailboxs. I have been reported from clients that they are unable to view the attachmentson their iPhones, the attachment format is PDF. The attachment can be openned from any desktops and Android phones without any issue.
    i can see attachment from on my iPhone but when i tab on it to view it it just scrolled up to the top of the mail. Also if i farward the same fax mail to my self then i can view the attachment.The IOS version is 7.1.
    I contact the RightFax company to check with them why only attachments from fax mails with PDF format is not openning from iPhone devices from the first time, the company check theur services and do tests and reply me that there is no issue with their services since the PDF attachments are openned on android and desktops. They informed me that it might could be compatability issue between Exchange 2013 and apple that doesn't allowed PDF attachments to be openned from the first time, so they advised to contact Apple support to find out why PDFs are not openning when i initially attempt to download them.
    I download third party mail client on my iPhone and all fax attachments are openned without problem.
    Could anyone help me with this strange issue ??

    RightFax advised you to contact Apple Support - this is NOT Apple Support but rather a public user to user technical support forum.
    As far as I know, it is not possible to open PDF attachments on an iPhone, but it is on an Android phone, which is why you are having the problems - unless there is an app to help you that you can purchase in the app store, then there is not a lot you can do about this, except switch to an android phone, but as far as I know, you have never been able to open PDF documents on an iPhone.

  • T.37 onramp fax sometimes sends empty attachment

    We have T.37 onramp fax set up with incoming calls arriving on a T1 line into a Cisco 2811, and SMTP emails with fax attachments going out to our custom mailserver.  We have many of these systems in the field.  Most of the time onramp faxes work fine, but we sometimes see the 2811 sending an empty attachment to the mailserver.  We have captured the incoming audio and decoded the fax using the Asterisk PBX utilities, with no errors at all.
    What could cause a 2811 to send an empty fax attachment even though the incoming fax is good?
    Here is the SMTP conversation (with names and numbers changed) -- red from the 2811, blue from the mailserver:
    220-svr02.company.com Simple Mail Transfer Service Ready
    220 ESMTP spoken here.
    EHLO faxgateway.company.com
    250-svr02.company.com
    250-CHUNKING
    250-DSN
    250-AUTH CRAM-MD5 LOGIN PLAIN
    250-AUTH=CRAM-MD5 LOGIN PLAIN
    250-X-DCL-SOURCE
    250-X-DCL-CALLID
    250-X-DCL-DSN
    250-X-DCL-REPLACE
    250-X-DCL-TRANSCRIPT
    250-X-DCL-SENT-ITEMS
    250-X-DCL-GHOST
    250-X-MSW-NOTIFY-SUPPRESS
    250-X-MSW-OP
    250 SIZE 0
    MAIL FROM:<[email protected]>
    250 OK
    RCPT TO:<[email protected]>
    250 OK
    DATA
    354 Start mail input, end with <CRLF>.<CRLF>
    Received:  by faxgateway.company.com for <[email protected]> (with Cisco NetWorks); Thu, 21 Nov 2013 16:22:01 -0500
    To: "1231231234" <[email protected]>
    Message-ID: <[email protected]>
    Date: Thu, 21 Nov 2013 16:22:01 -0500
    Subject: Fax
    X-Mailer: Technical Support: http://www.cisco
    MIME-Version: 1.0
    Content-Type: multipart/fax-message;
    boundary="yradnuoB=_7FCF2013162201695.faxgateway.company.com"
    From: "2342342345" <[email protected]>
    X-Account-Id: 0
    --yradnuoB=_7FCF2013162201695.faxgateway.company.com
    Content-ID: <[email protected]>
    Content-Type: image/tiff; name="Cisco_fax.tif"; application=faxbw
    Content-Disposition: attachment
    Content-Transfer-Encoding: base64
    --yradnuoB=_7FCF2013162201695.faxgateway.company.com--
    550 Fax message contains 0 pages
    Note that our custom mailserver rejects these empty fax attachments because we want the sending fax machine to see a failure in this case.  (If the mailserver were to accept the empty attachment, then the sender would see success but the receiver would receive no fax.)
    The 2811 is running IOS 12.4(25d) and non-default DSP software 26.4.501 (updated to fix a problem with the DIS tones).  But we've been seeing this problem since 12.4(6)T7 with no DSP firmware patch.
    We've enabled all the relevant fax debug logs we can find, and here's the debug output for a 'zero-page fax' call from the point where the T1 connection is established, down to the point where the empty attachment is sent and the mailserver rejects it (names and numbers changed as before):
    Nov 21 21:21:53.511: ISDN Se1/0:23 Q931: TX -> CALL_PROC pd = 8  callref = 0xAA14
            Channel ID i = 0xA98382
                    Exclusive, Channel 2
    Nov 21 21:21:53.511: ISDN Se1/0:23 Q931: TX -> CONNECT pd = 8  callref = 0xAA14
    Nov 21 21:21:53.539: ISDN Se1/0:23 Q931: RX <- CONNECT_ACK pd = 8  callref = 0x2A14
    Nov 21 21:21:53.543: %ISDN-6-CONNECT: Interface Serial1/0:1 is now connected to N/A N/A
    Nov 21 21:21:56.511: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       CSI_PACKET(1231231234)
       DIS_PACKET(speed=5, resolution=1, encoding=1)
    Nov 21 21:21:56.511: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       fax2_response_receive, PROCESSING
    Nov 21 21:21:59.399: //50796/C6DA8CB3B86D/FMSP/t30_rx_flag:
       received flag of modulation: 0
    Nov 21 21:21:59.399: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       fax2_response_receive, PROCESSING
    Nov 21 21:21:59.739: //50796/C6DA8CB3B86D/FMSP/t30_rx_flag:
       received flag of modulation: 0
    Nov 21 21:22:00.719: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       fax2_response_receive, PROCESSING
    Nov 21 21:22:01.311: //50796/C6DA8CB3B86D/FMSP/fax2_response_receive:
       msg dump (size=23):
       FF C0 C2 1C EC 8C 2C 8C 2C 4C 6C AC 4C 04 04 04 04 04 04 04
       04 04 04
    Nov 21 21:22:01.311: //50796/C6DA8CB3B86D/FMSP/fax2_response_receive:
       received=TSI,  remote id string:=          2342342345
    Nov 21 21:22:01.311: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       fax2_response_receive, PROCESSING
    Nov 21 21:22:01.407: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       fax2_response_receive, PROCESSING
    Nov 21 21:22:01.647: //50796/C6DA8CB3B86D/FMSP/fax2_response_receive:
       msg dump (size=10):
       FF C8 C1 00 45 1F 01 01 01 00
    Nov 21 21:22:01.647: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       fax2_response_receive, PROCESSING
    Nov 21 21:22:01.691: //50796/C6DA8CB3B86D/FMSP/fax2_response_receive:
       in response receive WAIT FOR CD
    Nov 21 21:22:01.691: //50796/C6DA8CB3B86D/CCAPI/cc_api_event_indication:
       Event=36, Call Id=50796
    Nov 21 21:22:01.691: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       received DCS_PACKET, BR=9, resolution=0,encoding=1, remote_id_string=          2342342345
    Nov 21 21:22:01.691: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       wait for ready for data from application
    Nov 21 21:22:01.691: //50796/C6DA8CB3B86D/FOIP_ON/lapp_on_application:
       Event(Tag=36, Name=CC_EV_FROM_FMSP_ON_CALL_DETAIL, Disposition=0)
       Call Record(Call State=LAPP_ON_CS_FMSP_CALL_DETAIL(2))
    Nov 21 21:22:01.691: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_validate_context:exit@984
    Nov 21 21:22:01.691: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_msp_event:
       Event(Tag=36, Name=CC_EV_FROM_FMSP_ON_CALL_DETAIL)
    Nov 21 21:22:01.691: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_setup_mspi:
       Prepare MSPI Call Setup Request
    Nov 21 21:22:01.691: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_setup_mspi:
       Envelope [email protected]
    Nov 21 21:22:01.691: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_setup_mspi:
       Envelope [email protected]
    Nov 21 21:22:01.691: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_setup_mspi:
       RFC822 To Comment=1231231234
    Nov 21 21:22:01.691: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_setup_mspi:
       Faxmail Subject=Fax
    Nov 21 21:22:01.691: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_setup_mspi:
       Disposition Notification=
    Nov 21 21:22:01.691: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_setup_mspi:
       Originator TSI=RFC822 From Comment=2342342345
    Nov 21 21:22:01.691: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_setup_mspi:
       Auth/Account ID: `0'
    Nov 21 21:22:01.691: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_setup_mspi:
       Call Setup Request To MSPI
    Nov 21 21:22:01.691: //50795/C6DA8CB3B86D/CCAPI/ccCallSetupRequest:
       Destination=, Calling IE Present=FALSE, Mode=0,
       Outgoing Dial-peer=3, Params=0x45E136F0, Progress Indication=NULL(0)
    Nov 21 21:22:01.691: //50795/C6DA8CB3B86D/CCAPI/ccCallSetupRequest:
       Destination Pattern=.T, Called Number=1231231234, Digit Strip=FALSE
    Nov 21 21:22:01.691: //50795/C6DA8CB3B86D/CCAPI/ccCallSetupRequest:
       Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
       Called Number=1231231234(TON=Unknown, NPI=Unknown),
       Redirect Number=, Display Info=
       Account Number=, Final Destination Flag=TRUE,
       Guid=C6DA8CB3-5229-11E3-B86D-58BC273896C0, Outgoing Dial-peer=3
    Nov 21 21:22:01.695: //50795/C6DA8CB3B86D/CCAPI/cc_api_display_ie_subfields:
       ccCallSetupRequest:
       cisco-username=
       ----- ccCallInfo IE subfields -----
       cisco-ani=
       cisco-anitype=0
       cisco-aniplan=0
       cisco-anipi=0
       cisco-anisi=0
       dest=1231231234
       cisco-desttype=0
       cisco-destplan=0
       cisco-rdie=FFFFFFFF
       cisco-rdn=
       cisco-rdntype=-1
       cisco-rdnplan=-1
       cisco-rdnpi=-1
       cisco-rdnsi=-1
       cisco-redirectreason=-1
    Nov 21 21:22:01.695: //50795/C6DA8CB3B86D/CCAPI/ccIFCallSetupRequestPrivate:
       Interface=0x453B5564, Interface Type=19, Destination=, Mode=0x0,
       Call Params(Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Al                                                                                      lowed),
       Called Number=1231231234(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
       Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE, Outgoing Dial-peer=3, Call Count                                                                                       On=FALSE,
       Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=                                                                                      )
    Nov 21 21:22:01.695: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_new_context_guid:exit@2190
    Nov 21 21:22:01.695: //50797/C6DA8CB3B86D/MSPI_ON/mspi_call_setup_request:
       Outgoing Peer Tag=3
       Envelope [email protected]
       Envelope [email protected]
       Mime Outer Type=2
    Nov 21 21:22:01.695: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_open:
       [email protected], [email protected]
    Nov 21 21:22:01.695: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_open:exit@1881
    Nov 21 21:22:01.695: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_add_headers:
       from_comment=2342342345
    Nov 21 21:22:01.695: //50795/C6DA8CB3B86D/VTSP:(1/0:23):1:1:1/vtsp_spi_event_handler:
       Event Category=1, Event=138
    Nov 21 21:22:01.695: //50797/C6DA8CB3B86D/CCAPI/ccIFCallSetupRequestPrivate:
       SPI Call Setup Request Is Success; Interface Type=19, FlowMode=1
    Nov 21 21:22:01.695: //50797/C6DA8CB3B86D/CCAPI/ccCallSetContext:
       Context=0x44047884
    Nov 21 21:22:01.695: //50797/C6DA8CB3B86D/FOIP_ON/lapp_on_setup_mspi:exit@791
    Nov 21 21:22:01.695: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_conference_fmsp_dmsp:
        Starting Conference with FMSP and DMSP
    Nov 21 21:22:01.695: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_conference_fmsp_dmsp:
       Tiff File Created; Time=2013:11:21 16:22:01
    Nov 21 21:22:01.699: //50798/C6DA8CB3B86D/DMSP/docmsp_call_setup_request:
       ramp data dir=ONRAMP, conf dir=DEST
    Nov 21 21:22:01.699: //50796/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
       (confID=0x440478F0, callID1=0xC66C, callID2=0xC66E, tag=0x0)
    Nov 21 21:22:01.699: //50796/C6DA8CB3B86D/CCAPI/ccConferenceCreate:
       Conference Id=0x440478F0, Call Id1=50796, Call Id2=50798, Tag=0x0
    Nov 21 21:22:01.699: //50796/xxxxxxxxxxxx/CCAPI/cc_api_bridge_done:
       Conference Id=0x8B2C, Source Interface=0x45F255A0, Source Call Id=50796,
       Destination Call Id=50798, Disposition=0x0, Tag=0x0
    Nov 21 21:22:01.699: //50796/C6DA8CB3B86D/CCAPI/cc_api_caps_ind:
       Destination Interface=0x45F2554C, Destination Call Id=50798, Source Call Id=50796,
       Caps(Codec=0x4, Fax Rate=0x2, Vad=0x2,
       Modem=0x0, Codec Bytes=20, Signal Type=2)
    Nov 21 21:22:01.699: //50796/C6DA8CB3B86D/CCAPI/cc_api_caps_ind:
       Caps(Playout Mode=1, Playout Initial=60(ms), Playout Min=40(ms),
       Playout Max=250(ms), Fax Nom=300(ms))
    Nov 21 21:22:01.699: //50798/C6DA8CB3B86D/DMSP/docmsp_caps_ind:
       CallId=50798, srcCallId=50796
    Nov 21 21:22:01.699: //50798/C6DA8CB3B86D/DMSP/docmsp_bridge:
       conf id=0x8B2C, srcCallId=50798, dstCallId=50796,
       ramp data dir=ONRAMP, conf dir=DEST, encode out=0
    Nov 21 21:22:01.699: //50798/xxxxxxxxxxxx/CCAPI/cc_api_bridge_done:
       Conference Id=0x8B2C, Source Interface=0x45F2554C, Source Call Id=50798,
       Destination Call Id=50796, Disposition=0x0, Tag=0x0
    Nov 21 21:22:01.699: //50796/C6DA8CB3B86D/CCAPI/cc_generic_bridge_done:
       Conference Id=0x8B2C, Source Interface=0x45F2554C, Source Call Id=50798,
       Destination Call Id=50796, Disposition=0x0, Tag=0x0
    Nov 21 21:22:01.699: //50798/C6DA8CB3B86D/DMSP/docmsp_bridge:
       Bridge done
    Nov 21 21:22:01.699: //50796/C6DA8CB3B86D/CCAPI/ccConferenceCreate:
       Call Entry(Conference Id=0x8B2C, Destination Call Id=50795)
    Nov 21 21:22:01.699: //50798/C6DA8CB3B86D/CCAPI/ccConferenceCreate:
       Call Entry(Conference Id=0x8B2C, Destination Call Id=50796)
    Nov 21 21:22:01.699: //50798/C6DA8CB3B86D/CCAPI/ccCallSetContext:
       Context=0x44047884
    Nov 21 21:22:01.699: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_change_state:
       Old State=LAPP_ON_CS_FMSP_CALL_DETAIL(2),
       New State=LAPP_ON_CS_FMSP_DMSP_CONFERENCING(3)
    Nov 21 21:22:01.699: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_msp_event:exit@2079
    Nov 21 21:22:01.699: //50796/C6DA8CB3B86D/FOIP_ON/lapp_on_application:
       Event(Tag=29, Name=CC_EV_CONF_CREATE_DONE, Disposition=0)
       Call Record(Call State=LAPP_ON_CS_FMSP_DMSP_CONFERENCING(3))
    Nov 21 21:22:01.699: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_validate_context:exit@984
    Nov 21 21:22:01.699: //50796/C6DA8CB3B86D/FOIP_ON/lapp_on_conference_created:
       FMSP and DMSP Are Conferenced
    Nov 21 21:22:01.699: //50796/C6DA8CB3B86D/FOIP_ON/lapp_on_conference_created:
       Sending RECEIVE ENABLE to FMSP
    Nov 21 21:22:01.699: //50796/C6DA8CB3B86D/CCAPI/ccDeliverEvent:
       Event Category=0, Call Id=50796
    Nov 21 21:22:01.699: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_change_state:
       Old State=LAPP_ON_CS_FMSP_DMSP_CONFERENCING(3),
       New State=LAPP_ON_CS_FMSP_PAGE_ACCEPT_REQUESTED(4)
    Nov 21 21:22:01.699: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       send CFR_PACKET
    Nov 21 21:22:01.703: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       fax2_configure_rx_data, STILL_LOOKING, T2 timer not expired
    Nov 21 21:22:01.703: //50796/C6DA8CB3B86D/CCAPI/cc_process_notify_bridge_done:
       Conference Id=0x8B2C, Call Id1=50796, Call Id2=50798
    Nov 21 21:22:01.847: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_work_routine:
       socket 0 readable for first time
    Nov 21 21:22:01.863: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_work_routine:
       socket 0 readable for first time
    Nov 21 21:22:01.863: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 220-svr02.company.com Simple Mail Transfer Service Ready
    Nov 21 21:22:01.863: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_work_routine:
       socket 0 readable for first time
    Nov 21 21:22:01.863: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 220 ESMTP spoken here.
    Nov 21 21:22:01.863: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: EHLO faxgateway.company.com
    Nov 21 21:22:01.863: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:01.875: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250-svr02.company.com
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250-CHUNKING
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250-DSN
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250-AUTH CRAM-MD5 LOGIN PLAIN
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250-AUTH=CRAM-MD5 LOGIN PLAIN
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250-X-DCL-SOURCE
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250-X-DCL-CALLID
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250-X-DCL-DSN
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250-X-DCL-REPLACE
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250-X-DCL-TRANSCRIPT
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250-X-DCL-SENT-ITEMS
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250-X-DCL-GHOST
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250-X-MSW-NOTIFY-SUPPRESS
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250-X-MSW-OP
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250 SIZE 0
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: MAIL FROM:<[email protected]>
    Nov 21 21:22:01.879: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:01.895: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250 OK
    Nov 21 21:22:01.895: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: RCPT TO:<[email protected]>
    Nov 21 21:22:01.895: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:01.911: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 250 OK
    Nov 21 21:22:01.911: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 354 Start mail input, end with <CRLF>.<CRLF>
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: Received:  by faxgateway.company.com for <[email protected]> (with Cisco NetWorks); Thu, 21 Nov 2013 16:22:01 -0500
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: To: "1231231234" <[email protected]>
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: Message-ID: <[email protected]>
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: Date: Thu, 21 Nov 2013 16:22:01 -0500
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: Subject: Fax
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: X-Mailer: Technical Support: http://www.cisco
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: MIME-Version: 1.0
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: Content-Type: multipart/fax-message;
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S:  boundary="yradnuoB=_7FCF2013162201695.faxgateway.company.com"
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: From: "2342342345" <[email protected]>
    Nov 21 21:22:01.927: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:01.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: X-Account-Id: 0
    Nov 21 21:22:01.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:02.695: //50797/C6DA8CB3B86D/MSPI_ON/mspi_check_connect:
       MMccb(Count=0)
    Nov 21 21:22:02.695: //50797/C6DA8CB3B86D/MSPI_ON/mspi_check_connect:
       SMTP Connected To The Server !
    Nov 21 21:22:02.695: //50797/C6DA8CB3B86D/CCAPI/cc_api_call_connected:
       Interface=0x453B5564, Data Bitmask=0x0, Progress Indication=NULL(0),
       Connection Handle=0
    Nov 21 21:22:02.695: //50797/C6DA8CB3B86D/CCAPI/cc_api_call_connected:
       Call Entry(Connected=TRUE, Responsed=TRUE, Retry Count=0)
    Nov 21 21:22:02.695: //50797/C6DA8CB3B86D/FOIP_ON/lapp_on_application:
       Event(Tag=8, Name=CC_EV_CALL_CONNECTED, Disposition=0)
       Call Record(Call State=LAPP_ON_CS_FMSP_PAGE_ACCEPT_REQUESTED(4))
    Nov 21 21:22:02.695: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_validate_context:exit@984
    Nov 21 21:22:02.695: //50797/C6DA8CB3B86D/FOIP_ON/lapp_on_call_connected:
       MSPI call connected:
       Start Conferencing DMSP and MSPI
    Nov 21 21:22:02.695: //50798/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
       (confID=0x440478F4, callID1=0xC66E, callID2=0xC66D, tag=0x0)
    Nov 21 21:22:02.695: //50798/C6DA8CB3B86D/CCAPI/ccConferenceCreate:
       Conference Id=0x440478F4, Call Id1=50798, Call Id2=50797, Tag=0x0
    Nov 21 21:22:02.695: //50798/C6DA8CB3B86D/DMSP/docmsp_bridge:
       conf id=0x8B2D, srcCallId=50798, dstCallId=50797,
       ramp data dir=ONRAMP, conf dir=SRC, encode out=0
    Nov 21 21:22:02.695: //50798/xxxxxxxxxxxx/CCAPI/cc_api_bridge_done:
       Conference Id=0x8B2D, Source Interface=0x45F2554C, Source Call Id=50798,
       Destination Call Id=50797, Disposition=0x0, Tag=0x0
    Nov 21 21:22:02.695: //50798/C6DA8CB3B86D/DMSP/docmsp_bridge:
       Bridge done
    Nov 21 21:22:02.695: //50797/C6DA8CB3B86D/MSPI/mspi_bridge:
       MMccb(State=CONNECTED, Type=Onramp), Destination Call Id=50798
    Nov 21 21:22:02.695: //50797/xxxxxxxxxxxx/CCAPI/cc_api_bridge_done:
       Conference Id=0x8B2D, Source Interface=0x453B5564, Source Call Id=50797,
       Destination Call Id=50798, Disposition=0x0, Tag=0x0
    Nov 21 21:22:02.695: //50798/C6DA8CB3B86D/CCAPI/cc_generic_bridge_done:
       Conference Id=0x8B2D, Source Interface=0x453B5564, Source Call Id=50797,
       Destination Call Id=50798, Disposition=0x0, Tag=0x0
    Nov 21 21:22:02.695: //50798/C6DA8CB3B86D/CCAPI/ccConferenceCreate:
       Call Entry(Conference Id=0x8B2D, Destination Call Id=50796)
    Nov 21 21:22:02.695: //50797/C6DA8CB3B86D/CCAPI/ccConferenceCreate:
       Call Entry(Conference Id=0x8B2D, Destination Call Id=50795)
    Nov 21 21:22:02.695: //50797/C6DA8CB3B86D/CCAPI/ccCallSetContext:
       Context=0x44047884
    Nov 21 21:22:02.695: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_call_connected:exit@2508
    Nov 21 21:22:02.695: //50798/C6DA8CB3B86D/FOIP_ON/lapp_on_application:
       Event(Tag=29, Name=CC_EV_CONF_CREATE_DONE, Disposition=0)
       Call Record(Call State=LAPP_ON_CS_FMSP_PAGE_ACCEPT_REQUESTED(4))
    Nov 21 21:22:02.695: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_validate_context:exit@984
    Nov 21 21:22:02.699: //50798/C6DA8CB3B86D/CCAPI/cc_process_notify_bridge_done:
       Conference Id=0x8B2D, Call Id1=50798, Call Id2=50797
    Nov 21 21:22:06.487: //50796/C6DA8CB3B86D/FMSP/t30_rx_flag:
       received flag of modulation: 0
    Nov 21 21:22:06.487: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       fax2_configure_rx_data, DETECTED_COMMAND
    Nov 21 21:22:06.487: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       fax2_command_receive, NO_COMMAND, T2 timer not expired
    Nov 21 21:22:12.275: //50796/C6DA8CB3B86D/FMSP/t30_rx_flag:
       received flag of modulation: 0
    Nov 21 21:22:13.207: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       fax2_command_receive, PROCESSING
    Nov 21 21:22:13.267: //50796/C6DA8CB3B86D/FMSP/fax2_command_receive:
       msg dump (size=3):
       FF C8 F4
    Nov 21 21:22:13.267: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       fax2_command_receive, PROCESSING
    Nov 21 21:22:13.287: //50796/C6DA8CB3B86D/FMSP/fax2_phaseB_receive:
       fax2_command_receive, RECEIVED_COMMAND
    Nov 21 21:22:13.287: //50796/C6DA8CB3B86D/FMSP/fax2_phaseD_receive:
       received EOP
    Nov 21 21:22:13.287: //50798/C6DA8CB3B86D/DMSP/docmsp_xmit:
       srcCallId=50796, dstCallId=50798, direction=0
    Nov 21 21:22:13.287: //50796/C6DA8CB3B86D/FMSP/fax2_phaseD_receive:
       waiting for page acceptance by the application
    Nov 21 21:22:13.287: //50797/C6DA8CB3B86D/MSPI_ON/mspi_xmit:
       MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=0),
       Source Call Id=50798
    Nov 21 21:22:13.287: //50797/C6DA8CB3B86D/MSPI_ON/mspi_onramp_xmit:
       EOD Received
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: --yradnuoB=_7FCF2013162201695.faxgateway.company.com
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: Content-ID: <[email protected]>
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: Content-Type: image/tiff; name="Cisco_fax.tif"; application=faxbw
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: Content-Disposition: attachment
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: Content-Transfer-Encoding: base64
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_send_data_cisco:exit@849
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: --yradnuoB=_7FCF2013162201695.faxgateway.company.com--
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_work_routine:
       Sending terminating dot ...(socket=0)
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_writeln:
       (C)S: .
    Nov 21 21:22:13.931: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_write:
       return code=0
    Nov 21 21:22:13.959: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_getln:
       (C)R: 550 Fax message contains 0 pages
    Nov 21 21:22:13.959: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_work_routine:
       error in SMTP server's response to terminating "."
    Nov 21 21:22:13.959: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_work_routine:
       ERROR, socket=0
    Nov 21 21:22:13.959: //-1/C6DA8CB3B86D/SMTPC/esmtp_client_engine_work_routine:
       Finishing, socket=-1, bytes send=1091
    Nov 21 21:22:13.959: //50797/C6DA8CB3B86D/MSPI_ON/mspi_onramp_buff_finished_callback:
       MMccb(Call State=CONFERENCED, Buffer Count=1)
    Nov 21 21:22:13.959: //50797/C6DA8CB3B86D/MSPI_ON/mspi_onramp_buff_finished_callback:
       EOD Received; Status=1
    Nov 21 21:22:13.959: //50797/C6DA8CB3B86D/MSPI_ON/mspi_onramp_buff_finished_callback:
       Message [email protected]
    Nov 21 21:22:13.959: //50797/C6DA8CB3B86D/MSPI_ON/mspi_onramp_buff_finished_callback:
       Status=1
    Nov 21 21:22:13.959: //50797/C6DA8CB3B86D/MSPI/mspi_set_disconnect_text:
       MMccb(Disconnect Cause=network out of order (38): SMTP client engine not completed)
    Nov 21 21:22:13.959: //50797/C6DA8CB3B86D/CCAPI/cc_api_call_disconnected:
       Cause Value=38, Interface=0x453B5564, Call Id=50797
    Nov 21 21:22:13.959: //50797/C6DA8CB3B86D/CCAPI/cc_api_call_disconnected:
       Call Entry(Responsed=TRUE, Cause Value=38, Retry Count=0)
    Nov 21 21:22:13.959: //50797/C6DA8CB3B86D/FOIP_ON/lapp_on_application:
       Event(Tag=11, Name=CC_EV_CALL_DISCONNECTED, Disposition=0)
       Call Record(Call State=LAPP_ON_CS_FMSP_PAGE_ACCEPT_REQUESTED(4))
    Nov 21 21:22:13.963: //50795/C6DA8CB3B86D/FOIP_ON/lapp_on_validate_context:exit@984

    Still not solved.  Cisco support suggested adding the config command 'mta send success-fax-only' which is supposed to prevent sending empty emails or partial faxes, however there's a bug that means that has no effect IOS 12.4.  We're looking at upgrading to 15.1(4)M8 which has the fix, but that will take some time.
    Your problem sounds slightly different.  See if you can get a network capture of the SMTP conversation with the target mailserver, to see if something's going wrong there.

  • Fax attachment will not send in B1

    Hi, I am having problems sending Fax attachments in B1. When I send faxes with attachments it will not send the attachment to my Microsoft Fax Printer. I end up getting the red ' X ' mark in my sent messages window in B1. However, am able to send faxes without attachments. I can also send emails with attachments in B1. But Faxes with attachments just doesn't seem to work.
    I did the following to no avail.
    SBO MAILER:
    - Schedule (Interval set to 0 Minutes to send right away)
    - Settings ( Microsoft Fax Server is directed to the correct name Fax Server with MS fax. I also tried the IP address)
    - Connection ( Has all the correct and proper information)
    - Database (Pointed to all relevant databases)
    - 'Services' in Windows  (SBO messaging services) is up and running.
    -logged into windows with administrator rights
    -defined attachments in B1 in testing various directories both (local and server locations)
    - I have also installed and tested with adobe reader versions (4, 7, and 8) and still nothing
    I checked my Event Viewer --> Applications in Windows and I receive an SBOmailer error every time I send an fax with an attachment in B1. Under descriptions: It gives me the error "Operation failed."
    Please help,
    - Josh

    Hi,
    I had the same problem but not in the fax service but in the mailer. My problem was a network issue in the outgoing server configuration and the privileges of all users in the B1_SHR folder.
    I hope this helps
    Att Rosa

  • My HP Officejet 8500a All-In-One forwards faxes (as a tiff file) to my iphone.  Can only view/receive 1st page, embedded into email as a non-attachment.  Iphone receives email(s) pdf attachments well.  What can I do?

    My HP Officejet 8500a All-In-One forwards faxes (as a tiff file) to my iphone.  Can only view/receive 1st page, embedded into email as a non-attachment.  Iphone receives email(s) pdf attachments well.  What can I do?

    Try this app
    http://itunes.apple.com/us/app/fax-reader/id406902152?mt=8

  • Sending FAX with attachments using in RightFax

    Hi,
    We are in CRM 7. and sending Fax using  RightFax - Rightfax through SMTP/SAP Connect configured.
    In case the outgoing Email in format html – attachment not sending through RightFax
    (Mail document class is MHT)
    I can see the mail with the attachment in SOST
    In case the outgoing Email in format text – attachment sent correcty.
    )Mail document class is RAW)
    It’s probably related to mail document class,
    But I didn’t  figure it out.
    Thanks,
    Liat

    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

  • I think the last update did not work, and now I cannot open jpeg attachments with windows picture and fax viewer, it is not listed in the tools/options drop dow

    I don't believe the last Thunderbird update worked, there was a very fast error message. But since then I cannot open jpeg attachments in Windows Picture and Fax Viewer. If I go to Tools, then options, the jpeg line is grayed out, and the drop down menu does not show Windows Picture and Fax Viewer. The windows picture and fax viewer still works on my computer, but not for opening attachments.

    I did as you said - deleted the entry for jpeg, but when I tried to open one there is not an option for Picture and Fax Viewer in the drop down, and it can't be found by browsing. It's just not there anywhere even though I can see pics in it except in email attachments.

  • Fax message to email attachments

    Can any one help me how fax message will add as a attachment to email.can any one plz help.by sending some sample example.
    Regards
    Sivaram

    Hi Sivaram,
    Have you tried efax services? It's much more easier (for me) coz fax messages can be receive through email as attachments. But there's a catch, it will cost you.
    Right now I'm using Smartfax. Its a bit cheaper and its really a good deal for people who has small business, like me.
    Cheers,
    Jen

  • Fax PO attachments along with general header data using smartforms

    Hi all,
    I have a requirement which is as follows in ECC 6 system.
    When the purchase order is sent to the vendor through fax, it should also include the attchemnts that are in the Purchase order along with the general header data for the purchase order.
    Thanks and Regards,
    Sireesha

    Hi Mick,
    Your thread seems to be linked to this one which is in process.
    In FAX & Print of PO attachment not coming
    Kind regards,
    Yann

  • How to send BI Publisher reports as email attachments from Apex

    Hi there,
    Before I start working on this new endeavor, I would like to check if it is even possible...
    Here we have Apex 4.0.2 and Oracle BI Publisher Enterprise 10.1.3. We use the Apex integration with BI Publisher to generate PDF reports.
    Now there is a requirement that those reports should be optionally sent by email as attachments (ideally from Apex itself or from a database procedure in the Apex application schema.)
    I am not sure how to do it, as such reports are generated by calls to URLs like this:
    http://server/apex/f?p=123:0:3370070991917144:PRINT_REPORT=reportname:NO::PARAM1:123 => opens a PDF in the browser window
    Is it possible to be done? If so, how?
    Thanks
    Luis

    hello,
    there is no native support for directly faxing a report. you could e.g. use a fax-software that has a printer-driver that supports this.
    regards,
    the oracle reports team

  • Mail is corrupting PDF attachments

    about 25% of the PDF files I receive as attachments show as an icon in the top part of the msg, but also show as unreadable hex "text" in the bottom part of the msg.
    If I click on the PDF ICON in Mail.app, it opens fine in PREVIEW.APP
    IF I forward any mail with this sort of PDF Attachment (showing as "text" at the bottom) to a windows user, they can NOT open the file... Adobe Acrobat Reader says the file is corrupt.
    A corollary is - a LOT of the PDF files I receive from an e-fax service as PDF files show as CORRUPT on the Mac, but open FINE on Windows (Adobe Acrobat Reader).. saying the file is not "correctly encoded"
    This is a SERIOUS PROBLEM... If I can't get mail to reliably open and forward PDF files to Windows users, I have no choice but to give up on Mail.app and use Windows...
    I have to deal with way too many PDF files as attachments to worry that every one I send may be corrupt to some windows user.
    IF apple would give us a way to submit one of these files, I would gladly do so... but apparently from MAIL.APP they do not!
    Any ideas?

    Keith,
    I saw your other post.
    With problem Forwarding, try this again, but before sending, click on Format in the Menubar, and choose Make Plain Text. Then let me know what happens.
    I do not you have a transmission problem. The problem in the other topic, with Walter, is still under review, but has been traced to only be with that one IMAP server, and regardless of which network you are connected to.
    The text at the bottom may be a clue that that Rich Text is being converted to HTML at some point, and the HTML has compromised the content of the PDF.
    Feel free to send me an example, by email. My address can be found by clicking on my name.
    Ernie

  • Fax error event ID 62

    We have a server and test Fax function from B1, where we are getting this exact error in Event Viewer:
    The description for Event ID 62 from source SBOMail cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    Error 0 in CMSFaxMsg::Send: The object identifier does not represent a valid object.: "No error"
    The specified resource type cannot be found in the image file
    The SAP Messaging service is set to run as the administrator.
    I've tried network attachments and local attachments, and folders set to Everyone read/Write.
    I've tried Txt and PDF files.
    And I'm running SBO 2007 SP01 PL09.
    If i try to send a fax without an attachment, there is no problem. But if i try to send an attachment, its error 62, and the fax never even shows up in the MS FAX outbox...
    I tested to send mail with or without attachment, there is no problem.

    You may check these first:
    Fax Problem
    Re: SBO Mailer
    Thanks,
    Gordon

  • Sorting of PO Line Attachments in PO Output for Communication

    Hi,
    I have created a RTF template to generate PDF output of the "PO Output for Communication" program. The Short text and Long Text attachments of PO Line are appearing correctly but not in the same sequence as user has entered in the Purchase Order.
    Example:
    PO# - 4444
    Po Line Attachments entered by user and this is the expected output as well:
    Seq 10: Short Text1
    Seq 20: Long Text1
    Seq 30: Short Text2
    Seq 40: Long Text2
    Present Report Output:
    PO# - 4444
    PO Line Attachments:
    Short Text1
    Short Text2
    Long Text1
    Long Text2
    Actually the Short Text and Long Text attachments are generated as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <PO_DATA>
    <TYPE_LOOKUP_CODE>STANDARD</TYPE_LOOKUP_CODE>
    <SEGMENT1>24687</SEGMENT1>
    <REVISION_NUM>0</REVISION_NUM>
    <PRINT_COUNT>3</PRINT_COUNT>
    <CREATION_DATE>29-APR-2009 14:28:52</CREATION_DATE>
    <NOTE_TO_VENDOR>this is a test po to supplier in terms window</NOTE_TO_VENDOR>
    <DOCUMENT_BUYER_FIRST_NAME>Sanjay</DOCUMENT_BUYER_FIRST_NAME>
    <DOCUMENT_BUYER_LAST_NAME>Kumar</DOCUMENT_BUYER_LAST_NAME>
    <DOCUMENT_BUYER_AGENT_ID>8756</DOCUMENT_BUYER_AGENT_ID>
    <CANCEL_FLAG>N</CANCEL_FLAG>
    <CONFIRMING_ORDER_FLAG>N</CONFIRMING_ORDER_FLAG>
    <ACCEPTANCE_REQUIRED_FLAG>N</ACCEPTANCE_REQUIRED_FLAG>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <CURRENCY_NAME>US dollar</CURRENCY_NAME>
    <PAYMENT_TERMS>NET 30</PAYMENT_TERMS>
    <CUSTOMER_NUM>1244</CUSTOMER_NUM>
    <VENDOR_NUM>RR10</VENDOR_NUM>
    <VENDOR_NAME>OFFICE DEPOT</VENDOR_NAME>
    <VENDOR_ADDRESS_LINE1>PO BOX 31533</VENDOR_ADDRESS_LINE1>
    <VENDOR_CITY>HARTFORD</VENDOR_CITY>
    <VENDOR_STATE>CT</VENDOR_STATE>
    <VENDOR_POSTAL_CODE>06150-1533</VENDOR_POSTAL_CODE>
    <SHIP_TO_LOCATION_ID>88</SHIP_TO_LOCATION_ID>
    <SHIP_TO_LOCATION_NAME>US CORPORATE HDQTRS</SHIP_TO_LOCATION_NAME>
    <SHIP_TO_ADDRESS_LINE1>123 JFK RD</SHIP_TO_ADDRESS_LINE1>
    <SHIP_TO_ADDRESS_INFO>Broadway, WA 02421</SHIP_TO_ADDRESS_INFO>
    <SHIP_TO_COUNTRY>United States</SHIP_TO_COUNTRY>
    <BILL_TO_LOCATION_ID>88</BILL_TO_LOCATION_ID>
    <BILL_TO_LOCATION_NAME>US CORPORATE HDQTRS</BILL_TO_LOCATION_NAME>
    <BILL_TO_ADDRESS_LINE1>123 JFK RD</BILL_TO_ADDRESS_LINE1>
    <BILL_TO_ADDRESS_INFO>Broadway, WA 02421</BILL_TO_ADDRESS_INFO>
    <BILL_TO_COUNTRY>United States</BILL_TO_COUNTRY>
    <ATTRIBUTE1>MA</ATTRIBUTE1>
    <VENDOR_SITE_ID>9983</VENDOR_SITE_ID>
    <PO_HEADER_ID>27162</PO_HEADER_ID>
    <APPROVED_FLAG>N</APPROVED_FLAG>
    <VENDOR_ID>826</VENDOR_ID>
    <ORG_ID>29</ORG_ID>
    <COMMENTS>Test PO to test template</COMMENTS>
    <FIRM_STATUS_LOOKUP_CODE>N</FIRM_STATUS_LOOKUP_CODE>
    <FROZEN_FLAG>N</FROZEN_FLAG>
    <CREATED_BY>3349</CREATED_BY>
    <TERMS_ID>10001</TERMS_ID>
    <RATE_DATE>29-APR-2009 00:00:00</RATE_DATE>
    <AUTHORIZATION_STATUS>N</AUTHORIZATION_STATUS>
    <NOTE_TO_RECEIVER>this is a test po to receiver in terms window</NOTE_TO_RECEIVER>
    <LAST_UPDATE_DATE>29-APR-2009 14:30:52</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>3349</LAST_UPDATED_BY>
    <SUMMARY_FLAG>N</SUMMARY_FLAG>
    <ENABLED_FLAG>Y</ENABLED_FLAG>
    <LAST_UPDATE_LOGIN>1250381</LAST_UPDATE_LOGIN>
    <SUPPLY_AGREEMENT_FLAG>N</SUPPLY_AGREEMENT_FLAG>
    <PENDING_SIGNATURE_FLAG>N</PENDING_SIGNATURE_FLAG>
    <OU_NAME>ABC LTD</OU_NAME>
    <OU_ADDR1>123 JFK RD</OU_ADDR1>
    <OU_TOWN_CITY>Broadway</OU_TOWN_CITY>
    <OU_REGION2>WA</OU_REGION2>
    <OU_POSTALCODE>44421</OU_POSTALCODE>
    <OU_COUNTRY>United States</OU_COUNTRY>
    <BUYER_ADDRESS_LINE1>123 JFK RD</BUYER_ADDRESS_LINE1>
    <BUYER_CITY_STATE_ZIP>Broadway, WA 44421</BUYER_CITY_STATE_ZIP>
    <BUYER_CONTACT_PHONE>322-445-4533</BUYER_CONTACT_PHONE>
    <TOTAL_AMOUNT>6,000.00</TOTAL_AMOUNT>
    <BUYER_COUNTRY>United States</BUYER_COUNTRY>
    <DOCUMENT_CREATION_METHOD>ENTER_PO</DOCUMENT_CREATION_METHOD>
    <DOCUMENT_TYPE>Standard Purchase Order</DOCUMENT_TYPE>
    <COVER_MESSAGE>This document has important legal consequences. </COVER_MESSAGE>
    <AMMENDMENT_MESSAGE>This document has important legal consequences.
    </AMMENDMENT_MESSAGE>
    <TEST_FLAG>D</TEST_FLAG>
    <DIST_SHIPMENT_COUNT>1</DIST_SHIPMENT_COUNT>
    <DOCUMENT_NAME>Standard Purchase Order 24687, 0</DOCUMENT_NAME>
    <SIGNED>F</SIGNED>
    <AMENDMENT_PROFILE>Y</AMENDMENT_PROFILE>
    <WITH_TERMS>N</WITH_TERMS>
    <IS_ATTACHED_DOC>Y</IS_ATTACHED_DOC>
    <MESSAGE>
    <MESSAGE_ROW>
    <MESSAGE>PO_FO_AGREEMENT_CANCELED</MESSAGE>
    <TEXT>This agreement CANCELED on</TEXT>
    </MESSAGE_ROW>
    <MESSAGE_ROW>
    <MESSAGE>PO_WF_NOTIF_VENDOR_NO</MESSAGE>
    <TEXT>Supplier No.</TEXT>
    </MESSAGE_ROW>
    </MESSAGE>
    <HEADER_SHORT_TEXT>
    </HEADER_SHORT_TEXT>
    <LINES>
    <LINES_ROW>
    <LINE_NUM>1</LINE_NUM>
    <ITEM_DESCRIPTION>test po</ITEM_DESCRIPTION>
    <CANCEL_FLAG>N</CANCEL_FLAG>
    <NOTE_TO_VENDOR>This is a test PO. do not ship.</NOTE_TO_VENDOR>
    <UNIT_MEAS_LOOKUP_CODE>Unit</UNIT_MEAS_LOOKUP_CODE>
    <ORDER_TYPE_LOOKUP_CODE>QUANTITY</ORDER_TYPE_LOOKUP_CODE>
    <ATTRIBUTE1>N</ATTRIBUTE1>
    <UNIT_PRICE>5000</UNIT_PRICE>
    <QUANTITY>1</QUANTITY>
    <PO_HEADER_ID>27162</PO_HEADER_ID>
    <PO_LINE_ID>53995</PO_LINE_ID>
    <ORG_ID>29</ORG_ID>
    <UNORDERED_FLAG>N</UNORDERED_FLAG>
    <CLOSED_FLAG>N</CLOSED_FLAG>
    <TAXABLE_FLAG>N</TAXABLE_FLAG>
    <CAPITAL_EXPENSE_FLAG>N</CAPITAL_EXPENSE_FLAG>
    <NEGOTIATED_BY_PREPARER_FLAG>N</NEGOTIATED_BY_PREPARER_FLAG>
    <LAST_UPDATE_DATE>29-APR-2009 14:29:36</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>3349</LAST_UPDATED_BY>
    <LINE_TYPE_ID>1000</LINE_TYPE_ID>
    <LAST_UPDATE_LOGIN>1250381</LAST_UPDATE_LOGIN>
    <CREATION_DATE>29-APR-2009 14:28:52</CREATION_DATE>
    <CREATED_BY>3349</CREATED_BY>
    <CATEGORY_ID>224</CATEGORY_ID>
    <ALLOW_PRICE_OVERRIDE_FLAG>N</ALLOW_PRICE_OVERRIDE_FLAG>
    <LIST_PRICE_PER_UNIT>5000</LIST_PRICE_PER_UNIT>
    <LINE_TYPE>QUANTITY</LINE_TYPE>
    <PURCHASE_BASIS>GOODS</PURCHASE_BASIS>
    <LINE_AMOUNT>5,000.00</LINE_AMOUNT>
    <MANUAL_PRICE_CHANGE_FLAG>N</MANUAL_PRICE_CHANGE_FLAG>
    <MATCHING_BASIS>QUANTITY</MATCHING_BASIS>
    <PRICE_DIFF>
    </PRICE_DIFF>
    *<LINE_SHORT_TEXT>*
    *<LINE_SHORT_TEXT_ROW>*
    *<PO_LINE_ID>53995</PO_LINE_ID>*
    *<SHORT_TEXT>Short Text1</SHORT_TEXT>*
    *</LINE_SHORT_TEXT_ROW>*
    *<LINE_SHORT_TEXT_ROW>*
    *<PO_LINE_ID>53995</PO_LINE_ID>*
    *<SHORT_TEXT>Short Text2</SHORT_TEXT>*
    *</LINE_SHORT_TEXT_ROW>*
    *</LINE_SHORT_TEXT>*
    <LINE_LOCATIONS>
    <LINE_LOCATIONS_ROW>
    <SHIPMENT_NUM>1</SHIPMENT_NUM>
    <DUE_DATE>15-MAY-2009 00:00:00</DUE_DATE>
    <QUANTITY>1</QUANTITY>
    <PRICE_OVERRIDE>5000</PRICE_OVERRIDE>
    <QUANTITY_CANCELLED>0</QUANTITY_CANCELLED>
    <CANCEL_FLAG>N</CANCEL_FLAG>
    <TAXABLE_FLAG>N</TAXABLE_FLAG>
    <PO_HEADER_ID>27162</PO_HEADER_ID>
    <PO_LINE_ID>53995</PO_LINE_ID>
    <LINE_LOCATION_ID>53678</LINE_LOCATION_ID>
    <SHIPMENT_TYPE>STANDARD</SHIPMENT_TYPE>
    <RECEIVING_ROUTING_ID>3</RECEIVING_ROUTING_ID>
    <ACCRUE_ON_RECEIPT_FLAG>N</ACCRUE_ON_RECEIPT_FLAG>
    <ORG_ID>29</ORG_ID>
    <RECEIPT_REQUIRED_FLAG>N</RECEIPT_REQUIRED_FLAG>
    <QTY_RCV_TOLERANCE>10</QTY_RCV_TOLERANCE>
    <QTY_RCV_EXCEPTION_CODE>WARNING</QTY_RCV_EXCEPTION_CODE>
    <ENFORCE_SHIP_TO_LOCATION_CODE>NONE</ENFORCE_SHIP_TO_LOCATION_CODE>
    <ALLOW_SUBSTITUTE_RECEIPTS_FLAG>N</ALLOW_SUBSTITUTE_RECEIPTS_FLAG>
    <DAYS_EARLY_RECEIPT_ALLOWED>5</DAYS_EARLY_RECEIPT_ALLOWED>
    <DAYS_LATE_RECEIPT_ALLOWED>5</DAYS_LATE_RECEIPT_ALLOWED>
    <RECEIPT_DAYS_EXCEPTION_CODE>WARNING</RECEIPT_DAYS_EXCEPTION_CODE>
    <INVOICE_CLOSE_TOLERANCE>2</INVOICE_CLOSE_TOLERANCE>
    <RECEIVE_CLOSE_TOLERANCE>100</RECEIVE_CLOSE_TOLERANCE>
    <SHIP_TO_ORGANIZATION_ID>208</SHIP_TO_ORGANIZATION_ID>
    <CLOSED_CODE>OPEN</CLOSED_CODE>
    <LAST_ACCEPT_DATE>09-MAY-2009 00:00:00</LAST_ACCEPT_DATE>
    <ENCUMBERED_FLAG>N</ENCUMBERED_FLAG>
    <FIRM_STATUS_LOOKUP_CODE>N</FIRM_STATUS_LOOKUP_CODE>
    <LAST_UPDATE_DATE>29-APR-2009 14:31:31</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>3349</LAST_UPDATED_BY>
    <LAST_UPDATE_LOGIN>1250381</LAST_UPDATE_LOGIN>
    <CREATION_DATE>29-APR-2009 14:28:53</CREATION_DATE>
    <CREATED_BY>3349</CREATED_BY>
    <QUANTITY_RECEIVED>0</QUANTITY_RECEIVED>
    <QUANTITY_ACCEPTED>0</QUANTITY_ACCEPTED>
    <QUANTITY_REJECTED>0</QUANTITY_REJECTED>
    <QUANTITY_BILLED>0</QUANTITY_BILLED>
    <UNIT_MEAS_LOOKUP_CODE>Unit</UNIT_MEAS_LOOKUP_CODE>
    <TAX_USER_OVERRIDE_FLAG>N</TAX_USER_OVERRIDE_FLAG>
    <MATCH_OPTION>P</MATCH_OPTION>
    <CALCULATE_TAX_FLAG>Y</CALCULATE_TAX_FLAG>
    <NOTE_TO_RECEIVER>this is a note in shipments receiver</NOTE_TO_RECEIVER>
    <AMOUNT>5,000.00</AMOUNT>
    <SHIP_TO_LOCATION_ID>88</SHIP_TO_LOCATION_ID>
    <SHIP_TO_LOCATION_NAME>US CORPORATE HDQTRS</SHIP_TO_LOCATION_NAME>
    <SHIP_TO_ADDRESS_LINE1>123 JFK RD</SHIP_TO_ADDRESS_LINE1>
    <SHIP_TO_ADDRESS_INFO>Broadway, WA 02421</SHIP_TO_ADDRESS_INFO>
    <SHIP_TO_COUNTRY>United States</SHIP_TO_COUNTRY>
    <NEED_BY_DATE>15-MAY-2009 00:00:00</NEED_BY_DATE>
    <PROMISED_DATE>04-MAY-2009 00:00:00</PROMISED_DATE>
    <LINE_LOC_SHORT_TEXT>
    </LINE_LOC_SHORT_TEXT>
    <DISTRIBUTIONS>
    <DISTRIBUTIONS_ROW>
    <DISTRIBUTION_TYPE>STANDARD</DISTRIBUTION_TYPE>
    <ACCRUE_ON_RECEIPT_FLAG>N</ACCRUE_ON_RECEIPT_FLAG>
    <ORG_ID>29</ORG_ID>
    <DESTINATION_TYPE_CODE>EXPENSE</DESTINATION_TYPE_CODE>
    <DESTINATION_ORGANIZATION_ID>208</DESTINATION_ORGANIZATION_ID>
    <ACCRUAL_ACCOUNT_ID>1037</ACCRUAL_ACCOUNT_ID>
    <VARIANCE_ACCOUNT_ID>22148</VARIANCE_ACCOUNT_ID>
    <PREVENT_ENCUMBRANCE_FLAG>N</PREVENT_ENCUMBRANCE_FLAG>
    <PO_DISTRIBUTION_ID>55228</PO_DISTRIBUTION_ID>
    <LAST_UPDATE_DATE>29-APR-2009 14:32:23</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>3349</LAST_UPDATED_BY>
    <PO_HEADER_ID>27162</PO_HEADER_ID>
    <PO_LINE_ID>53995</PO_LINE_ID>
    <LINE_LOCATION_ID>53678</LINE_LOCATION_ID>
    <SET_OF_BOOKS_ID>25</SET_OF_BOOKS_ID>
    <CODE_COMBINATION_ID>22148</CODE_COMBINATION_ID>
    <QUANTITY_ORDERED>1</QUANTITY_ORDERED>
    <LAST_UPDATE_LOGIN>1250381</LAST_UPDATE_LOGIN>
    <CREATION_DATE>29-APR-2009 14:28:54</CREATION_DATE>
    <CREATED_BY>3349</CREATED_BY>
    <QUANTITY_DELIVERED>0</QUANTITY_DELIVERED>
    <QUANTITY_BILLED>0</QUANTITY_BILLED>
    <QUANTITY_CANCELLED>0</QUANTITY_CANCELLED>
    <DELIVER_TO_LOCATION_ID>89</DELIVER_TO_LOCATION_ID>
    <DELIVER_TO_PERSON_ID>5324</DELIVER_TO_PERSON_ID>
    <RATE_DATE>29-APR-2009 00:00:00</RATE_DATE>
    <ENCUMBERED_FLAG>N</ENCUMBERED_FLAG>
    <RECOVERY_RATE>0.00</RECOVERY_RATE>
    <TAX_RECOVERY_OVERRIDE_FLAG>N</TAX_RECOVERY_OVERRIDE_FLAG>
    <DESTINATION_CONTEXT>EXPENSE</DESTINATION_CONTEXT>
    <DISTRIBUTION_NUM>1</DISTRIBUTION_NUM>
    <CHARGE_ACCOUNT>05-3002-7050-000-000</CHARGE_ACCOUNT>
    <FULL_NAME>Devine, Alison</FULL_NAME>
    <EMAIL_ADDRESS>[email protected]</EMAIL_ADDRESS>
    <REQUESTER_DELIVER_FIRST_NAME>Karen</REQUESTER_DELIVER_FIRST_NAME>
    <REQUESTER_DELIVER_LAST_NAME>MA</REQUESTER_DELIVER_LAST_NAME>
    </DISTRIBUTIONS_ROW>
    </DISTRIBUTIONS>
    </LINE_LOCATIONS_ROW>
    </LINE_LOCATIONS>
    </LINES_ROW>
    </LINES>
    *<LINE_ATTACHMENTS>*
    *<TEXT>Long Text1</TEXT>*
    *<ID>53995</ID>*
    *<TEXT>Long Text2</TEXT>*
    *<ID>53995</ID>*
    *</LINE_ATTACHMENTS>*
    <ADDRESS_DETAILS>
    <ADDRESS_DETAILS_ROW>
    <LOCATION_ID>88</LOCATION_ID>
    <ADDRESS_STYLE>US_GLB</ADDRESS_STYLE>
    <ADDR_LABEL_1>Address Line1</ADDR_LABEL_1>
    <ADDR_LABEL_2>Address Line2</ADDR_LABEL_2>
    <ADDR_LABEL_3>Address Line3</ADDR_LABEL_3>
    <ADDR_LABEL_4>City</ADDR_LABEL_4>
    <ADDR_LABEL_5>County</ADDR_LABEL_5>
    <ADDR_LABEL_6>State</ADDR_LABEL_6>
    <ADDR_LABEL_7>Zip Code</ADDR_LABEL_7>
    <ADDR_LABEL_8>Country</ADDR_LABEL_8>
    <ADDR_LABEL_9>Telephone</ADDR_LABEL_9>
    <ADDR_LABEL_10>Fax</ADDR_LABEL_10>
    <ADDR_LABEL_11>Sales Tax Override</ADDR_LABEL_11>
    <ADDR_LABEL_12>Inside City Limits</ADDR_LABEL_12>
    <ADDR_DATA_1>123 JFK RD</ADDR_DATA_1>
    <ADDR_DATA_4>Broadway</ADDR_DATA_4>
    <ADDR_DATA_6>WA</ADDR_DATA_6>
    <ADDR_DATA_7>33444</ADDR_DATA_7>
    <ADDR_DATA_8>US</ADDR_DATA_8>
    <ADDR_DATA_9>322-588-4534</ADDR_DATA_9>
    </ADDRESS_DETAILS_ROW>
    </ADDRESS_DETAILS>
    </PO_DATA>
    Can you please advice whether we can have the attachments as user entered in the Purchase Order.
    Thanks for your help.
    Pranit.

    See...
    http://blogs.oracle.com/xmlpublisher/2008/07/po_line_description_quandary.html

  • Sending a message to fax using JavaMail

    Hello all,
    we are trying to create a system to send messages. The input will come from an Oracle 9i (9.0.2) database, our goal is to create email messages which can either be delivered to an email address or to a fax number.
    The systems works if all addresses are regular email adresses, but we get the following message when using a fax number :javax.mail.internet.AddressException: Illegal route-addr in string ``fax:[email protected]''
    I have already change the parse-method to parseHeader with the parseOption false, so that the addresses are not controlled against the standard. I expect the ':' (colon) in fax:012345678 is the cause of our problem, replacing it with a random character returns a 'normal' error message for a non-existing address.
    I have included the log message with the exception, the sourcecode of our SendMailTest and the source of SendMail.
    Is there any work around to this colon, so we can send faxes as well as emails.
    Kind regards,
    Nemata
    log message----------------------------------------------------
    C:\ProgramFiles\jdevstudio1013\jdk\bin\javaw.exe -ojvm -classpath C:\ProgramFiles\jdevstudio1013\jdev\mywork\ocbs\Client\classes;C:\ProgramFiles\jdevstudio1013\j2ee\home\lib;C:\ProgramFiles\jdevstudio1013\j2ee\home\lib\mail.jar;C:\ProgramFiles\jdevstudio1013\j2ee\home\lib\activation.jar com.vdscomputing.carpinvest.ocbs.db.io.SendMailTest
    Constructor entered
    return from constructor
    com.vdscomputing.carpinvest.ocbs.db.io.SendMail@a Hello
    javax.mail.internet.AddressException: Illegal route-addr in string ``fax:[email protected]''
    message sent
    Process exited with exit code 0.
    source SendMailTest-------------------------------------
    package com.vdscomputing.carpinvest.ocbs.db.io;
    //class designed to test SendMail
    public class SendMailTest {
    public static void main( String args[]) {
    String SMTPserver = "192.168.1.23";
    String SMTPport = "25";
    String Sender = "[email protected]";
    String Recipient ="fax:[email protected]";
    String CcRecipient = "[email protected]";
    String BccRecipient = "";
    String Subject = "faxinationTest";
    String Body = "test mail 12 from test class";
    String[] ErrorMessage = new String[1];
    String Attachments ="";
    // create mesage and monitor constructor
    SendMail testMessage = new SendMail();
    System.out.println("return from constructor");
    System.out.println(testMessage + " Hello");
    testMessage.Send(SMTPserver, SMTPport, Sender, Recipient, CcRecipient,
    BccRecipient, Subject, Body, ErrorMessage, Attachments);
    System.out.println("message sent");
    Source SendMail---------------------------------------
    package com.vdscomputing.carpinvest.ocbs.db.io;
    import java.util.*;
    import java.io.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    public class SendMail {
    //default constructor with monitor message
    public SendMail(){
    System.out.println("Constructor entered");
    // preparing the message and sending it
    public static int Send(String SMTPServer,
    String SMTPPort,
    String Sender,
    String Recipient,
    String CcRecipient,
    String BccRecipient,
    String Subject,
    String Body,
    String ErrorMessage[],
    String Attachments) {
    // Error status;
    int ErrorStatus = 0;
         // create some properties and get the default Session;
         Properties props = System.getProperties();
         props.put("mail.smtp.host", SMTPServer);
         props.put("mail.smtp.port", SMTPPort);
    Session session = Session.getDefaultInstance(props, null);
    try {
         boolean ParseOption = false; //do not enforce RFC822
    // create a message;
    MimeMessage msg = new MimeMessage(session);
    // extracts the senders and adds them to the message;
    InternetAddress[] TheAddresses =
    InternetAddress.parseHeader(Sender, ParseOption);
    msg.addFrom(TheAddresses);
         // extract the recipients and assign them to the message;
    InternetAddress[] TheAddresses =
    InternetAddress.parseHeader(Recipient, ParseOption);
    msg.addRecipients(Message.RecipientType.TO,
    TheAddresses);
         // extract the Cc-recipients and assign them to the message;
    if (null != CcRecipient) {
    InternetAddress[] TheAddresses =
    InternetAddress.parseHeader(CcRecipient, ParseOption);
    msg.addRecipients(Message.RecipientType.CC,
    TheAddresses);
         // extract the Bcc-recipients and assign them to the message;
    if (null != BccRecipient) {
    InternetAddress[] TheAddresses =
    InternetAddress.parseHeader(BccRecipient, ParseOption);
    msg.addRecipients(Message.RecipientType.BCC,
    TheAddresses);
    // subject field;
    msg.setSubject(Subject);
    // create the Multipart to be added the parts to;
    Multipart mp = new MimeMultipart();
    // create and fill the first message part;
    MimeBodyPart mbp = new MimeBodyPart();
    mbp.setText(Body);
    // attach the part to the multipart;
    mp.addBodyPart(mbp);
    // attach the files to the message;
    if (null != Attachments) {
    int StartIndex = 0, PosIndex = 0;
    while (-1 != (PosIndex = Attachments.indexOf("///",
    StartIndex))) {
    // create and fill other message parts;
    MimeBodyPart mbp = new MimeBodyPart();
    FileDataSource fds =
    new FileDataSource(Attachments.substring(StartIndex,
    PosIndex));
    mbp.setDataHandler(new DataHandler(fds));
    mbp.setFileName(fds.getName());
    mp.addBodyPart(mbp);
    PosIndex += 3;
    StartIndex = PosIndex;
    // last, or only, attachment file;
    if (StartIndex < Attachments.length()) {
    MimeBodyPart mbp = new MimeBodyPart();
    FileDataSource fds =
    new FileDataSource(Attachments.substring(StartIndex));
    mbp.setDataHandler(new DataHandler(fds));
    mbp.setFileName(fds.getName());
    mp.addBodyPart(mbp);
    // add the Multipart to the message;
    msg.setContent(mp);
    // set the Date: header;
    msg.setSentDate(new Date());
    // send the message with monitor message
    Transport.send(msg);
    System.out.println("message on transport");
    } catch (MessagingException MsgException) {
    ErrorMessage[0] = MsgException.toString();
    System.out.println(ErrorMessage[0]); // catch to console
    Exception TheException = null;
    if ((TheException = MsgException.getNextException()) !=
    null)
    ErrorMessage[0] = ErrorMessage[0] + "\n" +
    TheException.toString();
    ErrorStatus = 1;
    return ErrorStatus;
    }

    Hi,
    I want to fax using java. presently I m using mail api to email & its working. Now I have to fax the attached pdf file with out using any third party or commercial software.
    Any idea or suggestion would be very help full
    regards
    Prakash Sen

Maybe you are looking for