Forum Replies Created

Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • in reply to: EmailSender sending mail with Gmail does not work #24858
    Gilles
    Participant

      ,
      OK thanks
      And do you have a list of error codes returned by email sender? (354, 2, 1, 235 and others…)
      THANKS

      in reply to: EmailSender sending mail with Gmail does not work #24833
      Gilles
      Participant

        Hello, no news?
        Thank You

        in reply to: EmailSender sending mail with Gmail does not work #24702
        Gilles
        Participant

          Another little question, have you already managed to send emails from the orange.fr messaging system that I created for you?
          For me there is no error message (error code =0), but no receipt of emails, a bit like there with SendGrid…
          It seems to me that sometimes I see the email sent in my mailbox but it disappears almost instantaneously on its own and there is no way to find any trace of it…. I can almost believe that I dreamed!
          THANKS

          in reply to: EmailSender sending mail with Gmail does not work #24700
          Gilles
          Participant

            OK, I’ve made some progress, but it still doesn’t work.
            I put :

            uint16_t SMTP_PORT = 587; //the smtp port 25 don't work!
            const char* smtp_server = "smtp.sendgrid.net"; // your mail address smtp server
            const char* email_login = "apikey"; // your sender email address
            const char* email_from = "somemailaddress@gmail.com"; // Your email address
            const char* name_from = sender.c_str(); //transformation from string to const char*
            const char* email_password = "sengrid's super long password string";

            and especially :
            string sender = “Arduino1”;
            // the name of Senders that I put in Sendgrid!
            suddenly emailsenders no longer sees an error but I don’t receive any email… whether with gmail or orange.fr or laposte.net senders….

            I get this as a return:

            multiple destination and attachments
            20:58:25.520 -> Insecure client:0
            20:58:25.567 -> smtp.sendgrid.net
            20:58:25.567 -> 587
            20:58:25.567 -> 220 SG ESMTP service ready at geopod-ismtpd-6
            
            20:58:25.614 -> HELO mischianti
            20:58:25.660 -> 250 Hello, nice to meet you
            
            20:58:25.708 -> AUTH LOGIN:
            20:58:25.708 -> 334 xyzzzz
            
            20:58:25.708 -> Encoding
            20:58:25.708 -> apikey
            20:58:25.708 -> 6
            20:58:25.708 -> YXBpa2V5
            20:58:25.708 -> Encoding
            20:58:25.755 -> apikey
            20:58:25.755 -> 6
            20:58:25.755 -> 334 GGFzc4dtcmQ0
            
            20:58:25.802 -> Encoding
            20:58:25.802 -> password
            20:58:25.849 -> 69
            20:58:25.849 -> encoded password
            20:58:25.942 -> Encoding
            20:58:25.988 -> password
            20:58:26.034 -> 69
            20:58:26.034 -> 235 Authentication successful
            
            20:58:26.081 -> MAIL FROM: <monadressemail@gmail.com>
            20:58:26.128 -> 250 Sender address accepted
            
            20:58:26.175 -> RCPT TO: <monadressemail@gmail.com>
            20:58:26.221 -> 250 Recipient address accepted
            
            20:58:26.268 -> RCPT TO: <monadressemail@laposte.net>
            20:58:26.268 -> 250 Recipient address accepted
            
            20:58:26.315 -> RCPT TO: <monadressemail@wanadoo.fr>
            20:58:26.362 -> 250 Recipient address accepted
            
            20:58:26.409 -> DATA:
            20:58:26.409 -> 354 Continue
            
            20:58:26.409 -> Message end
            20:58:26.504 -> 250 Ok: queued as fSgql6e3R0aCjwX8RNlfgg
            
            20:58:26.549 -> 221 See you later
            
            20:58:26.549 -> resp code = 0

            THANKS

            in reply to: EmailSender sending mail with Gmail does not work #24699
            Gilles
            Participant

              Hello,
              For information, do you have the list of error codes (with their meaning) that EmailSender can return?
              example error code 354, 2, 235,1 ,…

              I found the following line of code in your post:
              EMailSender emailSend(“apikey”, “SG.FINTOFINTOFINTO.FINTOFINTO”, “sender.mischianti@gmail.com”, “smtp.sendgrid.net”, 25 );

              can you please explain to me what some parts correspond to:
              * “apikey” should be the login email…
              Is this the name you gave to your sendgrid key?

              * “SG.FINTOFINTOFINTO.FINTOFINTO” is the sendgrid API key.

              * “sender.mischianti@gmail.com” corresponds to the sender email address.
              You put the address of the sendgrid account? any one?…

              * smtp.sendgrid.net is the smtp server
              and finally
              * 25 corresponds to the smtp port.

              Currently all my different attempts to send an email via sendgrid returns me an error code = 2!
              THANKS

              in reply to: EmailSender sending mail with Gmail does not work #24698
              Gilles
              Participant

                For information without really report for (at home in any case) to start the w5500 shield without Ethernet (therefore in fixed IP) it is absolutely necessary to start the clock BEFORE (via an RTC.begin(); command) the Ethernet shield otherwise the shield can only start with the presence of Ethernet!
                THANKS

                PS: I looked at your link:
                Weather radio station with Arduino UNO/MEGA Ethernet problem with EmailSender
                I will see if I can create a free send grid account.
                THANKS

              Viewing 6 posts - 16 through 21 (of 21 total)