| Author |
Message |
|
|
|
Thanks, I managed to get it sorted. I am new to this whole java language so it's quite confusing for me!
|
 |
|
|
Hi,
I have these two codes which both involve sockets. I can't figure out how to combine the smtp code into my first code. If you look at the first code where it prints out "you are at picture A" it is here were i want to be able to send an email. I am quite puzzled as how to combine the two codes to make it work. Any help would be greatly appreciated.
First Code:
SMTP code:
|
 |
|
|
Hi guys,
I am experiencing problems when trying to send emails using the smtp. I am using the code below but am getting the following errors:
220 hawk.dcu.ie ESMTP Service ready
HELO localhost.localdomain
250 hawk.dcu.ie
MAIL FROM: adam.keaney2@mail.dcu.ie
501 Syntax error in parameters or arguments to MAIL command
RCPT to: adam.keaney2@mail.dcu.ie
501 Syntax error in parameters or arguments to RCPT command
DATA
503 DATA command outside of MAIL transaction
Subject: Test Email
Content-type: text/html; charset="us-ascii"
<b>You got mail!</b>
.
500 Subj command unrecognized
|
 |
|
|
|
|