adplus-dvertising
frame-decoration

Question

You send the email by making a call to:-

a.

Transport.send()

b.

Transport.sendTo()

c.

All of the mentioned

d.

None of the mentioned

Answer: (a).Transport.send()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. You send the email by making a call to:-

Similar Questions

Discover Related MCQs

Q. The default port used by JavaMailSenderImpl is the:-

Q. If you have a JavaMail session configured in your Java EE application server, you can first look it up with the help of:-

Q. MIME is supported by JavaMail through the:-

Q. The JavaMailSenderImpl instance you injected does implement this interface.

Q. Quartz supports several types of triggers:-

Q. SimpleTrigger allows you to set trigger properties:-

Q. CronTrigger accepts a Unix cron expression for you to specify the times to run your job.

Q. Spring also offers MethodInvokingJobDetailFactoryBean for you to define a job that executes a single method of a particular object.

Q. You can configure a Quartz SimpleTrigger object in Spring bean configuration file through:-

Q. Spring 3.0 debuts new support for configuring:-

Q. Template which can send and receive JMS messages with much less code

Q. The template handles the boilerplate tasks for you and also converts the JMS API JMSException hierarchy into Spring runtime exception:-

Q. To address different JMS APIs, Spring provides :-

Q. Before you can send and receive JMS messages, you need to install a JMS message broker:-

Q. There are several types of messages defined in the JMS API, including:-

Q. To send a JMS message with this template, you simply call:-

Q. The MessageCreator interface declares method:-

Q. A JMS template helps you to obtain and release the JMS connection and session.

Q. JMS sender and receiver classes can also extend to retrieve a JMS template:-

Q. When you need access to the JMS template.