Can javamail use windows default outgoing smtp mail server and port?

how can i use windows default outgoing smtp service and port from javamail? is it possible to retrieve this info or just instruct javamail to use default?
thanks

Windows doesn't have a default SMTP server. However if you have something like Outlook or Outlook Express or Eudora or Netscape Mail or whatever set up on your Windows box, you will have already told it what SMTP server it should connect to.
That information would be in the Windows registry, or in the config file of whatever e-mail client you already have set up. However it's probably easier to just have your application ask for the SMTP server's name again rather than trying to find where some other application stashed it.

Similar Messages

  • What is the outgoing (SMTP) mail server for iCloud?

    What is the outgoing (SMTP) mail server for icloud?

    dominic23:
    That's just the name/description you can give the server that appears in Mail's preferences for that account.
    After selecting Edit you can put in whatever you want in the description. 
    advisor81:
    Why do you need to know the name?  If you add an iCloud account in Mail all you really need is your Apple ID and password.  The servers are automatically assigned.

  • Dpm 2012 email notification using a non-exchange smtp mail server

    Has anyone successfully been able to configure DPM 2012 to send email notifications to a standard SMTP mail server (NON-EXCHANGE)?

    Hi Happy,
    I try with IIS6 SMTP server with Anonymous Access.
    From DPM side, settings for "Authentificated SMTP Server: Username/password" :
    1- Leave blank =>ID 2013 : logon failure : unknow user name or bad password.
    2- DPMServerName\UserAccount => Works :)
    Network trace with Wireshark :
    1- Nothing => Most likely blocked by DPM console : Authentificated SMTP Server must be fill.
    2- See full SMTP connection, mail send.
    Could you do network trace to see what's happen ?
    Stephane
    Please remember to click “Mark as Answer” on the post that helps you. This posting is provided "AS IS" with no warranties. knowledge is valid only if it is shared by All.
    My DPM blog Yet Another DPM Blog

  • Can I use the VW outgoing SMTP servers for my personal email?

    I'm having trouble with my company not allowing my personal ISP to email me at work.  It means my wife can't email me from her iPhone.  Is it possible to use the Verizon Wireless outgoing SMTP servers for my outgoing email?
    Thank you,

        Hi bginsberg. I know how important it is to keep in touch with your wife. That sounds like a great idea to get around your work firewalls, but Verizon Wireless doesn't have an outgoing SMTP server anymore. http://bit.ly/QgXOOm But many email providers offer a free email account that you can use as an SMTP service if you need. I would suggest to contact your ISP/Email provider for availability of their SMTP email service.
    Thank you
    JenniferH_VZW
    Please follow us on Twitter @vzwsupport

  • TS3276 Inadvertently deleted Outgoing SMTP Mail Server.  Entered correct Yahoo email SMTP info and now SMTP is "Offline".  Can't SEND emails.  Help!

    Inadvertently deleted SMTP Outgoing Mail Server address.  Re-entered correct mail service provider's address and now have '(Offline)' tagged on server name.  Can't SEND any emails.  When I try, message will not send but goes into Outbox and sits.  How can I get this SMTP address 'Online'?  Help!

    For whatever reason Yahoo blocked access to their mail servers from Apple Mail in the past couple of days. I deleted my Yahoo account in Apple Mail and tried to add it back. NO JOY.
    Today, Yahoo has reopened their servers so that I could add my Yahoo account to Apple Mail again successfully. Even w the second app password.
    The problem was at Yahoo. Apple Mail people were either blocked or knocked off from their Yahoo servers for a time. This may happen again as it has in the past. I hope it doesn't become a frequent happening.

  • Can I use Windows XP Home with Boot Camp and/or Parallels or VMFusion?

    I am planning on purchasing a new Mac Mini with Snow Leopard. I have a copy of Windows XP Home Edition that came with a 7 year old Compac computer, can it be used with either Boot Camp and/or Parallels or VMFusion? I REALLY don't want to purchase Windows if I can help it. Thanks!

    Read the boot camp requirements. I believe you will need a Windows disc that is stand alone. By that I mean a Windows disc that is not designed for a specific computer like your Compac. I believe that applies for Parallels and Fusion as well. Some of the newer disc that come with new computers may work since some of them are stand alone. I think your compac disc maybe married to your computer. You can try it when you get your Mac but it may not work.

  • Can I use my New Imac as a server and a workstation/client at the same time ?

    I havea  brand new (2 months Old) Imac - 4 Gig, fully loaded and want to use it as a server using lion server app.  I want to use it for ical server, Addressbook and fileshareing with a bit more security.  I dont want to buy a new computer, just use the existing one to do these services.  At the same time, I want to still use this computer for my regular work. 
    There will be a few users with low traffic.  At the beggining, there will be only 1 other user for the calander, addressbook and file server.  Later it might grow to 4.
    Any thoughts would be appreciated !!!
    PS - Any advice on how to set this up or tricks would be appreciated
    Thanks Again

    Arik From Tel Aviv wrote:
    great Idea !!  Lets assume I dont want to go virtual - what is your thought on that ?
    Lion Server is a "layer" on top of client. The services run in the background and do consume resources like the RAM, CPU, and HD, while you're using the computer as a client. That said, when running a VM with say VMWare Fusion you dedicate Cores and RAM to VM, even if the VM doesn't need all the CPU horsepower or RAM for your server tasks. So it may be that running a full blown Lion Server as VM along side client is more resource intensive on your computer than just running Lion Server while also using it as a workstation.

  • SMTP Mail Server Address

    Hi All!
    Can we find the IP address of the SMTP mail server and its outgoing mail port number through java? If Yes, how?
    regards,
    Rajat Aggarwal

    Hi!
    Actually, I am using Java Mail API to send a mail.
    However, i do not know the SMTP mail server's address
    through which i should be routing my mail. I need
    some way to find the IP Address and the port number
    for this.In other words you're looking for random open relays to use to send spam through.
    Why should we help you do something that's illegal almost everywhere and very poor ethics even where not?
    If you've legitimate access to a mailserver you'll have been given the connection details.

  • Can I use my 3G iPhone as iTunes server while using the free remote app from another iOS device

    Can I use my 3G iPhone as iTunes server and use the remote app
    with another iOS device

    You should be able to set up numerous IMAP accounts on your iPhone with no problems.
    IMAP will not sync contacts and calendars in your local copy of Outlook.

  • How do I set up a POP mail account to use a different outgoing SMTP port?

    How do I set up a POP mail account to use a different outgoing SMTP port? on Maverick O/Sx. Cannot see option to use 2 different ports?

    In Mail>Preferences>Accounts tab>Account Information tab - from the 'Outgoing Mail Server (SMTP):' drop-down menu select 'Edit SMTP Server List...', choose the server you want to edit from those listed, click on the Advanced tab. Does that give you the option you're after?

  • HT4864 Can you use Windows Live Mail to send/recieve iCloud email and share contacts or can I just use iCloud email on my PC without use Live Mail?

    Can you use Windows Live Mail to send/recieve iCloud email and share contacts or can I just use iCloud email on my PC without use Live Mail? I want to use one email adress, one contact list and one calendar. I want to be able to have access to all this on my iphone and pc.

    You can only use Mail, contacts and calendars will not work, for that you need Outlook.

  • RE: Using JavaMail with JSP when access relay is denied on smtp mail server

    Could someone please let me know how to get around the problem of sending an automatic email from a JSP when access relay is denied by the smtp mail server. Could it be that the username and password just needs to be added somewhere???
    Any thoughts on how to solve this problem would be greatly appreciated.
    Thank you!

    I know what you are talking about because I setup no relay on my mail server. I understand why you need to supply a username and password because if the server doesn't allow relay, then you must supply a username and password. Doing it by IP address wouldn't work because you have to know the IP address of all people accessing that page. I am in the same boat as you and once I find out the answer, you'll be the first to know. There is one quick workaround. Get your Net Admin to create a user specifically for the page you plan to send from. Get him to allow relaying for that one user. That worked on my setup and like I said, I'm setup the same way you are. Thanks, J

  • Adding an SMTP mail server to an existing Weblogic server on Windows 7

    Hi,
    I need to send e-mail from pl/sql, using UTL_MAIL, but my google searches don't find how to add an SMTP mail server to my pc.
    I have found that Microsoft offers IIS but I think the SMTP server could be part of Weblogic?
    Please redirect me to the proper Oracle Mail forum if it exists.
    Many thanks for your help.

    Sure, all you need to do is install the server with the mailbox role (and other roles, if you want), configure whatever mailbox databases you want on it (and configure the other roles you have added), then put mailboxes on it.
    Some advice - do not use the GUI for the installation because it will install default mailbox and public folder databases.  If you use the setup.com (the text-based installation), you can control databases.  We had to rebuild a server once and
    the engineer assisting us had us use the GUI and we ended up with a public folder database, which we had to remove (since we have no public folders in our organization).
    Once you have the new server installed, you can either create new mailboxes on it, or you can move existing mailboxes from your other databases to it.  With the Exchange 2010 move mailbox commands, this is a very simple process.
    BTW, when you get around to removing your P2V'ed system(s), make sure you handle any CAS virtual servers (OWA, ECP, OAB) and ensure they are hosted on a server that will remain.  You could end up painting yourself into a corner if you don't.

  • Can't use my default address

    to send email on my iphone 4s, it goes to outbox. I have to use another email adress. How can I use my default address?

    Do you mean your default email account?  You didn't set up the SMPT (outgoing) server correctly.  Since you didn't tell us what type of email account or the provider, no way to give you specific advice.

  • How can I use windows software on the IMac

    How can I use windows software on my iMac? I know I can partition the hard drive but do I need to buy Windows OS?

    You can use Boot Camp, which comes with your Mac and install a copy of Windows on a new partition, or you can use a virtual application like Parallels. 

Maybe you are looking for

  • Weblogic 10.0 on HP-UX

    HI We have WLS 10.0 Mp1 installed on HP-UX 11.23 OS. The underlying java is HP JAVA 1.5.0.05. The server responds perfectly when small number of records are requested from the DB. But when a large amount of a data is requested the server returns a HT

  • Random Screen Saver: How to remove iPhoto Library ?

    When you tag "Use Random Screen Saver" in the System Preference Pane, the Screen Saver browses all the iPhoto Library. How is it possible to get rid of that, as the "minus" button is not working (anyway it is grey for all the directories in the list)

  • BPM 12c: How to connect bpm composer to the svn not with the integrated one

    Hi, I want to connect bpm composer with the our svn hosting on different server not the one which comes integrated to bpm suite (PAM). Regards, Anshul

  • Front Controller Pattern and issues

    Hi, I've implemented the front controller pattern using a Servlet and some JSP pages. The issue I have is that if the JSP page button is clicked, the controller handles the request and performs the proper forwarding. But for instance, if I type in th

  • Missing subVI NI_AALBase.lvlib:Mean.vi

    This is a duplicate post, but the other was a response to a 4 year old posting.  I have an application that was originally written in LV 8.x that I have just modified with LV2009.  I am now getting the same error reported in this thread, that being "