EasyManuals Logo

Arduino Pro Mini User Manual

Arduino Pro Mini
311 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #202 background imageLoading...
Page #202 background image
EHLO
250-smtpcorp.com Hello dslb-088-077-003-169.pools.example.net [88.77.3.169]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH CRAM-MD5 PLAIN LOGIN
250-STARTTLS
250 HELP
AUTH LOGIN
334 VXNlcm5hbWU6
bm90bXl1c2VybmFtZQ==
334 UGFzc3dvcmQ6
bm90bXlwYXNzd29yZA==
235 Authentication succeeded
MAIL FROM:<arduino@example.com>
250 OK
RCPT TO:<info@example.com>
250 Accepted <info@example.com>
DATA
354 Enter message, ending with "." on a line by itself
from:arduino@example.com
to:info@example.com
subject:This is a test
Really, it is a test!
.
250 OK id=1WrAQ9-4gfLuZ-5U
QUIT
221 smtpcorp.com closing connection
Connection closed by foreign host.
Although its more complex, this session is similar to our Daytime example.
We only send more complex commands. (By the way, you dont have to write
the commands in uppercase.) Please note that were connecting to port 2525,
which is not the standard SMTP port (25). Check your SMTP service providers
website to see what port you have to use.
We start the session using
EHLO
. We use the
EHLO
command to tell the SMTP
server that wed like to use a slightly extended version of SMTP that supports
authentication.
After that, we send the
AUTH LOGIN
command to tell the SMTP server that wed
like to send our username and password. The SMTP server sends back the
string VXNlcm5hbWU6. It looks a bit weird at first, but its only the string
Username: encoded using Base64.
3
3.
http://en.wikipedia.org/wiki/Base64
At
http://www.freeformatter.com/base64-encoder.html
, you can convert
text into Base64 strings.
Chapter 11. Creating a Burglar Alarm with Email Notification 186
report erratum discuss
www.it-ebooks.info

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Arduino Pro Mini and is the answer not in the manual?

Arduino Pro Mini Specifications

General IconGeneral
BrandArduino
ModelPro Mini
CategoryMotherboard
LanguageEnglish

Related product manuals