hi everybody, i am chaitanya. i wrote a code which will connect to the yahoo smtp server and post a mail to the destination.
first i tried it using telnet from command prompt. i was a success. i thought to send an email through my
java program. so i wrote this code.
each time we send a message to the server it replies with some numbers such as 220 250 334 as success proceed.
while sending the mail we have to get authenticated with the server. we have to send our mail id and password in base64 format. while i am sending my id to the server in base 64 format i am getting the reply as
----------451 Invalid Smtp line - Should end with CRLF
please help me.