Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

Ethernet Shield problem
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Ethernet Shield problem

by gekoch on Wed Sep 03, 2008 1:30 pm

Hello

So I got the Shield working but the E-Mail prog does
not work.
It says "+OK Logged in" but nothing does happen...
After a while it does start again connecting to the server
with the same result...

What could be the problem?

Thx
Geko

gekoch
 
Posts: 20
Joined: Tue Aug 12, 2008 2:08 pm

by gekoch on Wed Sep 03, 2008 2:27 pm

ok I got it fixed the reason was that my Mail server was answering by
"+OK Logged in."
and not like in the sketch:
"+OK logged in"

small but important difference :D

One question with the code "retr 1" you get the message from the Message number 1. How do I Print them on the Serial Monitor?

I tried:
Code: Select all | TOGGLE FULL SIZE
xport.println("retr 1");
  Serial.println("retr 1");

  while (xport.readline_timeout(linebuffer, 255, 3000) && (linebuffer[0] != '.')) {
   
    Serial.print(linebuffer);

  }


But it does not work properly. Is there a better solution?

Thx
Geko

gekoch
 
Posts: 20
Joined: Tue Aug 12, 2008 2:08 pm

Please be positive and constructive with your questions and comments.