Smtp and pop3 host and port name of gmail server?????

can any body give me smtp and pop3 host and port name of gmail server?????to send a mail......

Just do a new initial context and lookup the datasource, in case you need other info like host name and port you can use MBEans like:
          InitialContext ctx = null;
               // fetch managed server name by accessing the
               // RuntimeServerMBean using the
               // MBeanServer interface
               ctx = new InitialContext();
               MBeanServer server = (MBeanServer) ctx
                         .lookup("java:comp/env/jmx/runtime");
               ObjectName service = new ObjectName(
                         "com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean");
               managedServerName = (String) server.getAttribute(service,
                         "ServerName");

Similar Messages

  • Need smtp and pop3 host for hotmail

    do you know what is adress for hotmail outgoing server
    like smtp.mail.yahoo.com for yahoo

    Properties.put("mail.smtp.host","www.hotmail.com");
    ... is correct, but if you are permitted to make a connection I'd be surprised. Well, no you can't, the buggers won't let you. You need to use Pop3 + yahoo and be a registered user, eg;-
    Store.connect("pop.mail.yahoo.com", -1, "yourIDname", "yourPassword");

  • How to get service name and listening host to connect to oracle DB server?

    I have successfully installed oracle db client 10g release 2 on my winXP. But when I tried to use Net Congiguration Assistance to connect to oracle db server. I do not know what is the "service name" and listening "host" I supporse to enter. Where can I get the names?
    PLEASE HELP! THANKS!

    machine name or IP = machine name or IP address of the database server
    To know the service name do the following on the server :
    $ lsnrctl services
    LSNRCTL for Linux: Version 10.1.0.3.0 - Production on 30-DEC-2005 00:24:28
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "test10" has 1 instance(s).
      Instance "test10", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    The command completed successfully
    $The service name is test10 in my case. Of course you have to use yours.

  • Setting a proper domain name and adding hosts for quick name resolution

    I have 3 other computers in my house.
    Two run linux at this time.
    I want to do 2 things. Right now my machine says Steve.local for its hostname right? I want to change that so it reads Steve.mydomain.net.
    Am I correct that I need to
    sudo /etc/hostconfig
    And change the hostname line from -Automatic- to =
    HOSTNAME=Steve.mydomain.net
    And for quicker resolution of the small number of hosts on my network (primarily so I can use hostname instead of IP for ssh) can I add static hosts to the /etc/hosts file on my machine ala:
    sudo /etc/hosts
    Is this the proper way to do these things in Mac OS X?
    Also to change my workgroup for Samba:
    Open the Directory Access utility (under Applications -> Utilities)
    I highlight SMB and click configure and just change the Workgroup entry there. Is that correct as well?
    Just checking before I go tooling up my machine tonight for better integration into my home network.

    Ok update changing the hostname in the field does NOT allow me to edit the .local part. In fact it converts Steve.mydomain.net.local to Steve-mydomain-net.local.
    But I got my windows workgroup changed and I am showing up with the correct workgroup name from my other servers.
    Also, lets say you only have a couple of computers on your home network right? So dedicated dns is kind of overkill especially when most of them are laptops rebooting all the time.
    Well, your mac os x box has a hosts file. /etc/hosts as in if you want to edit sudo vi /etc/hosts. So you keep the computers pretty much in sync from those files.
    I was afraid the information would not be persistent across a reboot. It was.
    So, two out of three ain't bad. I read in the server forum its a pain in the ***. I was almost thinking of doing the hostconfig trick but I saw an Apple bulletin saying do NOT do that.

  • WSDL Proxy Wizard and Slashes in Binding/Port Name of SAP Webservice

    Hi there,
    i have problems to get the Java Webservice Proxy Wizard liking the SAP WSDL File:
    Here is a small excerpt of it:
    <wsdl:service name="/SIE/TS_PL03_GIDService">
         <wsdl:port name="/SIE/TS_PL03_GIDSoapBinding" binding="tns:/SIE/TS_PL03_GIDSoapBinding">
    <soap:address location="../sap/bc/srt/rfc/SIE/TS_PL03_GID/version3?sap-client=025"/>
    </wsdl:port>
    </wsdl:service>
    The Editor is also underlining these Names.
    I've googled a bit in order to find out if there is a W3C restriction for having forward slashes in service Names but i've not found some so far.
    any help is appreciated, Alex

    Hi Thomas,
    With the newer version of NCo (> 2.0) there is no wizard. You would have to drag and drop the RFC/BAPI from the server explorer window of visual studio.
    First open the solution explorer, click on the SAP icon. Specify the credentials. And then from the list of RFC/BAPI drag and drop on SAP connector proxy page(design view). You can also specify the filter to restrict the listing of RFC/BAPI.
    Regards.

  • Web App and Virtual Host and Clustering

              Hi,
              How are you doing?
              What is the best way to deploy a web application using a virtual host on a clustered
              environment?
              Here is what we are doing:
              o Deploy the web application on the virtual host
              o Deploy the virtual host on the cluster
              o Make the web appliation, the default application on the virtual host
              This seems to work, but I have additional questions?
              In the above deployment, looking at the deploy tab for the web application shows
              that the application is deployed to both the cluster as well as the virtual host.
              Even though we didn't explicitly deploy to the cluster! What happens if we deploy
              explicity (i.e., target) the web application to the cluster?
              What other approaches / configurations are you guys using?
              Thank you so much,
              -Bart Simpson
              

    Never mind, I think I have a solution. Even though e-docs say that DefaultWebApp attribute at virtual host level was deprecated as of WL 8.1 (inline with Servlet 2.3 specification) one can directly edit config.xml file and add the attribute.
    For instance, here is an example to set webapp APP1 as a default webapp for virtual host vhAPP1:
    <VirtualHost
    Name="vhAPP1"
    DefaultWebApp="APP1"
    ... />

  • Pix501: allow all incoming smtp to one host and all smtp out from one host only

    I have a pix501 and I have a mail server. What I would like to do is ensure that smtp traffic from the web only goes to my mail server and that my mail server is the only machine on my local network that can send to the internet on port 25. This is to secure the possibility of bots on my childrens PCs spamming other users. The mail server has been relay secured for selected PCs only.
    To the pix501; I think the following is what I need, but would like somebody to confirm or correct me:
    interface ethernet0 auto
    interface ethernet1 100full
    nameif ethernet0 outside security0
    nameif ethernet1 inside security100
    access-list inbound permit tcp any host x.x.x.x eq smtp
    access-list outbound permit tcp host x.x.x.x ant eq smtp
    access-group inbound in interface outside
    access-group outbound in interface inside
    Most important:
    1. Have I got the access-lists right? Does pix501 support host x.x.x.x (ip of local webserver 192.168.x.x)
    2. Are the access lists the right way around?
    3. Is the access-group setup right?
    4. Is there anything else that needs doing/
    Any help appreciated.
    Note: I am a Cisco newbie and trying to learn,

    Thanks for that information.
    I thought about this some more, after seeing your response, and I was wondering; if I only want to restrict smtp outbound traffic, but allow all other traffic, would the following work, as I dont have to allow each specific port/ip address:
    access-list outbound permit tcp host 192.168.1.3 any eq smtp
    access-list outbound permit tcp host 192.168.1.36 any eq smtp
    access-list outbound deny tcp any any eq smtp
    access-list outbound permit udp any any
    access-list outbound permit tcp any any
    I realise that this would open all sorts of other security risks, but at least trojans/worms will not be able to spam from PCs other than those listed as per the first 2 lines ( which is my major concern at the moment). As I learn more about the traffic on my network I can block more undesirable ports.
    Sorry to be a pain, but this could be useful to other and the more complete the setup, the easier it will be for them.

  • Socket functions and /etc/hosts and /etc/servi​ces

    I have verified that I con open a socket with either the host name or the IP address.
    But can I use either the port number or the service name (from /etc/services)?
    It allows me to use a string constant instead of a numeric, but it doesn't seem to work.

    The string form for the port number is specifically meant to use the NI Service Locator service and nothing else. It does not link into /etc/services or anything like that at all but is a proprietary service locator solution from NI. There exist LabVIEW VIs that one can use to both query this service as well as register new services. It can be found at vi.lib/Utility/ServLocInterface.llb. The actual service used to be programmed in LabVIEW around LabVIEW 7.0 but quickly was moved to a real system service at least on Windows. Not sure if other platforms still use the VI based service implementation or have a native service deamon too, for this.
    Theoretically it would be possible to create some translation program in LabVIEW that reads /etc/services and then registers them through the service locator API but I'm not sure I see a real benefit in this.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Changing ip of physical and logical host

    I have a 2 nodes Sun cluster 2.2 working. I have to put it in another lan, so I have to change both Physical and logical host and terminal concentrator and console ip addresses. How can I do?
    Thanks

    I don't see a reply so I'll take a shot. Just like you have 0-9 for numbers and you can arrange them anyway you want, you still only have 0-9. You have the physical (system block and datafiles) which are somewhat static. Then you have the the logical (tablespace, segements, extents)which are volatile and connected by chaining (links) which may be all over the place in the physical but appears to be one whole unit in the logical. Just like an image on a TV screen wearing a red hat, you see a red hat (logical) but it is actual pixels which are chained or linked (data pointers) to each other by the color red. I hope that helps until someone comes by with a better answer.

  • Setting up Virtual Hosts on a Snow Leopard Development Server

    Hi Everybody,
    I'm losing hair over this - I thought it would be simple!
    I have set up a Mac Mini Server running SLS and would like to host multiple websites for development on the internal network. I require the websites to be stored anywhere on the server, not just in Library/WebServer/Documents/. Ideally, I would like to access them by example.com/mynewsite so I don't have to mess around with DNS.
    Currently I'm setting up websites in the Server Admin Web panel but it just doesn't work. I've noticed the error log keeps looking for files located in the Library/WebServer/Documents/ folder even though I have specified a different folder.
    What Am I missing? Does anybody know of a tutorial / guide to point out potential issues when setting up virtual hosts? I have checked Apple's guide but it doesn't really help me. Any pointers would be much appreciated!
    Cheers

    Sites is likely failing here because Sites is based on the DNS and on the HEAD command within the http stream; if the DNS does not match, you won't get to the host, and if the HEAD command doesn't match the entry in the site, then you'll either get the * wildcard or (if no *) you won't be transferred to the target Site.
    Check the web server logs, as a start.
    If you want to see how this stuff works at the protocol level, you could telnet to port 80 and toss a http 1.1 GET / command and see what you get back for a page.
    Per [rfc2616|http://tools.ietf.org/html/rfc2616], this sequence looks like this:
    +telnet www.example.com 80+
    then:
    +GET / HTTP/1.1+
    +host: www.example.com+
    followed by two presses of the return key, and where www.example.com is your target Site (virtual host) name.
    Alternatives to using DNS and virtual hosts are port-based hosting (which is easy), and you can also use IP addresses to establish virtual hosts. The former is set up via the Sites stuff, with various other ports being used for the web servers. Ugly, but easy. The IP-based approach can get ugly fast, too.
    If you get DNS going and aliases added, and all this goes away in a puff of greasy orange smoke.

  • Settings of Mail Host and Mail Port in transaction: SCOT for the node: SMTP

    Hi,
    Could anyone please explain me the significance of Mail Host and Mail Port for the SMTP node in transaction: SCOT.
    It says Mail Server to which outbound mails can be passed.
    Can i specify my GMAIL ID in the field Mail Host and left blank the Mail Port so that the mail can be sent to my GMAIL Account.
    Please let me know if further details are required from my side.
    Thanks & Regards,
    Goutham.

    the below are the step to  configure  your  mail server  of anhy type ....
    Steps to perform in SAP:
    1. Transaction SM59 – Setup an RFC Destination for the execution of the email transfer
    a. Name: Internet Mail Gateway
    b. Connection Type: T
    c. Description: Internet Mail Gateway
    d. Activation Type: Start
    e. Explicit host:
    i. Program: c:<dir>mlunxsnd (I used c:sapmail)
    ii. Target Host: <Server_Name>
    f. (MENU) Destination -> Gateway Options
    i. Gateway Host: < Server_Name>
    ii. Gateway Service: sapgw00
    iii.<OK>
    g. SAVE
    2. Transaction SCOT – Setup a default domain for your system
    a. (MENU) Settings -> Default Domain
    i. <Default_domain> (i.e. [email protected], Domain – company.com)
    ii. This setting gives a default to any user who does not have their email address maintained in the system. <user_name>@<default_domain>
    3. Transaction SCOT – Setup of the Node for queuing the emails before transfer to Exchange
    a. Click on “INT” -> Create button
    b. Give Default name (I choose EXCHG, as this was the node type for the Exchange Connector)
    c. Give Description
    d. Assign the RFC Destination previously created (Internet Mail Gateway)
    e. Node: “Internet”
    f. Address area: *
    g. Supported address Types:
    i. All formats except the fllw
    ii. ALI, OBJ, OTF, SCR, URL
    h. Choose Ok and Save
    4. Transaction SCOT – Setup a job to execute the send process on the queue.
    a. (MENU) View -> Jobs
    i. Select the Create Button
    ii. Job Name: SAPConnect
    iii. Put Cursor on Variant: SAP&CONNECTINT *As you created an INT Node, you need to run the variant for all of the INT sending. You can select SAP&CONNECTALL, but if you are not using any other node types, you can run with SAP&CONNECTINT.
    iv. Select: Schedule Job Button
    v. Schedule job for a periodic run – approx. every 15 minutes
    vi. Save
    5. Transaction SU01 – Maintain each user’s email address
    a. Select users who require the ability to email from SAP
    b. Under the address tab, in SU01, maintain their email address.
    Steps to perform on the SAP system (operating System):
    1. Create a directory for the SAP programs.
    a. Create directory c:sapmail (Directory can be anything)
    b. Unpack the ML*.CAR file from SAP’s website
    c. Alternatively, copy the ML* files from /usr/sap/../run/ directory. This ensures version compatibility with your SAP instance.
    2. Create the directories for your “sendmail” program
    a. http://emailrelay.sourceforge.net/
    i. Download the emailrelay program
    b. Create directory c:winntspoolemailrelay
    i. Unpack the contents of the emailrelay zip into this directory
    c. create Directory c:reskit (Used to make the emailrelay program run as a service
    i. http://www.tacktech.com/display.cfm?ttid=197
    1. www.tacktech.com had some great instructions for creating a service on the NT side. (Thank you Tacktech)
    2. Use SRVANY to create the services, as documented below.
    d. Open command prompt
    e. Follow instructions for creating a service
    i. cd reskit
    ii. execute c:reskitinstsrv.exe "<SERVICE_NAME_Engine>" c:reskitsrvany.exe
    1. This service is the “engine”
    iii. execute c:reskitinstsrv.exe "<SERVICE_NAME_Send_Process>" c:reskitsrvany.exe
    1. This service is the “send process”
    iv. Modify the registry to represent the two new services
    v. View instructions for Parameters and Application Creation under the services in the registry
    vi. Command lines should be as follows:
    1. <SERVICE_NAME_Engine> - c:winntspoolemailrelayemailrelay.exe --as-server --no-daemon
    2. <SERVICE_NAME_Send_Process> - c:winntspoolemailrelayemailrelay.exe --no-daemon –-hidden --forward-to (your_mailhost):SMTP --poll 5
    vii. Start the services using service mgr.
    f. cmd prompt cd sapmail
    g. mlsomadm c:sapmailmailgw.ini (see below)
    3. Create a mailgw.ini file (This file is used by the mlunxsnd program)
    a. Open a command prompt
    b. Change to the directory c:sapmail
    c. Run command mlsomadm c:sapmailmailgw.ini
    i. This creates the parameter file for the send process.
    d. MAILGW.INI entries
    i. System Name: [SID]
    ii. Client: [000]
    iii. Username: [MAILADM] – no user required, as this is not being used for your connection
    iv. Password: [*******] – leave empty
    v. Language: [E]
    vi. Load Balancing: [N]
    vii. Hostname: [app_server_name]
    viii. System Number: [00]
    ix. Gateway Hostname: [ ] – you do not have to specify, it will use the default
    x. Gateway Service: [ ] – default will be used
    xi. Use SAP Router: [N]
    xii. Set Bcc Flag on Env..: [N]
    xiii. Trace Level <In..>: 1
    xiv. Trace file <In..> c:sapmailtracein.txt - Can be where ever you want
    xv. Sendmail Command: c:winntspoolemailrelaysubmit -–from <SENDER_ADDRESS>
    xvi. A warning may come up that says to not use the “–t” flag. IGNORE
    xvii. Codepage: [ISO-8859-1]
    xviii. Generate Notificat..: [N]
    xix. Trace Level <Out..: [1]
    xx. Trace File <Out..>: c:sapmailtraceout.txt - Can be where ever you want
    xxi. Update File c:sapmailmailgw.ini [Y]
    Steps to perform on the Microsoft Exchange System
    1. Allow the SAP systems to enter on port 25 to send mails using Microsoft Exchange (SMTP Communication)
    reward  points ....
    Girish

  • I am not able to use the ftp export in Muse. When I enter my host, name and password, I get a long interlude of rainbow wheel and finally the message that my ftp host cannot be found. I have verified the name and that it is port 21. I can export to html a

    I am not able to use the ftp export in Muse. When I enter my host, name and password, I get a long interlude of rainbow wheel and finally the message that my ftp host cannot be found. I have verified the name and that it is port 21. I can export to html and use another ftp client to upload (to the same server) but this is tedious and making minor changes is painful. Have you encountered this and found a solution?

    Hi Susan,
    In that case I will recommend that you consult a local technician/IT team and see if there is some network connectivity issue with your machine.
    - Abhishek Maurya

  • Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING

    hello colleagues,
    In the phase Connect Diagnostics dont show the Agent available in SLD, but when go to SLD i have the agents,
    Error,
    Connect Diagnostics Agent
    The table does not contain any data
    Agent availables in all SLD
    SOAP:1.007 SRT: Unupported xstream found: ("HTTP Code 401 : Unauthorized")
    Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING
    Thanks

    OK, then pls follow below steps;
    - Go to step 'Create Users' in solman_setup System Preparation scenario and make sure the user SM_INTERN_WS has a green status. Use the 'Test Login' button to make sure the user is not locked and has correct credentials maintained in solman_setup
    - Immediately after checking the user status, navigate to Configure Connectivity->Enable Web Services and execute again the 'Create Logical Ports' automatic activity, in order to propagate the correct credentials to the Logical Port definitions.
    - If the above operation is not successful, repeat the two steps above, providing a different user Id in 'Create Users' step, eg SM_INTERN_W1. This will prevent situations where the user gets locked by Logical Ports using an obsolete password.
    Let me know the results.
    Regards,
    Vivek

  • SMTP and POP3 mail unavailable

    Hi,
    I have installed and configured eMail application on collaboration suite. SMTP (in and out) and POP3 are started.
    When I try to connect from Outlook, it finds SMTP and POP3 server but cannot login to send/retrive emails.
    Also when I try to send mail from WebMail, the application returns the error:
    An error occurred while sending the message
    Server returned: Could not connect to SMTP host: OraServer, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect
    Please help me to solve this issue.

    For communications, use Sockets.
    For what to send over them, see the following:
    SMTP - RFC 821: ftp://ftp.isi.edu/in-notes/std/std10.txt
    POP3 - RFC 1939: ftp://ftp.isi.edu/in-notes/std/std53.txt
    ...it's all in there.
    HTH,
    Fredrik

  • Find portal oracle database host and port

    HI ,
    We have EP 7.0 sp15 with oracle database,
    Is there a way to find the host and port of oracle database programatically

    Hello namit,
    I'm the same problem, do you solved it ?
    Tks,
    best regards.

Maybe you are looking for

  • How to tell if Im on AT&T?

    Hey guys. I guess I live right on the edge of an area covered/not covered by at&t. I have noticed that my reception bars have changed from black and white to colored and I have even seen a E next to it. So my question is how do I make sense of the di

  • Can't Upgrade my G4 from 10.2.8. to 10.4....

    I have a G4 Dual 533 (digital audio) PowerPC with an external USB LG DVD rewriter attached to it. It is running 10.2.8 and I want to upgrade it to 10.4. I have the full Tiger install and when the OS X install disk and open folder appear on the deskto

  • What kind of glue do you use to glue the screen on?

    I found a site that shows how to take apart the iPod nano 6th gen. but it did not show how to put back together. Do you have to use a certain glue or is the glue still good?

  • "HP Solution Center cannot run because your device installation is not complete"

    I cannot use HP Solution Center because I only get this message when I start it: "HP Solution Center cannot run because your device installation is not complete". I am running Windows XP with an HP PhotoSmart Premium. I can print just fine and the pr

  • How can I add my photo to other users

    In setting up my wife's User account on our jointly owned iMac (Mountain Lion), I chose the cat from the optional images. I'd like to replace this with an image of our own choice, but can't see a way to do that. Suggestions welcome!