# Help with sending and email from Flac3d

**URL:** <https://forum.itascainternational.com/t/help-with-sending-and-email-from-flac3d/1354>\
**Category:** FLAC3D\
**Created:** [March 4, 2024, 3:37pm UTC](https://forum.itascainternational.com/t/help-with-sending-and-email-from-flac3d/1354 "2024-03-04T15:37:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicinquark](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.itascainternational.com/musicinquark/32/938_2.png) [@musicinquark](https://forum.itascainternational.com/u/musicinquark)\
**Post date:** [March 4, 2024, 3:37pm UTC](https://forum.itascainternational.com/t/help-with-sending-and-email-from-flac3d/1354/1 "2024-03-04T15:37:10Z")

</div>

Hi,

I’m trying to send an email from a gmail account. But I can’t. Is there something wrong with the fish?

Also ‘program mail from’ command cant be recognized by Flac3d

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/itasca/original/1X/eb7fe5e0fd9e56e189270de698a64e666e692a32.png)

> program mail account

command changes the ‘from’ in the options.

![image](https://canada1.discourse-cdn.com/flex031/uploads/itasca/original/1X/405291a91e53ed296e9499737a5cbf041674224c.png)

> program mail domain ‘[smtp.gmail.com](http://smtp.gmail.com)’  
> program mail host ‘[smtp.gmail.com](http://smtp.gmail.com)’  
> program mail port 587  
> program mail account ‘test@gmail.com’  
> program mail from ‘geoprojeanaliz@gmail.com’  
> program mail password ‘\*\*\*\*\*\*\*’  
> program mail add to ‘ozanbilal@gmail.com’  
> program mail body string ‘test’  
> program mail subject ‘test’  
> program mail send

---

<div class="post-metadata">

**Author:** ![Theophile](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.itascainternational.com/theophile/32/299_2.png) [@Theophile](https://forum.itascainternational.com/u/Theophile)\
**Post date:** [March 5, 2024, 8:51am UTC](https://forum.itascainternational.com/t/help-with-sending-and-email-from-flac3d/1354/2 "2024-03-05T08:51:46Z")

</div>

Hi!

According to Itasca’s documentation, the `from` is optional and set with the `account` value by default.

Did you try without this line?

Regards

Théophile

---

<div class="post-metadata">

**Author:** ![musicinquark](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.itascainternational.com/musicinquark/32/938_2.png) [@musicinquark](https://forum.itascainternational.com/u/musicinquark)\
**Post date:** [March 5, 2024, 9:37am UTC](https://forum.itascainternational.com/t/help-with-sending-and-email-from-flac3d/1354/3 "2024-03-05T09:37:11Z")

</div>

Hi!

The command line doesn’t recognize the ‘from’ command, and it doesn’t work with Gmail. I tried without it but the main problem is that I can’t send an email. Could this be because of SSL/TSL protocols?

Thanks

---

<div class="post-metadata">

**Author:** ![Theophile](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.itascainternational.com/theophile/32/299_2.png) [@Theophile](https://forum.itascainternational.com/u/Theophile)\
**Post date:** [March 5, 2024, 10:16am UTC](https://forum.itascainternational.com/t/help-with-sending-and-email-from-flac3d/1354/4 "2024-03-05T10:16:17Z")

</div>

It seems like Google closed the access from smtp protocoles due to security concerns.

I wanted to bypass the problem by using Python, and I ran accross this answer.

> <https://stackoverflow.com/questions/16512592/login-credentials-not-working-with-gmail-smtp>

The thing is, the solution proposed by the poster above is not available anymore.  
There seems to be a solution by configuring an app password in Gmail.

> <https://stackoverflow.com/questions/73365098/how-to-turn-on-less-secure-app-access-on-google>

[![](https://canada1.discourse-cdn.com/flex031/uploads/itasca/original/1X/d81222618fc454cf30eba5c9ffa0dde3c59ad2d4.jpeg "How I fixed fix for SMTP username and password not accepted error. #googlesmpt") ](https://www.youtube.com/watch?v=Y_u5KIeXiVI)

Hopefully, it will solve your problem!

Théophile

---

<div class="post-metadata">

**Author:** ![musicinquark](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.itascainternational.com/musicinquark/32/938_2.png) [@musicinquark](https://forum.itascainternational.com/u/musicinquark)\
**Post date:** [March 5, 2024, 12:11pm UTC](https://forum.itascainternational.com/t/help-with-sending-and-email-from-flac3d/1354/5 "2024-03-05T12:11:15Z")

</div>

Hi Theophile,

Thanks. I worked with fish functions and workarounds from your links. Now I can send emails when the analysis is finished 🙂

Cheers!

---

<div class="post-metadata">

**Author:** ![Theophile](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.itascainternational.com/theophile/32/299_2.png) [@Theophile](https://forum.itascainternational.com/u/Theophile)\
**Post date:** [March 5, 2024, 2:42pm UTC](https://forum.itascainternational.com/t/help-with-sending-and-email-from-flac3d/1354/6 "2024-03-05T14:42:25Z")

</div>

That’s good, thanks for the feedback!

Cheers

Théophile
