Retrieving SMTP Server Host name

Hi All,
I have to send mails from SMTP server which has been configured on my Portal Server.
Can any body tell me how I can read the SMTP server host name using Web Dynpro/Java API?
Regards,
Sruti

Hi Sruti,
Package com.sun.mail.smtp
An SMTP protocol provider for the JavaMail API that provides access to an SMTP server.
Pls refre this link :-http://java.sun.com/products/javamail/javadocs/com/sun/mail/smtp/package-summary.html
mail.smtp.host-> String-> The SMTP server to connect to.
Hope this may help you.
Deepak!!!

Similar Messages

  • HT4519 how do i get an additional SMTP server host?

    how do i get an additional SMTP server host?

    Can we start again.. My site is now online, I couldn't wait any longer because I need it for my buisness so I got rid of the code that wasn't working.
    But I still need a rollover text to appear so..
    1) I go into the code snippets and add a mouse over event
    2) In my actionscript I add your text: yourtextfield.text = "whatever text you want to show";
    So do I make an empty text field first, give it a name and replace "yourtextfield" with the name?
    Or do I replace "whatever text you want to show" with my text and thats just it?
    Or both?
    Or am I way off?

  • Yahoo outgoing mail server host name

    Having Yahoo mail issues with iphone4, It will not allow the auto yahoo mail add, I did add it under "other" and can receive mail but not reply to it.
    I have the outgoing host name as smtp.mail.yahoo.com and below the server port is 25. I have changed the port yp 587 and 465 without result. Anyone know the correct outgoing outgoing server host name and port for yahoo mail?

    This old fogey will try to help you.
    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/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    FYI
    Complete guide to using iOS 6
    http://howto.cnet.com/ios-6-complete-guide/
    Guide to Built-In Apps on iOS
    https://sites.google.com/site/appleclubfhs/support/advice-and-articles/guide-to- built-in-apps-ios
    You can download a complete iOS 5 iPad User Guide and iOS 6 iPad User Guide here: http://support.apple.com/manuals/ipad/
    Also, Good Instructions http://www.tcgeeks.com/how-to-use-ipad-2/
    Apple - iPad - Guided Tours
    http://www.apple.com/ipad/videos/
    Apple iPad Guided Tours - Watch the videos see all the amazing iPad apps in action. Learn how to use FaceTime, Mail, Safari, Videos, Maps, iBooks, App Store, and more.
    http://www.youtube.com/watch?v=YT2bD0-OqBM
    http://www.youtube.com/watch?v=ROY4tLyNlsg&feature=relmfu
    http://www.youtube.com/watch?v=QSPXXhmwYf4&feature=relmfu
    How to - Articles & User Guides & Tutorials
    http://www.iphone-mac.com/index.php/Index/howto/id/4/type/select
    iPad How-Tos  http://ipod.about.com/lr/ipad_how-tos/903396/1/
    You can download this guide to your iPad.
    iPad User Guide for iOS 5
    http://itunes.apple.com/us/book/ipad-user-guide-for-ios-5/id470308101?mt=11
     Cheers, Tom

  • Problem. Help please. Server Host Name "already used"

    Hello.
    This isn't very critical. But I'm getting a little tired.
    For some reason, from time to time, it appears the following message:
    "The server host name '[my nameXX]' is already being used. It has been substituted by [my_nameXX+1]".
    So it keeps incrementing by 1 that index next to the name of the computer...
    It seems like the name of the computer stays somehow in the net, in the router or in itself, and when I restart my MacBook, it finds that the name is already used.
    Any idea??
    Thanks in advance

    Hola ElPiter, y una cálida bienvenida a los foros!
    The last time I saw this I think it was the Router or Server doing it.
    Does everything have the latest Firmware updates? Routers in particulasr can't be trusted for any Auto update/notification of Firmware.

  • Locations of server host name in different SAP system files

    Hello,
    We are implementing SAP ECC 6.0, with i5/OS V5R4 on IBM System i.
    Could someone please guide me on the locations where the server host name exists in the different SAP system files.
    We need to change this server host name, and the reason is that we succeeded lately in installing SAP on a new server using restore from entire system backup done on an old server where SAP is already installed, but we can't connect the new server to the LAN as the old server is still connected to it, and we can't have the same host name in the same LAN, even with two different IP addresses.
    Thank you in advance for your cooperation.
    Best regards.
    Reda Khalifa

    Hi Reda
    If the Host name is not the same..you may have to change in the startup/Instance/Default profiles, the new hostname...i.e..replace all the old hostnames with the new hostname....
    Also ..you have to check the Data area R3_<NN> in R3<SID>400 library and check to make sure the hostnames correspond to the new hostname...
    Then delete all the sql packages before you restart the system.
    Hope that helps
    Thanks
    Abhi

  • JDI Server Host name

    Hi All,
    Our JDI server host name is going to change from one server to other.So i wanted to know the steps which needs to be followed for pointing JDI to new server. Also wanted to know what would happen to the ongoing activities going on in a particular track in development/test environment. Kindly let me know if there is any doc which list downs all the steps to be followed when the JDI hostname is changing from one server to other server.
    Regards,
    Amit Bagati

    hi amit,
    check this thread
    Name Server Path
    let me know u need any further infor
    bvr

  • 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.

  • Getting the server Host name in Action Script?

    Good Morning --
    Is it possible in a flash movie (CS3/AS 3.0) to get the host
    name of the
    server running the flash movie?
    For example, if the URL is
    http://www.domain.com/movie.swf,
    I would like to
    be able to read a variable / function and have the result be
    "domain.com"
    Thanks
    Rich

    Excellent! Thank you. I will give this a shot.
    Rich
    "David Stiller" <[email protected]> wrote in
    message
    news:ff57ge$hj2$[email protected]..
    > Rich,
    >
    >> Is it possible in a flash movie (CS3/AS 3.0) to get
    the host name
    >> of the server running the flash movie?
    >
    > In AS2, it was a simple matter of checking
    MovieClip._url against the
    > root, since the main timeline is, after all, a movie
    clip ...
    >
    > trace(_root._url);
    >
    > ... then manipulating the string -- say, with
    String.substr() -- to format
    > it how you need.
    >
    > In AS3, it's a simple matter of checking the LoaderInfo
    instance
    > associated with the root. In AS3, the main timeline is
    an instance or
    > subclass of DisplayObject (such as Sprite or MovieClip),
    and
    > DisplayObject's have a loaderInfo property that refers
    to the necessary
    > associated LoaderInfo instance, which has a loaderURL
    property that points
    > to what you're after:
    >
    > trace(root.loaderInfo.loaderURL);
    >
    > If you pop a quick dynamic text field in the main
    timeline and give it
    > the instance name output, you could put this line of
    code in a script
    > layer:
    >
    > output.text = root.loaderInfo.loaderURL;
    >
    > ... and you'd see the info you're after. Again, use
    String methods to
    > chop off whatever part of the string you don't need.
    >
    >
    > David Stiller
    > Co-author, Foundation Flash CS3 for Designers
    >
    http://tinyurl.com/2k29mj
    > "Luck is the residue of good design."
    >

  • 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.

  • HT201320 what is the incoming mail server host name and user names

    Hi there,
    I am trying to add my school email account to my phone and I am able to fill in the
    Name
    Email
    and Description
    but am not sure what I am supposed to fill out in the Incoming Mail Server spots:
    Host Name
    User Name
    and the password is already filled in?
    and Im not sure what the Outgoing Mail Server is either.

    You'll have to ask someone at your school what the incoming server settings are for their email.  These differ for every email provider/account.

  • Smtp host name

    can anybody tell me if i set the SMTP server host name from .lh setup after loading all the users and objects into the repository ?
    will this have any affect on the data or any other unforseen problems?
    Thanks for your help.
    G

    the prod system is built and now i have to set the SMTP host before roll-out.
    Will there be any problems if i execute init.xml after configuring SMTP host??

  • SMTP Error Code : 530 . For more information, see your SMTP server manual.

    Hello,
    I am Getting
    "SMTP Error Code : <530>. For more information, see your SMTP server manual" error, While configuring SMTP in Data Services 4.0 system. I have tried executing the SMTP_TO function on another DS machine which has 3.2 verion installed, but getting the same error.
    FYI,
    1) Able to telnet the Exchange server through Data service machine
    2) Maintained SMTP settings in Data services server manager
    3) using the same SMTP server host name in other SAP systems (ECC,BI,PI) etc and able to send mails.
    Regards
    Puneet

    Thanks for the reply Julian.
    There was a problem in SMTP relay rights on Exchange server. Able to send mails now. Thanks!
    Getting another problem wherein I am not able to send mails to multiple recipients i.e. If I specify 5 recipients in SMTP_TO function and execute the job then Every individual is getting E-Mail having there own ID in TO field, other Id's are not gettting displayed in TO field.
    I hve checked note "1276348 - smtp_to function - multiple recipients not displayed"
    Settings mentioned in the note have been done and job is getting executed without any error but the mails are not getting delivered.
    It would be great if anyone can suggest on how to proceed here.
    Thanks & Regards
    Puneet

  • 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

  • Network Error []: Cannot Get Host Name when running business rules

    Guru's
    We are getting the following error intermittently when we are running business rules (Planning Application >>Tools>>Business Rules) or running SmartView refreshes:
    Network error []: Cannot Get Host Name
    The following is then logged in the Essbase Application logs:
    Local/Application/Database/admin@Native Directory/Error(1042022)
    Network error []: Cannot Get Host Name.
    A quick look at the Essbase Error Messages Doc says it is a network error and we have to consult the network documentation. Unfortunately this is not very descriptive so we logged an SR with Oracle but we don't seem to be getting a resolution.
    The environment is 11.1.2.0 and the architecture is as follows:
    Server 1 - MS Server 2008 x64:
    Planning, Calc Manager, Foundation Services, Framework Web Services, EAS, APS, Web Analysis, FR Web Services
    Server 2 - MS Server 2008 x64:
    Essbase Server
    Server 3 - MS Server 2008 x64:
    Framework Services, FR Print Services
    We have tried doing the following:
    1. Put in the server host names into the hosts file on the Hyperion Servers
    2.  Applied the following TCP/IP settings on all the Hyperion Servers and one of the user machines as a test:
          - Added a new DWORD Value named TcpTimedWaitDelay and set it to 30.
         - Added a new DWORD Value named MaxUserPort and set it to 65534.
         - Added a new DWORD Value named MaxFreeTcbs and set it to 6250
    3. Confirmed that there are no packet drops by monitoring the server NICs so no packet loss could be the cause of this issue
    4. The Essbase Config file has the following settings:
    NETDELAY 2000
    NETRETRYCOUNT 2500
    Has anyone come across this issue and if you managed to resolve it, how did you go about it.
    Thanx

    Hi Rahul
    The issue is happening to a number of calcs so it it not one calc specifically. I will ask the functional consultants to enhance the logging in the business rules so that we can see if the issue happens on a specific member\block etc and yes we do use Xrefs
    We can run this as a calc in EAS without any issues and it's intermittent because this business rule runs 95% of the time in Planning Application >> Tools >>Business Rules without any issues.
    Thanks

  • (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed

    Hello,
    I'm almost giving up on this...I've been messing with this for too long now...
    I get this error message:
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM 
    TYPE=B MSHOST=exts0002 GROUP=PUBLIC R3NAME=ANB MSSERV=sapmsANB PCS=1 ERROR       hostname 'exts0002' unknown TIME       
    Tue Feb 14 16:40:02 2006 RELEASE     640 COMPONENT   NI (network interface) VERSION     37 RC          -2 MODULE      ninti.c
    LINE        332 DETAIL      NiPGetHostByName2: hostname 'exts0002' not found SYSTEM CALL gethostbyname_r COUNTER     1
    I try to get the flightlist demo to work. I've put in "sapmsANB         3600/tcp" in services file locally in my machine (I'm using Sneak Preview SP11).
    I've also done everything in "/people/sugree.phatanapherom/blog/2005/08/14/configuring-sld-in-sneak-preview-sap-netweaver-04-sneak
    I've done everything possible to get this to work, but no luck.
    What is wrong here?, please help

    Now I've put in "193.183.156.17     PetJoh     PetJoh.afab.local" in Hosts -> rebooted -> but still can't ping exts0002 (or the fully resolved name to it) I can't ping the actual IP nr either.
    I can, however use JCO java code like:
    import com.sap.mw.jco.*;
    public class R3Connect extends Object {
         JCO.Client mConnection;
         public R3Connect() {
              try {
                   // Change the logon     information     to your     own     system/user
                   mConnection     =
                   JCO.createClient(
                   "100",                                        // SAP client
                   "rfcuser",                                   // userid
                   "jakob",                                   // password
    //               null,                                        // language
                   "en",                                        // language
                   "anb.af.hosting.emtab.com",               // application server host name
                   "00");                                        // system number
                   mConnection.connect();
                   System.out.println(mConnection.getAttributes());
                   mConnection.disconnect();
              } catch (Exception ex) {
                   ex.printStackTrace();
                   System.exit(1);
         public static     void main (String args[]) {
                   R3Connect app =     new     R3Connect();
    This works perfectly fine to connect, Why doesn't SLD?

Maybe you are looking for

  • Dynamic Maping to ACS groups using OU instead of NT group

    Is there a way to us the Microsoft AD OU groups instead of using the old NT groups to dynamically mapping users to the ACS groups? We are using ACS server at vers 3.2 as well as some test server on 3.3.

  • CUBE 0IC_C03

    Hi, I am using cube 0IC_C03. I however need to bring in planned data into this cube and i do not see VERSION or VALUE TYPE fields in this cube. How do i get planned data in this cube? Also i also need to bring in STANDARD PRICE in this cube. How do i

  • RCFaces integration with JDeveloper?

    Hi gang Before I go nuts trying to get this to work, has anybody successfully installed and used RCFaces components with JDeveloper 10.1.3.1 ADF Faces components? Regards, CM.

  • Help with registering a personal domain

    I can't find the setting to add this ( http://i27.tinypic.com/104g38y.png ) on Dynadot.com for my domain.... The CNAME thing, just can't find it...

  • Creating subject area in OBIEE 11.1.1

    Hi, Could anybody tell me which tools I have to use in order to create a subject area for using it in the OBIEE 11.1.1 ? I have searched a little bit through the Internet & Oracle documentations and it looks like I could use Oracle Essbase, Oracle Da