B4J Question [BANano.SendEmail] How can I set up gmail / Elastic

Discussion in 'B4J Questions' started by Mashiane, May 15, 2019.

  1. Mashiane

    Mashiane Expert Licensed User

    Hi there

    I'm testing out the email sending functionality and have set up an elastic email account. Via BANano.SendEmail I am able to send email however the email never reaches my gmail account.


    As a test, on my code I am using my gmail account as "from" and "to" as per settings below.

    Banano.SendEmail(App.EmailToken, "contactus""mbanga.anele@gmail.com""mbanga.anele@gmail.com""Contact Us", nmsg)
    settings.png settings.png

    As per Elastic Email above, the email gets sent properly however I never receive it on my gmail account. Perhaps I'm missing something.

    If I dont want to use Elastic Email, how can I set BANano.SendEmail to use gmail directly?

    joulongleu likes this.
  2. RjDong

    RjDong New Member


    About Elastic Email sending functionality, there must be something that you need to configure. From the image shared earlier, you are sending mails via SMTP/API. Make sure the ports are open. If closed, make sure they're open. If they are, Elastic Email provides alternative settings (ports/server) if your current configuration is not working.

    Also make sure you have enough credits to send your mails and you have validated properly your account.
    I hope this helps.
    Mashiane likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice