I'm new here, I need lotsa help and I found no toturial about JavaMail

Hi there, people!
I'm starting to use JavaMail just now and I don't know ANYTHING about it.
For start, I need a program that looks inside a database and if a order was flagged as DONE I need it to send a mail to the client telling him it. All the logic part to do it is ok, but I still need to send the client (or clients) the mail. How do I do it? Do I really need JavaMail API? What SMTP server shoud I use (Yahoo?)??
The thing is: I haven't found a TUTORIAL about it. If any of you can't answer the questions I just put in here, maybe you could tell me one place I can find a tutorial about it.
Thanks in advance!

And as to what SMTP server you should use: You should use one you are authorized to use. That will generally exclude public servers like Yahoo and Hotmail. If you are doing this for a company then that company would usually have its own SMTP server, which is the one you should use. If you are doing it for personal use then perhaps your ISP (Internet Service Provider, the people you pay to connect you to the Internet) allows you to use theirs. Ask them.
PC²

Similar Messages

  • Hello and good day, can someone share me here in the Forum may, if they found a Adobe can put together package? Basically, I need only Photoshop and Adobe Premiere Pro! About a response I'd like Very much. Thank you very much and greetings Ralf PS. Accord

    Hello and good day,
    can someone share me here in the Forum may, if they found a Adobe can put together package? Basically, I need only Photoshop and Adobe Premiere Pro! About a response I'd like Very much. Thank you very much and greetings
    Ralf
    PS. According to Adobe, this should determine a Adobe ID be possible!

    You may buy two individual subscriptions
    Cloud Plans https://creative.adobe.com/plans
    -and subscription terms http://www.adobe.com/misc/subscription_terms.html

  • My new K7N2-Delta need some help here!

    Recently i bought a brand new k7n2 delta L and i need some advice on how to overclock with this new mobo, with the km2m it was piece of cake but this is a little bit more complete. I will appreciate the help and tips in this matter more over because my first attempt resulted on a non responsive system :P no post to be more clear.
    Thanks in advance.
    By the way my cpu is an athlon xp 2000+ tbred (i don't know if it is unlocked)

    read all this first
    https://forum-en.msi.com/index.php?threadid=40413&sid=
    https://forum-en.msi.com/index.php?threadid=32088&sid=
    https://forum-en.msi.com/index.php?threadid=38822&sid=

  • A very new user needs some help and advice....

    Hi,
    I have just taken the bold leap into Indesign and this is the first day of my 30 day trial.
    I need help and advice from you good poeple...please.
    I have been successfully creating A5 booklets (folded A4) using MS Word and printing to a desktop printer. MS Word sorted out my page order for me at printing time so the correct pages were put together.
    I have been reading as much information as I could find but I am still unable to do the same in Indesign.
    I'm looking forward to using the advanced layout features and having control over what I do but, I need to work out this basic step before I go any further.
    I hope what I have explained makes sense.
    Regards
    John

    So presumably you create a new document, A5 portrait, facing pages. Make sure your ducument page count is a multiple of 4.
    Create, type, tweak, ponder, edit, smile, save.
    To create you booklet using InDesign, from the file menu select Print Booklet.
    You will probably need to jump back and forth from the Print Settings button adjusting Paper Size, Orientation, Color, and from the Print Booklet tab set for 2-up Saddle Stitch.
    Much has been posted on this topic, these are the basics, Print Booklet is not the best module Adobe ever wrote, IMO

  • Hi new here but need advise please

    hello i am new here but my iphone is a real problem, i try to connect it to itunes and it comes up with this sim is not compatable been sent off and repaired but when got it back it does the same thing any ideas would be greatful very upset that it still doing the same thing it has been sent off to repair again

    Hello, welcome to apple support community! Your problem I'd very odd and im sure it is very rare, I'm not very sure what a good solution might be. Maybe you can consult the nearest Apple Store or call apple technical support. If it is a problem with ur iPhone than apple can fix it. If nothing works I think u Gould change carriers that fully support the iPhone.

  • New to PP, need some help...

    Hi all, just a quick question as I get into Premiere Pro CS4 (on a Mac Pro, 8 core, 12 GB RAM)
    I have 2 cameras I'm working with, the HV30 and the Canon T1i, the HV30 works great, imports properly, and plays back/ edits nicely without the yellow bar above it in the timelline.
    The T1i is a bit more frustrating, I can't seem to find a way to convert the footage to a format that Premiere likes. I've tried converting the MOVs to many different formats, but none of them are playing nicely with Premiere.  The playback is very jerky at times, sometimes tha audio plays and the video hangs then speeds up to catch up, and zooming in the timeline with the video thumbnails turned on takes forever.  I'm guessing my Mac Pro should be able to handle this, esp since it works pretty good with the HV30 footage.
    Does anyone have a suggestion as to a codec or format I should convert to?  I have MPEG Streamclip and Quicktime Pro, and can convert to many formats with both of those.  Thanks for any help!
    PS: the T1i footage is 1280x720, so it's not FULL HD.

    Well, PrPro normally handles the H.264 CODEC pretty well. Now, some have expressed displeasure with the Apple version, though mostly for encoding. The Lead and the MainConcept get higher marks. Not sure which version you have. Again, and coming from the PC-world, I'm not sure if either of those other two will install on a Mac. I assume that they will, and believe that each has a trial, but could be incorrect there. Might be worth a try.
    As for G-Spot on your PC, I'd do that, just in case. It's a tiny program, and quite good - plus it's free. I think that it is the most often recommended utility on this, and most other video fora.
    Also, the CD Audio sample rate of 44.1 should not be an issue, as PrPro handles that well, though there will be some Conforming time, beyond just the conversion to 32-bit floating point.
    Sorry to be speaking in such generalities, but much of that is because of my PC usage. Could be something Mac-specific, that I am blind to. Good luck, and I'll keep thinking about your file specs. Thanks for posting those.
    Good luck,
    Hunt

  • Need some help and guidance please!

    Hi everyone,
    I desperately need some help because I am at my wits end.   In September I purchased a Compaq Presario CQ60-450US.  Shortly after purchasing, I fresh installed Windows 7 Professional.  Recently I decided to tried to dual boot ubuntu on the machine only to find that the installation failed because of CD read error.  I know for a fact that the CD is not the issue because I have used this CD three other times to install ubuntu thus I came to the conclusion that the CD/DVD drive was bad.  
    I called HP support to get a new CD/DVD drive replaced only to spend 2 hours on the phone with a individual that decided to troubleshoot first trying to install ubuntu remotely (I informed the indiviual that the remote session would end), then by playing a DVD and "skipping throughout" the movie.  He/she said that she could see no issue.  (no diagnostic was run)I informed the individual that I had issues with buring as well.  He/she proceeded to go online and install software asking me to demonstrate the issue after which the call got dropped mysteriously.
    I called HP support back and told them that I am having an issue now burning.  They proceed to connect remotely and look at the software the previous support individual downloaded and said that the software was not supported by HP.  I informed the individual that I give permission to install any software needed to troubleshoot but the individual said that I could not be suppoted because I wasn't using the OS installed by HP.  I was instructed to recover my machine to the OS that was installed with the machine if I was to continue to get support.
    I informed the individual that the drivers and software are the same for either OS considering the CD/DVD rom is a plug and play device.  The individual refused to help and told me I had lost my warranty because of my decision to install an OS directly from Microsoft or a third paper vendor. 
    That is where I stand.  HP is refusing to give me support because I am not running their Vista Home edition even though my issue is hardware.  I cannot find any warrent information stating that I need to have the original operating system installed on the machine to receive support.   Can anyone point me to a reputable division that can help me with my issue?  I feel I was just thrown aside so that they don't have to initiate a repair.  If not has anyone filed a compalint against this outrageous support requirement?   

    Dear ndjumpball,
    I would like to say that I have some good -- or at least encouraging -- advice.  Regretfully, I do not.  I had issues with my dv7 practically since purchasing it a year ago specifically so I would have a reliable computer for school.  My first problem: I bought my laptop a mere 7 weeks before HP started offering their free upgrade to Windows 7.  Consequently, I was forced to purchase the full installation retail or continue to deal with the wonton freezes and system failures that inevitably occurred while I was working on homework -- courtesy of HP's installation of Vista Home Premium 64-bit.  Thankfully, I was able to purchase a copy of Windows 7 Professional 64-bit through a significant student discount offer from Microsoft, and I had my new OS downloaded the evening of October 23, 2009; I had to give their servers time to free up, since it seemed like everyone and their dogs were also downloading what the reviews posted on CNET and PC World touted as being more reliable.  I recall (I can't remember exactly which site this appeared) the statement, "Windows 7 is what Vista should have been from the beginning."
    I was all excited and happy now that I had a laptop for school that had everything I was looking for:  decent size hard drive, a fair amount of RAM, great 17.3" display with awesome colors, and a CDRW/DVDRW/Blu-Ray disk drive in the bay.  Not only was I very satisfied with the hardware; it also came with a decent host of software that are thought was pretty cool, too.  It came with CyberLink's DVD Suite 6 that I could activate simply by touching a soft button above the keyboard.  Aside from Vista Home Premium crashing on me at the most inopportune times, I was exceedingly happy with my $1000 purchase and investment.  Then came the "upgrade" to Windows 7 Professional 64-bit...Because I didn't have a "compatible" version of Vista, I had to do a full ("custom") install.  In other words, I lost all of the cool features I originally bought the machine for in the first place...no more cool one-finger's brush software activation (still don't have that working), and HP Chat Support told me the same thing they told you.  The following is a direct copy/paste quote from an email response I received from HP Total Care:  "In order to help you relevantly I would like to request you to please revert back to Vista operating system and check whether the issue is persisting or not.  If the issue is still persisting after reverting the operating system back to vista then we need to perform system recovery."
    After pursuing my case for 6 months -- finally getting my case escalated to two HP Customer Care Case Managers in Texas/Oklahoma -- the best "customer support" I received was what I'm sure was a truly heartfelt and sincere apology...  Oh, neither case manager was "able" to send me either the true upgrade disks that would have preserved the features purchased, nor were they willing to send me a stand-alone installation of the CyberLink’s DVD Suite 6 that is currently offered with the HP Pavilion dv6t Quad Edition series.  (In massive frustration and anger, I bought the CyberLink’s DVD software - $100 I didn't have to spend on something I had already bought...)
    A month later (late March), MY CD-RW/DVD-RW/Blu-Ray drive stopped working.  After an hour online with Customer Care, I had finally convinced the rep that the drive was working fine after my ditching Vista Home Premium, and that its failure had absolutely nothing to do with Windows 7 Pro.  After giving the guy my credit card number as security, I had a replacement drive shipped to me.
    My personal recommendation:  clearly state that the hardware failure had nothing to do with whatever software or OS you chose to install.  Bottom line:  your computer is only 8 months old and is still covered under warranty, they can replace the defective part, or you can return the entire machine.  You probably want to be the "Nice Guy" but you need to remind them that you have other brands available to purchase.
    I don't know if that helps or not, but thank you for giving me the opportunity to vent!  :-)

  • A newbie in need of help and advice

    I was wondering if someone could help and advise me...
    I got my macbook at the beginning of the year.. I love it, so far. BUT as its my first mac, I know nothing about them or how to proceed.
    I understand there is a thing called 'bootcamp', where I can install Windows. I have just started college and a lot of the stuff I will be working on in class, I would like to continue at home, so I need windows.
    Obviously after persuading my hubby to buy me a mac, I cant turn around and say its no good for college work. Now this bootcamp and installing windows... would I get virus's like a normal windows computer? This was my big thing about buying a mac, the lack of virus.
    How do i even go about getting windows? etc
    Many thanks in advance
    Nic

    Hi Nic,
    You can buy your own genuine copy of Windows from either Microsoft or a reliable reseller like Amazon. I would recommend Windows 7 Home Premium. On Amazon you can find a reasonable discount at the link below.
    http://amzn.to/qVtBvK
    Once you get your copy of Windows, you can proceed with the Boot Camp installation.
    1. Open Boot Camp Assistant after backing up important files and documents.
    2. You should have a Snow Leopard OS X DVD on hand if you bought the Mac last year. If you don't, click the bullet that says "Downoad the support software for this Mac," and you should save all of that to some external source like a flash drive or external hard drive, CD, DVD, something.
    3. If you do have an OS X DVD, click that bullet instead.
    4. Partition your hard drive. It may sound intimidating but all it means is divide the space according to how much you want to give Windows and how much you want to leave for Mac OS X. Dividing in half is usually the easiest way so click "Divide Equally."
    5. Click Continue and when you are prompted, insert the Windows DVD and click Start Installation.
    6. When the Windows Installer prompts you to select a place to install, click on the partition of the hard drive that says "BOOTCAMP" and click Drive Options > Format so Windows can install correctly. It will tell you it won't be able to install at first, but when you click Format under Drive Options, it will be able to.
    7. Proceed with the Windows installation. When it has to restart, hold down the Option key as your computer turns on and select the hard drive that says "Windows," NOT the CD/DVD icon that says "Windows".
    8. Continue with the installation. When it is done, you can insert your Mac OS X DVD (on Windows) and install the Boot Camp drivers, or if you saved it to an external source, connect it that way and install.
    9. To change between operating systems, just restart the computer while holding down the Option key and when the menu appears, double click on the OS you'd like to start up with.
    Feel free to ask if this seems confusing at all.

  • Can we get a new category for posts besides "Helpful" and "Solved"?

    Because there should be a button for "Opposite of Helpful" to label those posts that pretend to be answers, but are really just a waste of pixels or a means for someone to get their message count up.
    Most of the time the users are fantastic and helpful and at least try to help you solve a problem, even if they don't have the answer.
    But then there are The Others.
    And rather than indulge in a slanging match, it would be nice to just click on an "Unhelpful" button to stop some (hypothetical) poster from advising you to (hypothetically) "Get a Dell!" to solve your Mac problems.

    Hello fogharty,
    As Nick posted above that system of applying helpful/unhelpful to posts was tried a few years back and was found to not work as many users abused it and it did not function the way it was intended.
    Once you have achieved level two status through acquiring points in the current system you will be able to report posts to the moderators to have them edited or deleted if they don't follow the Terms of Use of the forums. You also can always post your concerns about a topic/post here in this forum for the moderators to attend to. Just include a link to the offending post or topic.
    One never knows though, the system might changes again but that is up to the powers that be
    littleshoulders

  • I need your help and opinion on JNI

    I am assigned a task to build one Java API above one existing protocol stack written in legacy C++, which involves UDP and TCP communication.
    The C++ code involves callback method.
    My qustion is:
    1. I only tried some simple examples on one way trasfering, for example, invoke c++ from Java (HelloWorld example), and either invoke Java from C++. Is it possible to do it all together? I mean invoke C++ from Java and invoke Java from C++ for the callback methods at the same time?
    2. Is it possible to do this with JNI? I doubt because it involves callback method in C++ code, so in Java, a interface should be created with the callback method declared inside it.
    I really need your help!

    1. Yes it is possible to call out of java into C, and back into java from C. And the tool of choice is JNI.
    2. You better buy a JNI book.
    3. As you get into it, you will probably find that designing around threading issues become important. Scan this forum.

  • Hi - I am new here: I need help and advice on the White Macbook - thanks.

    Hi all,
    I'm a new member to this forum + I am soon to be a new user of the Macbook.
    I have ordered my new White 2.16 Macbook with an upgraded 2GB RAM & an upgraded 16GB HDD.
    I have some questions which I would like answered please:
    1) How likely is it that my macbook will get the cracks near the wrist rests?
    2) How likely is it that my white macbook will discolour? Are the latest 2007 range also facing discolouration like last years models? How soon does the discolouration start to show?
    3) Is the macbook a SOLID build? Or does it feel cheap when you touch and feel it?
    4) How likely is it that the outer glossy body will get stratched? I remember the previous Ipods were poor quality and got stratched even by normal use or by putting it in your EMPTY pocket.
    5) How likely is it that I will encounter hardware issues?
    6) Is the Macbook AS GOOD AS Apple say it is?
    Reason I am asking all these questions is because I am investing quite abit of money in a never before used item and with a company who I have never dealt with.
    But having read all the issues and problems with apple products one has to ask these simple questions.
    I mean even if you go out and buy a real cheapo laptop you would almost never come accross these poor quality issues in such a short time period has Apple users are stating.
    Thanks, I look forward to the answers.
    PC   Windows Vista   Awaiting delivery of my new White Macbook: 2.16GHz - Intel Core 2 Duo - 2GB memory - 160GB hard drive.

    1) It's impossible to guess the likelihood of cracks. We don't have the numbers.
    2) Discolouration seems to have been a problem specific to some earlier ones.
    3) The MacBook is solidly built, but still feels more fragile than a MacBook Pro or even an iBook.
    4) the outside plastic is easily scratched.
    5) impossible to say, we don't have the numbers
    6) Yes, it is that good. Great computer.
    Any question you wrote which includes the words likely or likelihood is impossible for users to answer meaningfully, since we don't have access to any good numbers. Just from watching this discussion board, it might appear that cracks and discoloration are likely, but since Apple has sold millions of these things, these issues might really be measured as a small fraction of a percent. We just can't know.
    Quad G5, PB 15" 1.5Ghz,MacBook 2.0GhzCore2Duo   Mac OS X (10.4.10)   Logic Pro 7.2.3, Focusrite Saffire...

  • New to flex, need some help

    Hello, I am a new user of Flex 4 and have recently gone thru the training courses available here (Flex in a week).  I have been tasked with moving some of our firm's webpages that use jsp and spring to connect to a mysql database to a flex frontend. 
    I've been looking over the BlazeDS tutorial (http://www.adobe.com/devnet/flex/articles/spring_blazeds_testdrive.html) and it seems rather helpful, but I could use some help in how to make a connection to a mysql database on an external server-- where does the connection info go, user name, password, etc. 
    In a nutshell, the application I am to design would need to be able to go out to a database to first verify user credentials, then to upload csv files and store the data into a database, and finally allow users to retrieve the data in datagirds and display in basic bar charts.  Thanks to the training, I have a good understanding on using the datagrid, but the connecting to an external database is where I'm having trouble. 
    Also, I have seen a flex webpage where data is displayed in a chart and the user can export the chart as a jpg or export the input data to a csv file.  Is anyone familiar with this capability?
    Thanks for your help-- I am excited to learn all there is to know about Flex!

    I would you should read the following link completely.
    http://www.adobe.com/devnet/flex/articles/flex_hibernate.html
    You need to create an Client/Server-application with 3-tiers client, application server (Java/Hibernate/Spring) and database server (MySQL for example).
    Just buy a book over Flex and Java and read it.

  • One song stops after a few seconds on a new ipod touch, need some help

    So I just got a 16gb iPod Touch as a gift and it works fine, all my songs play fine except for one of my songs that stops after like 7 seconds of playing. If I have it on repeat it will keep doing the same thing but if I forward the song a bit it will play fine till the end. Now this song plays fine on my PC, and it has played fine on my previous iPod video. Any one have any idea on why this is happening? It's kinda scaring me since I don't have the receipt for this iPod Touch and thats one of my favorite songs.

    I had the same problem with one particular track I downloaded off Limewire earlier today and I've downloaded lotsa stuff on there over the years. I guess I'm fortunate compared to some of you with like 10 songs affected.
    Anyways a little troubleshooting helps here. First off, it shouldn't be happening with any track downloaded off iTunes. Those are clean as a whistle in my experiences although iPod touch had some bug issues with songs stopping few seconds into them when they first came out last year. That problem appears to have been rectified unless you guys haven't done an update lately on your units.
    So if you're downloading off Limewire or some other peer-to-peer service, you're probably getting a corrupted file that is causing this problem. I tried a couple different file downloads of the same song from different users and parameters until I found one that finally worked. It is true that a corrupted file will play on the older iPods because in my case it did on my 80GB and on my computer. It's only iPod touch that appears finicky about what it wants to play.
    This is most likely therefore not a bug specific issue with Apple that you can rely on fix. You guys are probably gonna have to find new source files for your affected songs until you get one that works. Pain in the arse no doubt but the only real solution.
    Cheers!

  • New in Oracle need basic help

    Hello
    I'm new in Oracle (First day in oracle), in one company i have Oracle 11g (windows server 2003), but the problem is that I need to understand:
    1) Name an location in file sistem of instances created
    2) Name an location in file sistem of databases created
    3) What is the best full backup method and how to create backups using cmd ?
    google.com didnt help me.
    Can some one help me ?

    Hi there,
    in Oracle we have a schema concept - All objects with segments are within the schema
    Every schema can use one or more tablespaces
    Each tablespace should have at least one datafile associated.
    With that said, You can run this query to know where is your schemas:
    Select owner,tablespace_name,sum(bytes/1024/1024) MB from dba_segments group by owner,tablespace_name;
    And to check the location of each tablespace:
    select tablespace_name,file_name from dba_data_files order by 1,2;
    And to check all directories that have some file from the database
    http://heliodias.wordpress.com/2007/10/04/oracle-diretories-list/
    Regards,
    Helio Dias
    http://heliodias.wordpress.com

  • New to Programming, need your help with writing code for java in Xcode.

    Hey everyone! Sorry if I sound like a total idiot here with a bunch of developers but I could really use your help. I am in college and having a bit of problems with my intro to programming class. The class is entirely Java based and so, after having to use dos windows on my grandpas crappy laptop I found out about xcode. I downloaded and installed it but I am having problems seeing where exactly it is that I am to write my code for a normal java application. Any help would be greatly appreciated! I wrote it on the bottom of a bunch of code that looked strange to me. For relatively simple java programs I chose the java application template. Is there something here that I missed?

    The Java Application project template looks like it sets up an application and some kind of starting UI using Swing/AWT. I didn't look at it too indepth, but if you are in an introductory course this might be more than you need to complete your assignments. There doesn't seem to be blank Java template, so I don't know what you should use. Perhaps just a blank project you add your .java files to.
    To answer where to write code, you would write it in your .java files under the /src folder. Execution begins in
    public static void main(String args[]) {}
    in YourAppName.java, then creates an object based on your application class, and runs the code from there to display the UI.

Maybe you are looking for

  • Multiple iPhones on one iTunes account

    Is it possible to use two iPhones on the same computer with the same iTunes account? Ie my wife and I sharing the same computer.

  • Keynote 6 file cannot be opened - how to fix a corrupted file?

    A working Keynote 6 presentatiion now isn't. What can I do?

  • LDAP Client Configuration in Non Global Zone

    I have configured 3 non global zones (different ip addresses and different names from global zone), installed LDAP client 2 on each, which worked fine, until the zones were rebooted. The ldapcachemgr was running, but authentication does not work--hav

  • The first character in a string

    I need to return the first character of a string, convert it to an integer, and compare it with another integer to see if they're the same. Sounds simple, even for me, but it won't work!!! // First question > Object userValue1 = JOptionPane.showInput

  • Segmentation fault while install Grid 11.2.0.3

    Hi guys.    I try to install  a stand alone oracle Database 11.2.0.3 with ASM over a RedHat 6.4 x86_64 Vmware server. Hardware 4 cores 32 GB RAM Vmware server 5.1.0 Operating System RedHat 6.4 x86_64, 2.6.32-358.6.2.el6.x86_64 (update today with yum