Sending JavaMail Through A Particular Gateway Or Firewall

Sending Java Mail through a particular Gateway or Firewall. I am having the problem while sending mail through Java Mail. This is the code being used for sending mail.
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
          Properties props = new Properties();
          String timeOutVal="50000";
          props.setProperty("mail.transport.protocol","smtp");
          props.setProperty("mail.host","smtp.gmail.com");
          props.put("mail.smtp.auth","true");//we will use the smtp authentication
          props.put("mail.smtp.port","465");
          props.put("mail.smtp.socketFactory.port","465");
          props.put("mail.smtp.socketFactory.class","javax.net.ssl.SSLSocketFactory");
          props.put("mail.smtp.socketFactory.fallback","false");
          props.put("mail.smtp.quitwait","false");
          props.put("mail.smtp.connectiontimeout",timeOutVal);
          props.put("mail.smtp.timeout",timeOutVal);
          final String emailId ="[email protected]";
          final String password ="test123";
          if(emailId != null && password != null){
               Session session = Session.getDefaultInstance(props,new javax.mail.Authenticator(){
                    protected PasswordAuthentication getPasswordAuthentication(){
                         return new PasswordAuthentication(emailId.trim(),password.trim());
                    MimeMessage message = new MimeMessage(session);
                    message.setSender(new InternetAddress(emailId.trim()));
                    if(subject != null){
                         message.setSubject(subject.trim());
                    }else{
                         message.setSubject("");
                    //message.setContent("text","text/plain");
                    message.setContent(msg,"text/plain");
                    String recipients = emailIds.trim();
                    message.setRecipients(Message.RecipientType.TO,InternetAddress.parse(recipients));
                    Transport.send(message);
                    return 0;
          }else{
               return 1;
          }After the Applications sends the mail the following error displays in the console log.
     14:39:59,090 INFO  [STDOUT] javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
       nested exception is:
        java.net.SocketTimeoutException: connect timed out
     14:39:59,090 INFO  [STDOUT]     at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:911)
     14:39:59,090 INFO  [STDOUT]     at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:158)
     14:39:59,090 INFO  [STDOUT]     at javax.mail.Service.connect(Service.java:310)
     14:39:59,090 INFO  [STDOUT]     at javax.mail.Service.connect(Service.java:169)
     14:39:59,090 INFO  [STDOUT]     at javax.mail.Service.connect(Service.java:118)
     14:39:59,090 INFO  [STDOUT]     at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:95)
     14:39:59,090 INFO  [STDOUT]     at javax.mail.Transport.send0(Transport.java:188)
     14:39:59,090 INFO  [STDOUT]     at javax.mail.Transport.send(Transport.java:118)          Troubleshooting Done
     Added Firewall ip in the Gateway List, and removed other gateway.
     Then it works.But it blocks other remote servers from accessing the local server.
     as the other gateway is being removed from the local server.
     Please help me to solve the issue.
Thanks and Regards
Rasa.

Your configuration code is unnecessarily complex. Please read the JavaMail FAQ for the simpler way
to configure access to Gmail.
Also, the JavaMail FAQ has tips for debugging connection problems.
If you're having trouble configuring your gateway, talk to your network administrator.

Similar Messages

  • Sending messages through ColdFusion SMS gateways problem

    Hi,
    Has anyone done this working? I have tried many ways and all the advices and the website that i create the test it looks like working, but i am not getting any sms.
    I have also followed this: http://www.adobe.com/devnet/coldfusion/articles/smsgateway.html
    and still no luck. I think maybe is connected with the configuration file, because i am not sure about this source address and so on.
    Can anyone please help me?
    Kind regards!

    where i can see what it says?

  • Sending above 254 characters through coldfusion sms gateway

    I have been sending SMS using coldfusion sms gateway. If am sending below 254 characters, it works perfectly but when I need to send above 254 characters, I use the messagePayload attribute and convert the message to binary. The message sends OK but only the first 25 characters are displayed
    on the phone. I have gone through the coldfusion documentation but what I don't understand is "The messagePayload field can contain up to 64K bytes;
    it must start with 0x0424, followed by 2 bytes specifying the payload length, followed by the message contents."
    Adobe didn't state any specific example on how this would be implemented. Kindly send an example on how this would be implemented.
    If anyone knows any other method of sending long messages, please share it cos my .Net friends are laughing at me, telling me coldfusion is wack

    quote:
    are the unicode SMS getting thru? have you updated your cf
    server, there's one
    Are you referring to ColdFusion 7.0.1 Updater Paul?
    Yes I did install the updater. I just found out that my
    problem is not unicode problem at all. Basically every return
    receipt that I received from the SMPP Gateway has err:1 in the
    message. All I did is log every CFEvent that I received from the
    SMPP server if error occurs. The example is:
    STRUCT ->
    CFCPATH -> ....
    GATEWAYID -> My Gateway
    ORIGINATORID -> 86???????????
    CFCMETHOD -> onIncomingMessage
    DATA ->
    esmClass -> 4
    sourceAddress -> 86???????????
    priority -> 0
    registeredDelivery -> 0
    messageLength -> 135
    protocol -> 0
    destAddress -> *my number*
    MESSAGE -> id:*some hex message id* sub:001 dlvrd:0
    submit date:0606270957 done date:0606270957 stat:REJECTD err:1
    text:esting routing,
    dataCoding -> 0
    GATEWAYTYPE -> SMS
    and everytime I got an error, I only receive that message.
    However after I called the SMPP support team just now, they said
    that on their end they actually send out two messages to my server
    and in my end, my logger only log one message for every SMS sent.
    The thing really bugging me is, does coldfusion hiding some
    of the messages they received from the server, or does it have some
    kind of funny thing going on. Well, frankly I don't know much about
    Coldfusion, I just been using it for about 6 months.

  • Creation of transport rule to send all external mails through a particular server for a specific user..

    HI,
    In our Organisation We have a question, is there any possibility to create a transport rule for sending all external mails through a particular server by a specific user.
    in our organisation we have exchange 2007 one mailbox server and two hub transport servers...and we are using symantic gate way..

    Hi,
    Based on my knowledge, we can use the following transport rule to make that except with one user, other users cannot send outbound external emails:
    And I’m afraid that there is no Exchange feature to make one specific HUB server rout all external emails.
    Because if a Send connector is configured to send messages to an external domain, any Hub Transport server in the organization will route a message for that domain to a source server for that connector to be relayed to the destination domain.
    If you have any question, please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

  • Unable to send mail using javamail through gmail

    can anyone plz help me by sending the code to [email protected] send mail through gmail server as i always get exception of authentication failed even when i supply correct userid & password

    Include the following when setting your mail properties:
    props.put("mail.smtp.auth", "true");

  • Sending message from oracle to middleware through oracle messaging gateway

    Hi,
    I am very new to oracle AQ and oracle messaging gateway. I am actually trying to propagate a message from oracle to middleware through oracle messaging gateway.
    I have created the link between oracle messaging gateway and middleware(IBM Websphere).
    1.*Created an object type with a single attribute of type sys.xmltype*.
    create or replace type xpctas_type as object(payload sys.xmltype);
    2.*Created a qtable with payload type as xpctas_type, a queue and started the queue.*begin
    dbms_aqadm.create_queue_table(
    queue_table => 'xpctas_qtab',
    queue_payload_type => 'xpctas_type',
    multiple_consumers => TRUE
    dbms_aqadm.create_queue(queue_name =>'xpctas_q',
    queue_table => 'xpctas_qtab',
    max_retries => 16);
    dbms_aqadm.start_queue('xpctas_q');
    end;
    3.*Created a transformation that converts user defined type xpctas_type to messaging gateway canonical type sys.MGW_BASIC_MSG_T.*
    For this I created a function that converts xpctas_type to messaging gateway canonical type sys.MGW_BASIC_MSG_T.
    CREATE OR REPLACE FUNCTION APPS.order_2_basic(my_order in xpctas_type)
    RETURN sys.mgw_basic_msg_t
    IS
    v_xml XMLTYPE;
    v_text varchar2(4000);
    v_clob CLOB;
    v_basic sys.mgw_basic_msg_t;
    text_body sys.mgw_text_value_t;
    header     sys.mgw_name_value_array_t;
    BEGIN
    v_xml := XMLTYPE.createXML(my_order,NULL,NULL);
    v_basic := sys.mgw_basic_msg_t.construct;
    header := sys.mgw_name_value_array_t(sys.mgw_name_value_t.construct_integer('MGW_MQ_characterSet','1208'),
    sys.mgw_name_value_t.construct_integer('MGW_MQ_priority', '7'));
    IF(LENGTH(v_xml.getstringval())>0 AND LENGTH(v_xml.getstringval())<=4000) THEN
    v_text := v_xml.getStringVal();
    text_body := sys.mgw_text_value_t(v_text,NULL);
    ELSE
    dbms_lob.createtemporary(v_clob,TRUE,dbms_lob.session);
    v_clob:=v_xml.getClobVal();
    text_body := sys.mgw_text_value_t(NULL,v_clob);
    dbms_lob.freetemporary(v_clob);
    END IF;
    v_basic:=sys.mgw_basic_msg_t(header,text_body,NULL);
    RETURN v_basic;
    END order_2_basic;
    begin
    dbms_transform.create_transformation(
    schema => 'apps',
    name => 'order_to_basic',
    from_schema => 'apps',
    from_type => 'xpctas_type',
    to_schema => 'sys',
    to_type => 'mgw_basic_msg_t',
    transformation => 'Apps.order_2_basic(source.user_data)');
    end;
    4.     Registered a foreign queue.
    declare
    v_options sys.mgw_properties;
    gv_mq_queue_name VARCHAR2(32);
    begin
    gv_mq_queue_name := 'MB.O2C.SOFTWARESOLUTION';
    v_options := sys.mgw_properties(
    sys.mgw_property('MQ_openOptions', '2066') );
    dbms_mgwadm.register_foreign_queue(
    name => 'destq', -- MGW foreign queue name
    linkname => 'mqlink', -- name of link to use
    provider_queue => RTRIM(gv_mq_queue_name), -- name of MQSeries queue
    domain => dbms_mgwadm.DOMAIN_QUEUE, -- single consumer queue
    options => v_options );
    end;
    5.     Added a subscriber with transformation.
    begin
    dbms_mgwadm.add_subscriber(
    subscriber_id => 'sub_aq2mq', -- MGW subscriber name
    propagation_type => dbms_mgwadm.outbound_propagation,
    queue_name => 'apps.xpctas_q',
    destination => 'destq@mqlink',
    transformation => 'apps.order_to_basic');
    end;
    6.     Added a scheduler
    begin
    dbms_mgwadm.schedule_propagation(
    -- schedule name
    schedule_id => 'sch_aq2mq',
    -- outbound propagation
    propagation_type => dbms_mgwadm.outbound_propagation,
    -- AQ queue name
    source =>'apps.xpctas_q',
    -- MGW foreign queue with link
    destination =>'destq@mqlink');
    -- The remaining fields currently not used by MGW
    end;
    7.     Enqueued a user defined data type into the qtable.
    declare
    l_xmlstring varchar2(2000);
    l_payload sys.xmltype;
    my_order xpctas_type;
    enqueue_options DBMS_AQ.enqueue_options_t;
    message_properties DBMS_AQ.message_properties_t;
    msgid RAW( 16 );
    v_num Number;
    begin
    SELECT '<?xml version="1.0" encoding="UTF-8" ?>
    <Q1:XXRFG_PRCS_CNCT_TO_ASSETS_STG xmlns:Q1="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/XXRFG_PRCS_CNCT_TO_ASSETS_STG" version="3.0.0" verb="Create" locale="en_US.UTF-8" delta="false">
    <Q1:STAGING_ID>221</Q1:STAGING_ID>
    <Q1:SW_INSTANCE_ID>18595755</Q1:SW_INSTANCE_ID>
    <Q1:MC_INSTANCE_ID>194734</Q1:MC_INSTANCE_ID>
    <Q1:OPCO>NUK</Q1:OPCO>
    <Q1:RELATIONSHIP_FLAG>N</Q1:RELATIONSHIP_FLAG>
    <Q1:RELATIONSHIP_TYPE>Connected To</Q1:RELATIONSHIP_TYPE>
    <Q1:ObjectEventId />
    </Q1:XXRFG_PRCS_CNCT_TO_ASSETS_STG>'
    INTO l_xmlstring
    FROM dual;
    SELECT XMLTYPE(l_xmlstring)
    INTO l_payload
    FROM dual;
    my_order:=xpctas_type(l_payload);
    dbms_output.put_line(my_order.payload.getstringval());
    DBMS_AQ.enqueue( queue_name => 'APPS.xpctas_q',
    enqueue_options => enqueue_options,
    message_properties => message_properties,
    payload => my_order,
    msgid => msgid
    COMMIT;
    END;
    As soon as I enqueued the message the subscriber picked the message and sent it to middleware. I found the below message in the middleware
    MD            ÿÿÿÿ      ¸  MQSTR         AMQ HBU473QC61  PTÀ+H^                                                                            HBU473QC61                                      mqm                                                                                                        2012112109335869                                       ÿÿÿÿ
    *<XPCTAS_TYPE><PAYLOAD><Q1:XXRFG_PRCS_CNCT_TO_ASSETS_STG xmlns:Q1="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/XXRFG_PRCS_CNCT_TO_ASSETS_STG" version="3.0.0" verb="Create" locale="en_US.UTF-8" delta="false">*
    *<Q1:STAGING_ID>221</Q1:STAGING_ID>*
    *<Q1:SW_INSTANCE_ID>18595755</Q1:SW_INSTANCE_ID>*
    *<Q1:MC_INSTANCE_ID>194734</Q1:MC_INSTANCE_ID>*
    *<Q1:OPCO>NUK</Q1:OPCO>*
    *<Q1:RELATIONSHIP_FLAG>N</Q1:RELATIONSHIP_FLAG>*
    *<Q1:RELATIONSHIP_TYPE>Connected To</Q1:RELATIONSHIP_TYPE>*
    *<Q1:ObjectEventId/>*
    *</Q1:XXRFG_PRCS_CNCT_TO_ASSETS_STG>*
    *</PAYLOAD></XPCTAS_TYPE>*
    It has some junk data in the begining. How can I remove this junk data?? Any help provided on this would be of great help.
    Experts on oracle mesaging gateway and AQ, Please help.
    Thanks & Regards,
    Sachin

    Hello,
    your setup of the message gateway seems to be ok.
    Did you check the corresponding versions of the client libraries (*.jar) ? These are the libraries on
    db server side (e.g. aqapi.jar, based on your CLASSPATH entries in file "mgw.ora") and for the IBM MQ jars.
    Kind regards,
    WoG

  • Email becomes unreadible after going through Cisco email gateway

    Hi all,
    I have an issue with one sender who is trying to email password protected attachments to other staff in our organization.
    The issue seems to only occur when the email goes through our C370, if he sends to an externally hosted email account the email and attachment can be opened, and when that email is then sent as an attachment back into our organization it is also openable, which seems to rule out our clients.
    Sanitized header from the C370 below is part of the message header which I think might contain the problem, I have removed the first part with to & from as I didn't know if it was relevant..
    Subject: Daily Subject
    Thread-Topic: Subject
    thread-index: Ac+JToaXaax6VYP2Qlaj21mbCsrr5w==
    Date: Mon, 16 Jun 2014 10:36:28 +0000
    Message-ID: <Message ID>
    Accept-Language: en-GB, en-US
    Content-Language: en-US
    X-MS-Has-Attach: yes
    X-MS-TNEF-Correlator:
    X-Originating-IP: [192.168.30.71]
    Content-Type: multipart/mixed;
            boundary="_005_B078E7CA8779484CB2961CF42F9F12481EE3C285RALXMBX01WHITSL_"
    MIME-Version: 1.0
    Return-Path: <[email protected]>
    X-OriginalArrivalTime: 16 Jun 2014 10:36:31.0542 (UTC) FILETIME=[D6741560:01CF894E]
    This is a multi-part message in MIME format.
    --_005_B078E7CA8779484CB2961CF42F9F12481EE3C285RALXMBX01WHITSL_
    Content-Type: multipart/alternative;
            boundary="_000_B078E7CA8779484CB2961CF42F9F12481EE3C285RALXMBX01WHITSL_"
    --_000_B078E7CA8779484CB2961CF42F9F12481EE3C285RALXMBX01WHITSL_
    Content-Type: text/plain;
            charset="utf-8"
    Content-Transfer-Encoding: base64
    UGxlYXNlIHNlZSBhdGFjaGVkDQoNClJlZ2FyZHMNCg0KQWtlZW0gTGluc2V5DQoNCkFrZWVtIExp
    bnNleQ0KV0hBQ1QgQ2FwYWNpdHkgVGVhbSBBZG1pbmlzdHJhdG9yDQpBY29uYnVyeSBFYXN0DQpX
    b3JjZXN0ZXIgUm95YWwgSG9zcGl0YWwNClRlbDogMDE5MDUgNzYwMDY3DQpFbWFpbDogYWtlZW0u
    bGluc2V5QGhhY3cubmhzLnVrPG1haWx0bzpha2VlbS5saW5zZXlAaGFjdy5uaHMudWs+DQoNClRo
    ZSBpbmZvcm1hdGlvbiBjb250YWluZWQgaW4gdGhpcyBlbWFpbCBtYXkgYmUgc3ViamVjdCB0byBw
    This string continues for 10's of lines
    --_000_B078E7CA8779484CB2961CF42F9F12481EE3C285RALXMBX01WHITSL_
    Content-Type: text/html;
            charset="utf-8"
    Content-Transfer-Encoding: base64
    PGh0bWw+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIgY29udGVudD0i
    dGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxzdHlsZT4NCjwhLS0NCkBmb250LWZhY2UNCgl7
    Zm9udC1mYW1pbHk6Q2FsaWJyaX0NCnAuTXNvTm9ybWFsLCBsaS5Nc29Ob3JtYWwsIGRpdi5Nc29O
    b3JtYWwNCgl7bWFyZ2luOjBjbTsNCgltYXJnaW4tYm90dG9tOi4wMDAxcHQ7DQoJZm9udC1zaXpl
    OjExLjBwdDsNCglmb250LWZhbWlseToiQ2FsaWJyaSIsInNhbnMtc2VyaWYifQ0KYTpsaW5rLCBz
    cGFuLk1zb0h5cGVybGluaw0KCXtjb2xvcjpibHVlOw0KCXRleHQtZGVjb3JhdGlvbjp1bmRlcmxp
    bmV9DQphOnZpc2l0ZWQsIHNwYW4uTXNvSHlwZXJsaW5rRm9sbG93ZWQNCgl7Y29sb3I6cHVycGxl
    This string continues for 10's of lines
    --_000_B078E7CA8779484CB2961CF42F9F12481EE3C285RALXMBX01WHITSL_--
    --_005_B078E7CA8779484CB2961CF42F9F12481EE3C285RALXMBX01WHITSL_
    Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;
            name="16.06.14 test data.xlsx"
    Content-Description: 16.06.14 test data.xlsx
    Content-Disposition: attachment;
            size=21504;
            creation-date=Mon, 16 Jun 2014 10:35:56 GMT;
            modification-date=Mon, 16 Jun 2014 10:34:01 GMT;
            filename="16.06.14 test data.xlsx"
    Content-Transfer-Encoding: base64
    0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAADAAAAAQAAAAAAAAAA
    EAAAAgAAAAEAAAD+////AAAAAAAAAAAHAAAACAAAAP//////////////////////////////////
    YhaetsvzHMi3ipkrNJSzrFVRN7+bX4l0BumhMZTII2xrE6oeB8hEqY8k2VbXv8U3HBd8J9RGVWDJ
    SqZakOR/sQpgHLGkP6PAdRCn1DnGilooj9RrP4T0NjAipUVFMh82LbWeSHkYeF2odZvS9FDy4hCP
    jz0oU3IWExxK67VOvELynIIGDs4OywbgzO1/umDQ5rzKg134XJcOCjZogzLN0aRirTBioH9/1JCq
    CDi7xvoEUpPFjuNQt0xfVUV8fqr3fCzrKhhIAh7fo4FYVKHzS2lZkCXP+qLINNsBWDkb2WexmN6U
    UrwbjQBNCKLKf2n46v1C
    This string continues for 100's of lines
    --_005_B078E7CA8779484CB2961CF42F9F12481EE3C285RALXMBX01WHITSL_
    Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document;
            name="16.06.14 test document.docx"
    Content-Description: 16.06.14 test document.docx
    Content-Disposition: attachment;
            size=32566;
            creation-date=Mon, 16 Jun 2014 10:36:01 GMT;
            modification-date=Mon, 16 Jun 2014 10:33:24 GMT;
            filename="16.06.14 test document.docx"
    Content-Transfer-Encoding: base64
    UEsDBBQABgAIAAAAIQDwIex9jgEAABMGAAATAAgCW0NvbnRlbnRfVHlwZXNdLnhtbCCiBAIooAAC
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC0
    lE1PwkAQhu8m/odmr6Zd8GCMoXBQPCqJGM/Ldgobux/ZWb7+vdMWGjRAUfDSpN193/fZ2c70Bitd
    RAvwqKxJWTfpsAiMtJky05S9j5/jexZhECYThTWQsjUgG/Svr3rjtQOMSG0wZbMQ3APnKGegBSbW
    gaGV3HotAr36KXdCfoop8NtO545LawKYEIfSg/V7T5CLeRGi4Yo+1yQeCmTRY72xzEqZcK5QUgQi
    5QuT/UiJNwkJKas9OFMObwiD8b0J5crhgI3ulUrjVQbRSPjwIjRh8KX1Gc+snGs6Q3LcZg+nzXMl
    This string continues for 100's of lines
    --_005_B078E7CA8779484CB2961CF42F9F12481EE3C285RALXMBX01WHITSL_--
    Below is the header when a copy is sent to Hotmail:
    x-store-info: J++/JTCzmObr++wNraA4Pa4f5Xd6uensydyekesGC2M=
    Authentication-Results: domain.com; spf=none (sender IP is IP Address) [email protected]; dkim=none header.d=domain.uk; x-hmca=none [email protected]
    X-SID-PRA: [email protected]
    X-AUTH-Result: NONE
    X-SID-Result: NONE
    X-Message-Status: n:n
    X-Message-Delivery: Vj0xLjE7dXM9MDtsPTE7YT0xO0Q9MTtHRD0xO1NDTD0w
    X-Message-Info: NhFq/7gR1vQRHV6jbdvQfj78RRbHIsgK1hLH/9kB6NkUdTKzM/S60sw6uhmZk31ye2Ut7SsNRG194mNbBlVxpVFTOFvWOorYIP5ew8iIWHabwOUS2au4siXFpV/hL6TnYc2aLcBqOdiwZaz+fO5BeYoeCs9RYcubk1Jzn4Ff1TWTeX5PBOwirh+7vaICe5u9/LltrbQ5ODA+UL1EVPECVAszVGdCkiJ5
    Received: from relayserver.uk ([62.208.144.128]) by SNT004-MC3F25.hotmail.com
     over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22678); Tue, 17 Jun
     2014 02:22:01 -0700
    Received: from blah.net (blah.net
     [IP Address]) by IMSVA80 (Postfix) with ESMTP id D712D448A3A for
     <[email protected]>; Tue, 17 Jun 2014 10:21:59 +0100 (BST)
    Received: from Blah.local (smtp.server [IP Address]) by
     blah.net (Postfix) with ESMTP id 5F6B6448F33 for
     <[email protected]>; Tue, 17 Jun 2014 10:21:57 +0100 (BST)
    X-PMWin-Version: 3.0.2.0
    X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331
    Received: from blah.local ([192.168.46.221]) by
     Blah.blah.local with Microsoft SMTPSVC(IP address); Tue, 17 Jun 2014
     10:21:36 +0100
    Received: from Server name ([fe80:::::822d]) by
     Exchange server name ([192.168.46.221]) with mapi id 14.02.0342.003;
     Tue, 17 Jun 2014 10:21:36 +0100
    From: "Surname, Firstname" <[email protected]>
    To: <[email protected]>
    Subject: Subject
    Thread-Topic: Subject
    thread-index: Ac+JToaXaax6VYP2Qlaj21mbCsrr5wAvrAhgAAASClA=
    Date: Tue, 17 Jun 2014 09:21:35 +0000
    OLD-MSG-ID: <Old Message ID>
    Accept-Language: en-GB, en-US
    Content-Language: en-US
    X-MS-Has-Attach: yes
    X-MS-TNEF-Correlator:
    X-Originating-IP: [192.168.30.85]
    Content-Type: multipart/mixed;
     boundary="----=_NextPart_000_0002_01CF8FA3.87849CD0"
    MIME-Version: 1.0
    X-OriginalArrivalTime: 17 Jun 2014 09:21:36.0838 (UTC) FILETIME=[89D06E60:01CF8A0D]
    Message-ID: <Message ID>
    X-TM-AS-Product-Ver: IMSVA-8.0.0.1495-7.5.0.1017-20762.006
    X-TM-AS-Result: No--42.282-60-31-10
    X-imss-scan-details: No--42.282-60-31-10;No--42.282-3-31-10;No--42.282-4-31-10
    X-TMASE-MatchedRID: JcGkxUY+Fi9XTuUjTP3HupObxJgN/hOxOhJ9m53n4aDIGC/aFIx4/sEhNzkwL19YZrHSGmcb0tPNR6N8PNUm3hQ3/xoDO/IlaK+MsTwM+1nP60q/FX5hsL40mI6UpXzvoYk2ByBT6IRl+EcAbF0M2///m9pcIDdz1kpuPUtox1KS2fL5IypDsYEcpMn6x9cZ67hywNgiYt0GLHHeUCuj17PllCNDDbY+2BJ2fZa5f2xqeX9tIrexd/jQkA7rdCuFfMhjt3b5PP1K0WT/zXAgkpjaylIY/e3Y9hU4NdzeECk8LuP+bOkMWt3jF2fVcPdzDB+ErBr0bANar2Wff4KSIaUXswX/xrISOe5BYzkyOSWATHNX4n1dGGZBslDPcF5vyAzYZQWW+9rbH8WaUL9qjLTxnpbCjruIowtRP8whCK8PmNN74zkTtDMO4HIvV/eCHcN4x+ltYL371rCnW2Nmh+V1K1TQIEH5D+WFNKXSJkRkYpwdTJ43fZUdXE/WGn0FVmA9rBozNAcLEpo317bQY8H9mYPMZJ+SW8KeTXPQ6zqOhzOa6g8KrXacDQD1LjGG8gyxx3MD7IZOuMJDRGZYWM2dM+bCCs0tT+iWcZL4Ksw=
    X-Hotmail-VirusCheck: Clean
    Return-Path: <[email protected]>
    The sender has advised they are using Outlook 2010.
    Thanks in advance for any help working out why the email cant be read when coming in through our C370 gateway & sorry if posted in wrong community
    Katie

    Hi,
    Could you please try to put another DNS server on the ESA? Like ISP's DNS or a public one.
    Luis Silva

  • What are the steps for sending SMS through IMS5.1

    I have IMS 5.1 solaris version and I want to send SMS through this Messaging server, Is there any need for the gateway/any other server/requirements for accomplishing this?

    iPlanet Messaging Server 5.2 supports one-way email to an SMS gateway.For SMS channel configuration please refer to
    http://docs.iplanet.com/docs/manuals/messaging/technotes/5.2sms.html

  • Is it possible to send SMS through java

    Hi all
    I m a student and as a part of my project I need to create an SMS server(SMS gateway). Can we send SMS through Java and if yes then send me the code for the same . Also on which GSM Modem will it Work , I've heard about Nokia GSM Modem N32. Kindly Guide me regarding the Same.
    Regards
    MoComp

    Hi all
    I m a student and as a part of my project I need to
    create an SMS server(SMS gateway). Can we send SMSSo YOU need to write it.
    through Java and if yes then send me the code for theIt's possible, as there are several commercial offerings out there.
    But as YOU need to write it it won't do for you to try and trick someone else into writing it so you can submit it as your own.
    same . Also on which GSM Modem will it Work , I've
    heard about Nokia GSM Modem N32. Kindly Guide me
    regarding the Same.All depends on how you implement it.
    A real server would have its own hardware and software to pipe directly into the network of a telco, and a contract with that telco to use their network to send messages.

  • How to pass data to XI interface through a particular QUEUE ID

    hi,
    i need to pass data to XI through a particular QUEUEID if any body has sample ABAP code for it pls post...........
    its very urgent tx....
    shiva.

    Hi Shiva,
    Are you talking about queue prioritization?
    To be able to have your interface pass through a particular queue name, you have to first register your queues in sxmb_adm.  You can check that in the "manage queues'.  Then you configure the sender and receiver service/system and the interface in the configuration "configure filter for queue prioritization".

  • Sending Smartform through Fax

    Hai All,
       could anyone help me with the sample code..I want to know the parameters for fax while calling the function module..
    Thanks

    HI LAXMI,
    CHECK THESE THREADS...
    Sending Smartforms through Fax
    Sending SMARTFORM output to FAX gateway
    How to fax a smartform?

  • Send SMS through GSM modem

    Hello,
    We have a requirement of sending SMS after PGI . Could anybody please help me on how to use GSM Modem to send SMS through SAP?

    Hey, I can give you another tip. I am using a very reliable integration program. Its name is Ozeki NG SMS Gateway. I hope they dont cut my tip out, because this software is very useful and stable. You are also able to add this message sending function to different clients for example HP Openview or Sharepoint etc.
    Sorry again, I did not intend to advertise or something like that.
    http://www.sms-integration.com/
    Have a nice day
    Jozef

  • Send email through Yahoo mail or Gmail with Java

    I have a java email program that can take a mail host name , port number and then send an email, but I don't want to use the mail host at work, I wonder if I can send email through my Yahoo Mail or Gmail account with Java, do they have any Java API that my program can log me in and send emails ? Any sample code available ? Thanks.
    Frank

    Thanks for reminding me, I did some search on "Yahoo" and "Gmail". For Yahoo someone posted some code that didn't work, for gmail, there seems to be a solution for sending email from command line. I wonder if I can send full fledged email : with CC, BCC, Attachment, Html email with images inside ...
    I've done it with a local mail host, but how to do it with Yahoo or Gmail ?
    Frank
    Have you read the JavaMail FAQ? Search for "Yahoo" and "Gmail".

  • Send email through applet

    Hello!
    Can anyone give me simple code of applet where i can send email through the form... and jar files or anything i have to import...
    Thank you very much

    Depends on how you want to handle it.
    If you want to send an email from the User's email program, you can execute a simple http request to "mailto:[email protected]" from within the applet by calling
    Applet.getAppletContext().showDocument("mailto:[email protected]")This will cause an email window to pop up using the user's email client.
    However, if you want to send email from within your program directly then you get into an area that is a little more complicated.
    First you would be using the javax.mail API. http://java.sun.com/products/javamail
    The problem you would have with this is that as an Applet you can only connect back to the server from which you came. So that server MUST have an SMTP process running on it. Otherwise you cannot send mail out since an Applet is not allowed to contact any other server other than it's own.
    If that security restriction is not a problem, then the example code at http://developer.java.sun.com/developer/onlineTraining/JavaMail/ should do everything you need.

  • Want to send email through web server tomcat 5.5

    hi
    i want a send email through java programme using tomcat web server

    So do it.
    What's your question?
    Did you read the JavaMail FAQ and all the
    other wonderful documentation on the JavaMail
    web site?

Maybe you are looking for