Coder Social home page Coder Social logo

[bug] not able to receive mail about smail HOT 11 OPEN

akazwz avatar akazwz commented on August 14, 2024
[bug] not able to receive mail

from smail.

Comments (11)

firefoxOnFire avatar firefoxOnFire commented on August 14, 2024 1

No problem sir. I can understand, this is not an easy thing to maintain.
I am waiting for your stable release, so i can test further.
Thanks.

from smail.

TinsFox avatar TinsFox commented on August 14, 2024

Check to see if there is any data in your https://turso.tech/ database. The two lines here are for the front end to read the contents of the database and display the data

The process is...

  1. The email is sent to the cf worker and stored in the database in woker
  2. The front-end code reads the mail display data in the database

from smail.

TinsFox avatar TinsFox commented on August 14, 2024

Check to see if there is any data in your https://turso.tech/ database. The two lines here are for the front end to read the contents of the database and display the data

The process is...

  1. The email is sent to the cf worker and stored in the database in woker
  2. The front-end code reads the mail display data in the database

from smail.

firefoxOnFire avatar firefoxOnFire commented on August 14, 2024

The two lines here are for the front end to read the contents of the database and display the data

but index.ts is also importing that function from that file. Can you recheck?

from smail.

TinsFox avatar TinsFox commented on August 14, 2024

@firefoxOnFire I'm so sorry, you're right! Because the worker code I used for testing was deployed a long time ago and has not been redeployed since, my mail storage is still normal.

fix it by #8

from smail.

firefoxOnFire avatar firefoxOnFire commented on August 14, 2024

@firefoxOnFire I'm so sorry, you're right! Because the worker code I used for testing was deployed a long time ago and has not been redeployed since, my mail storage is still normal.

fix it by #8

Thanks for the quick fix.
I am encountering this error "LibsqlError: SQLITE_UNKNOWN: SQLite error: no such table: emails", I know this is because I have to create table, but I am not finding a way to do so in windows.

Why can't we create table in the worker itself?

from smail.

TinsFox avatar TinsFox commented on August 14, 2024

@firefoxOnFire I'm so sorry, you're right! Because the worker code I used for testing was deployed a long time ago and has not been redeployed since, my mail storage is still normal.
fix it by #8

Thanks for the quick fix. I am encountering this error "LibsqlError: SQLITE_UNKNOWN: SQLite error: no such table: emails", I know this is because I have to create table, but I am not finding a way to do so in windows.

Why can't we create table in the worker itself?

You need to refer to the documentation of the database https://docs.turso.tech/cli/introduction to create it with the command using the CLI tool

Because workers are not suitable for database creation and migration files

By the way, we will change the database used and the tools to connect to the database later, so this step will be even easier!

But now limited by the database turso, there is no way to accomplish this well (Maybe I can come up with a temporary solution to solve this problem, which only requires executing a command. But I wonder if there is a demand?)

from smail.

firefoxOnFire avatar firefoxOnFire commented on August 14, 2024

I wonder if there is a demand?

Got it working thanks. It was from, to and references which was causing problem. Now I have successfully created the table.

from smail.

firefoxOnFire avatar firefoxOnFire commented on August 14, 2024

"LibsqlError: SQLITE_UNKNOWN: SQLite error: table emails has no column named domain"
Now I am gettin this error.
domain and attachments are missing from the query. Can you provide me updated query? Thanks.

from smail.

firefoxOnFire avatar firefoxOnFire commented on August 14, 2024

Now, I have received the mail in the web. But html is not getting rendered.

I guess I am reporting too much bugs, I should wait for the code to be matured and stable.
I am really sorry. Thanks.

from smail.

TinsFox avatar TinsFox commented on August 14, 2024

@firefoxOnFire I'm very sorry to bring you a bad experience, maybe I need to test all the processes again

from smail.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.