Tell me what you want, What you really, really want.

Moderator: Mmiscool

User avatar
By Mmiscool
#35171 [quote][/quote]I have a gmail account and used that to register for the SMTP service and for the from email field.

The syntax for the email command is as follows
To address
From address
Subject
Body

I believe you might have the from and to address mixed up there. I successfully sent several emails and text msgs using a SMS realy for my carrier.
User avatar
By heckler
#35172 and here is what I get back when trying to send the email via my gmail account...
220 smtp.gmail.com ESMTP c21sm13932368ioc.24 - gsmtp
Sending hello
250-smtp.gmail.com at your service, [67.213.248.3]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
Sending auth login
530 5.7.0 Must issue a STARTTLS command first. c21sm13932368ioc.24 - gsmtp
221 2.0.0 closing connection c21sm13932368ioc.24 - gsmtp
disconnected


Possibly the "sendemail" command needs a second look.

Or more likely I don't understand how to use the "sendemail" command :)

thanks
dwight
User avatar
By Mmiscool
#35173 I don't know if it is possible to use gmails SMTP service. It might have some thing to do with security.
https://support.google.com/a/answer/176600?hl=en

Found that article for setting up printers to use gmail.

I used the smtp2go service for my tests.
User avatar
By Rotohammer
#35206 gmail is enforcing STARTTLS, so we'd need to add a tls library in order to implement the required encryption.

Although, according to the link Michael posted, sending via port 25 doesn't require tls, but you can only send to gmail account which may be ok for your usage. Were you using port 587?