On 28 June 2011 21:19, seraphim3200 <seraphim3...@gmail.com> wrote: > Thank you for your quick reply. I've already added the activation.jar. I'm > expecting there's should be an option. I've successfully run a send mail > script like this, > > props.setProperty("mail.transport.protocol", "smtp"); > props.setProperty("mail.host", mailhost); > props.put("mail.smtp.auth", "true"); > props.put("mail.smtp.port", "465"); > props.put("mail.smtp.socketFactory.port", "465"); > > props.put("mail.smtp.socketFactory.class","javax.net.ssl.SSLSocketFactory"); > props.put("mail.smtp.socketFactory.fallback", "false"); > props.setProperty("mail.smtp.quitwait", "false"); > Session session = Session.getDefaultInstance(props, > new javax.mail.Authenticator() > { > protected PasswordAuthentication getPasswordAuthentication() > { return new > PasswordAuthentication("n...@server.com","mypassword"); } > }); > > > using mail.jar. I was thinking there's also an option for > passwordAuthentication in Jmeter mailer visualizer. i'm using smtp. > > How can I automate the mailer to send me a notification if there's an error > in my test? I was asssuming Mailer Visualizer is the right thing...
It is the correct test element to use. However, it only supports plain SMTP, no SSL, no password. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org