Arduino Email Sending

I use this code?

If you mean do you use “my sketch” then yes, that’s why I gave it to you.

But ENTER THE TOKEN before flashing and a token that works in the browser url I gave you.

If it doesn’t work in a browser it will not work in the Arduino.

The token i got new one it doesnt work in the browser do i just repeat and wait till i get a working one?

You must be doing something wrong and there is no point keep asking for another token.

Send the IP and token to me via PM (you can change it later).

now i am having an issue with uploading your code to the arduino

Sketch uses 7528 bytes (23%) of program storage space. Maximum is 32256 bytes.
Global variables use 600 bytes (29%) of dynamic memory, leaving 1448 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "/dev/cu.usbmodem1421": Resource busy
Problem uploading to board.

is this it?

2018/03/06 17:54:05 socat[37997] N successfully connected from local address LEN=16 AF=2 192.168.1.108:60073

I think resource busy might be because you have Serial Monitor open in the Arduino IDE, close it. You can’t use Serial Monitor on a USB connection without a USB2TTL adaptor.

That is your local IP, I need WAN IP which is obtained by the ping command I gave you.

PING blynk-cloud.com (188.166.206.43): 56 data bytes

Send me the last token your got from the app but send it via private / direct message (PM / DM).

You are a genious the i have uploaded the arduino code

Dude it works now, i have done the terminal thing again and it started displaying stuff on the app, thank you for helping me so far. Now i kind of have another problem where i have to use my previous code to connect with this so whenever the PIR sensor detects motion it will send a notification to my email using blynk. I will be very thankful if you can continue helping me!

Yes and the token you sent me works in a browser with:

http://188.166.206.43/[your-token]/project

In the browser it tells me that your project currently connected. Have you stopped the project in the app or something else?

I need to see that it stays connected for at least 5 minutes before adding PIR and email etc.

i did not stop the project anywhere but i have switched off the app on my phone for 2 minutes to put it on charge, it still works for me

By the way if using PIR sensor i am fine with keeping my phone open and the laptop

You are very good at all this stuff, how long did it take you to learn all this? pure genius

I started learning this stuff about 45 years ago.

1 Like

that is so much, by the way on my display its already 450 and i think you can also see it

Sorry I was looking at the wrong part of the json file of your project, looks OK.

Not really sure what your question is.

Yes I see 535 now.

OK let’s move on to PIR and email.

not a question just saying for information, i am doing this for school tech fair