sending email

When trying to add hard coded text to the message body along with selected values off the form, the entire line will not appear in the email message.

message.println(getRadDD().getSelected().toString());

message.println(getModalityDD().getSelected().toString());

message.println(getPatientTxt().getText().toString());

If I add "Name: " + to the following line of code, the nothing will appear in the message body for this line.

message.println("Name: " + getRadDD().getSelected().toString());

[530 byte] By [xmlba] at [2007-11-27 6:03:53]
# 1
Check carefully your message structure. The string "Name: " + "some text" maybe its being interpreted as a message header. Try sending "Name - " + "Some text" to see if it works.Hope this helps.Antonio.
antoniovla at 2007-7-12 16:47:14 > top of Java-index,Development Tools,Java Tools...
# 2
I searched the form and found that someone suggested putting messge.prinltn("");right afrer the Subj println.This works, for some reason it likes to have that blank print line after the subj line.Thanks
xmlba at 2007-7-12 16:47:14 > top of Java-index,Development Tools,Java Tools...