doesn't use recipient, the to: field

Dear Sirs,
I have tried all possible tricks but I cannot sent to a recipient other than the registered email at the widget. For me, even the simple blynk example doesn’t work. WHY? What is the catch?

  Download latest Blynk library here:

  Blynk is a platform with iOS and Android apps to control
  Arduino, Raspberry Pi and the likes over the Internet.
  You can easily build graphic interfaces for all your
  projects by simply dragging and dropping widgets.

    Downloads, docs, tutorials:
    Sketch generator: 
    Blynk community:  
    Follow us:        

  Blynk library is licensed under MIT license
  This example code is in public domain.


  Simple e-mail example

  App project setup:
    E-mail Widget

  Connect a button to digital pin 2 and GND
  Pressing this button will send an e-mail

  WARNING: You are limited to send ONLY ONE E-MAIL PER 15 SECONDS!

/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial
/* Set this to a bigger number, to enable sending longer messages */

#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "xxxxx";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "testSSID";
char pass[] = "12345678";

void emailOnButtonPress()
  // *** WARNING: You are limited to send ONLY ONE E-MAIL PER 15 SECONDS! ***

  // Let's send an e-mail when you press the button
  // connected to digital pin 2 on your Arduino

  int isButtonPressed = !digitalRead(2); // Invert state, since button is "Active LOW"

  if (isButtonPressed) // You can write any condition to trigger e-mail sending
    Serial.println("Button is pressed."); // This can be seen in the Serial Monitor"", "Subject: Button Logger", "You just pushed the button...");

    // Or, if you want to use the email specified in the App (like for App Export):
    //"Subject: Button Logger", "You just pushed the button...");

void setup()
  // Debug console

  Blynk.begin(auth, ssid, pass);
  // You can also specify server:
  //Blynk.begin(auth, ssid, pass, "", 80);
  //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);

  // Send e-mail when your hardware gets connected to Blynk Server
  // Just put the recepient's "e-mail address", "Subject" and the "message body""", "Subject", "My Blynk project is online.");

  // Setting the button
  pinMode(2, INPUT_PULLUP);
  // Attach pin 2 interrupt to our handler
  attachInterrupt(digitalPinToInterrupt(2), emailOnButtonPress, CHANGE);

void loop()

This was changed recently in a server update… clear out the address in the widget in order to use the coded one.

Dear @Gunner,
thanks a lot for your help. I lost many hours, trying to solve the “ghost” problem… Oh, yes now it is working as it should…

Best Regards,
Mike Kranidis

P.S. it is strange that the app complained for the empty to: field making all more complicated

1 Like

Don’t forget the Search option :stuck_out_tongue: (Yes I am a lill’ stinker at times :innocent: )

I hadn’t noticed it… but yes, I can see how that adds to the confusion.

Believe me, I searched but in the first many results I found nothing…

I am sure you know this, but the Search defaults to Relevance while Latest Post is a better option to catch recent changes that cause “issues” (This issue shows up in 7th place, including your topic… at time of this post)

1 Like

A post was split to a new topic: Email Widget Issue