cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

i need to be able to send a email

TNGW1500SE
Explorer
Explorer
I have a program that can send an e mail if there's an alarm. I've tried to use my Gmail account and can't get it to work.

All I need is a SMTP account to use to send mail out on. It never needs an incoming mail.

Any ideas on what I could use?
6 REPLIES 6

TNGW1500SE
Explorer
Explorer
Thanks for the help. I had to go into my Gmail account and "allow" it. Now it works.

What I'm doing (for those interested):

I have a driveway alarm that sends a 12 volt signal to the house when a car passes a magnetometer 600 foot down from the house.

I also have a DVR security camera system.

I added a camera to the DVR that gets power only from the magnetometer alarm.

Then I set that cameras channel on the DVR so that when it sees any motion it sends me a email via text to my phone.

Most of the time that camera sends no signal to the DVR (it has no power) so the picture is just black but when a car passes the camera it's powered on and sends an image to the DVR.

The DVR see's that as motion and alarms that channel.

Works great! I now get an email and I can check the DVR from the internet and see who's there.

pconroy328
Explorer
Explorer
Gmail needs TLS and a secure port. Plus you need to then go to Gmail and clear the security alert allowing emails to flow.

I have all of my systems sending emails to me via Gmail.
Google something like "python send email gmail" to get an idea of the settings.

GordonThree
Explorer
Explorer
Thinking about it, if you're trying to send mail from some sort of device, rather than a computer, you'll want to consult the instructions for enabling encryption. Gmail only will accept encrypted smtp connections for free accounts.

full instructions:
https://www.digitalocean.com/community/tutorials/how-to-use-google-s-smtp-server
2013 KZ Sportsmen Classic 200, 20 ft TT
2020 RAM 1500, 5.7 4x4, 8 speed

wa8yxm
Explorer III
Explorer III
Yahoo offers SMTP and POP both.. Some programs (like Thunderbird) use them and may even come with instructions on how to set it up.

Yahoo Help files are good on this too since I set up Thunderbird to send that way (I do not use it for E-mail but I use it for other things so it SENDS via SMTP even if it is receiving something else entierly. (NNTP)
Home was where I park it. but alas the.
2005 Damon Intruder 377 Alas declared a total loss
after a semi "nicked" it. Still have the radios
Kenwood TS-2000, ICOM ID-5100, ID-51A+2, ID-880 REF030C most times

GordonThree
Explorer
Explorer
TNGW1500SE wrote:
I have a program that can send an e mail if there's an alarm. I've tried to use my Gmail account and can't get it to work.

All I need is a SMTP account to use to send mail out on. It never needs an incoming mail.

Any ideas on what I could use?


Gmail SMTP is one of the easiest to use. I would sign up for another account, so you're not risking your main. What problem specifically are you having?
2013 KZ Sportsmen Classic 200, 20 ft TT
2020 RAM 1500, 5.7 4x4, 8 speed

magicbus
Explorer
Explorer
Is this from a Windows machine? It looks like you can just send from Powershell. Here is an example you could probably modify to point to your Gmail account:

$From = "YourmailID@domain.com"
$to = "YourmailID@domain.com"
$Subject = "Some Text"
$Body = "Some Text"
$SMTP = "Your SMTP Name"
Send-MailMessage -From $from -To $to -Body $body -SMTPServer $SMTP

On edit: Sorry I misread your post. I thought you needed a program to send email, but I see you have one.

Dave
Current: 2018 Winnebago Era A
Previous: Selene 49 Trawler
Previous: Country Coach Allure 36