How to get mail server host?

Hi, All.
I try to implement my background co and get two questions.
1. How can I get the mail server host name which I set in GP Administrator?
2. How can I get my EP server`s host name?
Thanks a lot.

Hi,
No idea about first question.
For second, you can try this code :
try {
     InetAddress thisIp =InetAddress.getLocalHost();
     String url = "http://"+thisIp.getCanonicalHostName();
     final String instanceNumber = System.getProperty("SAPSYSTEM").toString();
     final int httpPortNumber = 50000 + 100 * Integer.parseInt( instanceNumber );
     url+=":" + httpPortNumber;
} catch(Exception e){
Regards,
Niraj

Similar Messages

  • Mail Server Hosted on outlook freely but services for same getting shut from 31 july 2014

    Dear Sir/ Madam,
    My Mail Server Hosted on outlook freely but services for same getting shutting from 31
    july 2014,
    i want to continue the same product please advice me to get the same, i got the mail from outlook is follow
    Dear Outlook.com Customer,
    About a month ago, we let you know that Outlook.com no longer supports new custom domain sign ups. As a current customer, we will continue to support the ability to log in to Outlook.com with your existing custom domain email address, but as of 31 July 2014,
    you will no longer be able to add or remove accounts in your domain.
    Instead, we recommend that administrators who wish to continue managing email addresses in their domain should consider Office 365 – Microsoft's premium online email service. By migrating to Office 365, you will be able to continue managing your custom domains,
    as well as benefit from modern enterprise-class mail, collaboration and communication tools.
    The previous email we sent you contained a complimentary 90-day subscription to Office 365 Small Business Premium for 5 users. This is a reminder that you need to redeem this offer before 15 July 2014.
    You will still be able to log in to Outlook.com with your custom domain during your Office 365 subscription, even if you choose to cancel your Office 365 subscription.
    How to migrate your account
    You can find a step-by-step guide to migrating your account here.
    Yours sincerely,
    The Outlook.com Team
    please help me,
    my contact no is - +91-9619899231

    Hi,
    Yes, as what Roady says, Outlook.com no longer supports new custom domain sign-ups. You can continue to login to Outlook.com with your existing custom domain email addresses. But after July 2014, domain administrators will no longer be able add or remove
    email accounts in your domain.
    Please consider to move to Office 365 to get enhanced features and capabilities for modern enterprise-class mail, collaboration and communications. About how to move your custom domain to Office 365, please refer to:
    http://windows.microsoft.com/en-us/outlook/migrate-custom-domain
    Regards,
    Winnie Liang
    TechNet Community Support

  • I can not use Safari because I get a server failure message. The same with email. Cannot get mail, server failure. How do I fix

    I Cannot use Safari to access my bookmarks, I get a server failure message. The same is happening with my email. I get a message cannot get mail, server failure. How do I fix the problem?

    It might be worth a shot to reset your router first. Unplug it from power for about 30 seconds and then plug it in again. Or try any other WiFi network and see what happens.

  • Cannot get mail server failed

    Message keeps saying Cannot get mail, server failed.

    i had to manually put in the correct email. I wanted to register a hotmail account but since it was giving me that response, I researched this issue. Finally, I found out some specifics and gave it a try. The post said to Go to Add email and Click Other. My email is a live account... I needed to type::
    host name: outlook.com
    SMTP (Outgoing mail server): stmp.live.com
    Server port as 995
    When I put all of that in, it worked. Hope that helps!

  • Mail server host

    Hi all
    How can I know the mail server host (your.smtp host)
    and  email server (your.mail.server) ?
    Regards
    Michael

    Hi Michael,
    There is not general configuration, it depends on your system...
    Ask your system administrator.
    Omri

  • How to find the server hosting office communication ?

    Hello
    How to find the server hosting office communication ?
    Thanks,
    Dom
    System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager

    Hello,
    I have:
    DG URL Internal;https://OCS.ad.xxxxxx.xxxx.xxx/GroupExpansion/Int/service.asmx;--;
    DG URL External;;--;
    Quality Metrics URI;;--;
    URL Internal From Server;https://OCS.ad.xxxxxx.xxxx.xxx/Abs/Int/Handler;--;
    URL External From Server;;--;
    Voice mail URI;sip:[email protected];opaque=app:voicemail;--;
    MRAS Server;;Not Configured;
    GAL Status;https://OCS.ad.xxxxxx.xxxx.xxx/Abs/Int/Handler;--;
    Controlled Phones;TRUE;--;
    PC to PC AV Encryption;AV Encryption Enforced;--;
    Focus Factory;sip:[email protected];gruu;opaque=app:conf:focusfactory;--;
    Telephony Mode;Telephony Mode Disabled;--;
    Line;;--;
    Line Configured From;Auto Line Configuration;--;
    Location Profile;;--;
    Local Log Folder;C:\Users\me\tracing;;
    MAPI Information;MAPI Status OK;MAPI Status OK;
    Inside User Status;TRUE;;
    Auto Update Download Started;--;--;
    Auto Update Download Completed;--;--;
    Last Auto Update Request;--;--;
    Pairing State;Communicator cannot connect to your desk phone because the USB cable is not plugged in. Make sure that you connect the cable.;Enabled;
    I see my email on the sip line but no server... what do I miss?
    Is it by the URL?
    Thanks,
    Dom

  • How to get Windows Server 2012 trial license key?

    How to get Windows Server 2012 trial license key? I'm trying to install WinServer 2012 Trial on a VMWare Workstation 9. I'm asked for the product key during set up. If I ignore putting in the key (since I don't have one) The install fails stating no valid
    key. I tried this with Oracle's Virtual Box and the same thing happens. I tried using Majic JellyBean to find the key, but that only works on pre-installed OS. A Technet article said to use aaaa-bbbbb-ccccc-ddddd etc. in the spaces. That doesn't work either.
    Articles all over the web seem to have other people in the same boat. Please help :)

    Download the trial version from here -
    http://www.microsoft.com/en-us/server-cloud/evaluate/trial-software.aspx  It does not require a key.  If the software is asking for a key, it is not the trial copy.  Where did you get your copy?
    .:|:.:|:. tim

  • How to get the server name/hostname on which JVM is running?

    How to get the server name/hostname on which JVM is running from the Servlet or normal class?

    InetAddress.getLocalHost()

  • Our company have just upgraded to iOS 6 and the majority of the users are now receiving the following error 'Cannot Get Mail – Server error. Contact your server administrator' when accessing ms exchange this never happened on iOS 5 can anyone help

    Our company have just upgraded to iOS 6 and the majority of the users are now receiving the following error 'Cannot Get Mail – Server error. Contact your server administrator' when accessing ms exchange this never happened on iOS 5 can anyone help

    Have you tried deleting the account and re-adding it on the phone?
    What version of Exchange server are you running?

  • How to get a server chain certificate

    Hi all,
    I'm installing SSL on Bea Logic server 6.0, but i dont know how to get a server
    chain certificate.
    Does any body know how to get this certificate?
    Also, I read in the e-docs site that we can use utility der2pem and vice versa
    to convert between them, but i odnt know where to get the tools.(It's not in the
    utils.jar)
    thanks for any answer.
    Uy

    Hi all,
    I'm installing SSL on Bea Logic server 6.0, but i dont know how to get a server
    chain certificate.
    Does any body know how to get this certificate?
    Also, I read in the e-docs site that we can use utility der2pem and vice versa
    to convert between them, but i odnt know where to get the tools.(It's not in the
    utils.jar)
    thanks for any answer.
    Uy

  • I get "mail server does not recognize your Apple ID and password" when I try to share a picture via email in iPhoto.  My iCloud email works ok otherwise.  I have check all mail settings for ID and password.

    I get "mail server does not recognize your Apple ID and password" when I try to share a picture via email in iPhoto.  My iCloud email works ok otherwise.  I have checked all mail settings for ID and password.

    In the iPhoto preferences ==> accounts delete the account and re-enter it - sometimes that resolves this
    Or IMHO the best long term solution is to set Apple Mail as the iPhoto e-mail client in the iPhoto preferences and use it - it has a number of advatages and has fewer problems
    LN

  • Cannot get mail, server unavailable error message n my Yahoo account only, but not on others

    Although I have no problem getting hotmail and other yahoo account messages, my PRIMARY email account has been returning an error message "Cannot get mail, server unavailable".  But my server is working just fine for everything else except my main yahoo account.  Could anyone shed some light on this for me?  Thank you all!!

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    The iPad's Mail app has no provisions for creating groups. However, you can use a third party app that many users recommend.
    MailShot -  https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
    Group Email  -  https://itunes.apple.com/us/app/group-email!-mail-client-attachments/id380690305 ?mt=8
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
    http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • Trying to add my thunderbird work email account to my new iphone, how do I find my "incoming mail server" and "outgoing mail server" host names?

    Got a new Iphone 6 and I need to add my work thunderbird email account onto the phone. It is asking me for the host name of my incoming and outgoing mail server and I have no idea what this means- please help!

    First off there is no such thing as a Thunderbird email account. Email providers issue email accounts and Thunderbird is email client software and not a provider.
    You can look at the server settings in Thunderbird to see the settings it is using or you could get a list from your provider.
    In Thunderbird go to the menu bar and select Tools-Account Settings-Server Settings to see the Inbound settings and Tools-Server Settings-Outbging Server(SMTP) for Outbound settings.
    No menu bar with Tools showing? Press the alt key.

  • How to get mail from POP3S or IMAPS server

    I have problem to get mail from pop3s or imaps potocol by javamail api.
    Help me please!

    Please refer the link http://www.javaworld.com/javatips/jw-javatip115.html. This could be the solution to your problem.

  • HT1277 incoming mail server host name on ipad 3?

    I updated my iPad 3 and lost one of my e-mail accounts...my @hotmail.com account is still showing up but my @me.com account is gone and I cannot figure out how to get it back on there. Specifically in the incoming mail server part...host name? Please help! I use this email for my business account.

    Try this configuration assistant for iPad:
    http://www.apple.com/support/ipad/assistant/mail/#section_1
    If setting up your ".me" account fails starting with "Other" in the assistant, then try iCloud and see if that helps.

Maybe you are looking for

  • Photoshop program error when type tool is selected

    I've been trying to use the type tool in Photoshop and I am able to select the tool, however as soon as I place the cursor on my document, I get a program error. From there, I have to force quit the program to get out of it. I downloaded a security u

  • Deletting the file that has been used in 'Additional Files' in FILE SENDER

    Hi people. I've developed an interface that has to send a ZIP file to an email address. I pick that file using a dummy file. This file is picked as an attachment and has been defined in 'additional parameters' of SENDER FILE. My problem is that i wan

  • Blank Line in an ALV Grid on screen

    Hello, I have added one ALV grid on a custom screen and appended it to the Opportunity Management transaction in CRM. The issue is that as soon as i toggle from display to change mode in the transaction, a blank line is itself appended to the ALV gri

  • MAXL Errors in a Working Script

    Hi All,Making the transistion to MAXL from ESSCMD under Essbase 6.2. I have a script that successfully builds two of my dimensions using the SQL interface from Oracle. What's strange is, even though the script works, mid-way through MAXL log file, th

  • Read my external drive files with Apple TV

    Hello, I just got yesterday the latest version of Apple TV and I am looking to be able to read files using Apple TV on my external drive, including MP3 and video files.  I'm a novice with iTunes and Apple products and I'm on Windows 7 with my compute