Added \r\n endings
diff --git a/contiki/apps/smtp-strings b/contiki/apps/smtp-strings
index a9e937c..27f639c 100644
--- a/contiki/apps/smtp-strings
+++ b/contiki/apps/smtp-strings
@@ -2,8 +2,10 @@
 smtp_helo "HELO "
 smtp_mail_from "MAIL FROM: "
 smtp_rcpt_to "RCPT TO: "
-smtp_data "DATA"
+smtp_data "DATA\r\n"
 smtp_to "To: "
 smtp_from "From: "
 smtp_subject "Subject: "
-smtp_quit "QUIT"
\ No newline at end of file
+smtp_quit "QUIT\r\n"
+smtp_crnl "\r\n"
+smtp_crnlperiodcrnl "\r\n.\r\n"
\ No newline at end of file
diff --git a/contiki/apps/smtp-strings.c b/contiki/apps/smtp-strings.c
index 29f9c1e..ab216ef 100644
--- a/contiki/apps/smtp-strings.c
+++ b/contiki/apps/smtp-strings.c
@@ -10,9 +10,9 @@
 const char smtp_rcpt_to[10] = 
 /* "RCPT TO: " */
 {0x52, 0x43, 0x50, 0x54, 0x20, 0x54, 0x4f, 0x3a, 0x20, };
-const char smtp_data[5] = 
-/* "DATA" */
-{0x44, 0x41, 0x54, 0x41, };
+const char smtp_data[7] = 
+/* "DATA\r\n" */
+{0x44, 0x41, 0x54, 0x41, 0xd, 0xa, };
 const char smtp_to[5] = 
 /* "To: " */
 {0x54, 0x6f, 0x3a, 0x20, };
@@ -22,6 +22,12 @@
 const char smtp_subject[10] = 
 /* "Subject: " */
 {0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x3a, 0x20, };
-const char smtp_quit[5] = 
-/* "QUIT" */
-{0x51, 0x55, 0x49, 0x54, };
+const char smtp_quit[7] = 
+/* "QUIT\r\n" */
+{0x51, 0x55, 0x49, 0x54, 0xd, 0xa, };
+const char smtp_crnl[3] = 
+/* "\r\n" */
+{0xd, 0xa, };
+const char smtp_crnlperiodcrnl[6] = 
+/* "\r\n.\r\n" */
+{0xd, 0xa, 0x2e, 0xd, 0xa, };
diff --git a/contiki/apps/smtp-strings.h b/contiki/apps/smtp-strings.h
index b05f4fe..4bff858 100644
--- a/contiki/apps/smtp-strings.h
+++ b/contiki/apps/smtp-strings.h
@@ -2,8 +2,10 @@
 extern const char smtp_helo[6];
 extern const char smtp_mail_from[12];
 extern const char smtp_rcpt_to[10];
-extern const char smtp_data[5];
+extern const char smtp_data[7];
 extern const char smtp_to[5];
 extern const char smtp_from[7];
 extern const char smtp_subject[10];
-extern const char smtp_quit[5];
+extern const char smtp_quit[7];
+extern const char smtp_crnl[3];
+extern const char smtp_crnlperiodcrnl[6];