I would like to implement an error reporting mechanism into my application: If an error happens the user should be able to directly send me this error message.
I thought of doing this with JavaMail. My question is now: to send an email I have to authenticate on an SMTP-Server. Is it save to write the password into the source code? Or what is the proper way of implementing an error reporting function?