By default, the client sends a message to email@example.com, a fictional email address. To change the email address in NetBeans IDE, do the following:
Right-click the confirmer project in the Projects pane and select Properties.
Click the Run category.
In the Client Information area, under Arguments, enter the email address to which you want the message sent.
To run the client in NetBeans IDE, right-click the confirmer project in the Projects pane and select Run. You should see the following line when the client has successfully sent the test message:
... Message sent to firstname.lastname@example.org. ...