skyblade2954
WWasp-lang
•Created by skyblade2954 on 10/29/2024 in #đŸ™‹questions
Can I send image over Sengrid mail system on OpenSaaS?
I believe sending images needs serialization, how can I achieve that, what steps should I follow. I can send text as mail but don't know how to send image.
23 replies
WWasp-lang
•Created by skyblade2954 on 8/8/2024 in #đŸ™‹questions
Installing mantine hooks got this error!
Mantine is a opensource UI library:
npm install @mantine/core @mantine/hooks
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [email protected]
npm warn Found: [email protected]
npm warn node_modules/react
npm warn peer react@">=16.8.0" from @floating-ui/[email protected]
npm warn node_modules/@floating-ui/react
npm warn @floating-ui/react@"^0.26.9" from @mantine/[email protected]
npm warn node_modules/@mantine/core
npm warn 26 more (@floating-ui/react-dom, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react@"^0.14.0 ^15.0.0 ^16.0.0 ^17.0.0" from [email protected]
npm warn node_modules/react-router/node_modules/mini-create-react-context
npm warn mini-create-react-context@"^0.4.0" from [email protected]
npm warn node_modules/react-router
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/react
npm warn peer react@"^0.14.0 ^15.0.0 ^16.0.0 ^17.0.0" from [email protected]
npm warn node_modules/react-router/node_modules/mini-create-react-context
npm warn mini-create-react-context@"^0.4.0" from [email protected]
npm warn node_modules/react-router
8 replies
WWasp-lang
•Created by skyblade2954 on 7/19/2024 in #đŸ™‹questions
Undefined email parameters
I created actions and everything but somehow this code send an email with undefined values(in below example inputSubject is undefined).
import { emailSender } from 'wasp/server/email';
export const sendGUIMailRequest = async (inputName, inputEmail, inputSubject, inputPhone, inputEmailBody) => {
const subjectString = String(inputSubject);
try {
const info = await emailSender.send({
from: {
name: 'customer',
email: '[email protected]',
},
to: "[email protected]",
subject: subjectString,
text: "Hello world",
html: "Hello <strong>world</strong>",
});
return { success: true, info };
} catch (error) {
return { success: false, error };
}
};
If I directly set subject argument, Sengrid returns bad request error.. Like is there any example of sending mail with different arguments????
Note: If I set subject as simple string, it doesn't give error, and everything works perfectly fine.
When function is called, the arguments became undefined.
30 replies
WWasp-lang
•Created by skyblade2954 on 7/19/2024 in #đŸ™‹questions
Sendgrid Error
const info = await emailSender.send({
from: {
name: name,
email: "[email protected]",
},
to: "[email protected]",
subject: subject,
text:
Some text
,
html: Some text
,
});
I am trying to send mail, I authenticate my Sendgrid account, added DNS configuration and everything and getting this error:
Access to XMLHttpRequest at 'https://api.sendgrid.com/v3/mail/send' from origin 'https://requestphotoedit.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header has a value 'https://sendgrid.api-docs.io' that is not equal to the supplied origin.
When I check stackoverflow, it says I cannot send mail over Javascript code? https://stackoverflow.com/questions/54797626/react-unable-to-send-email-with-sendgrid
Help me plz30 replies
WWasp-lang
•Created by skyblade2954 on 7/18/2024 in #đŸ™‹questions
Can I stop server or db machines?
15 replies
WWasp-lang
•Created by skyblade2954 on 7/11/2024 in #đŸ™‹questions
Why my client fly.io seems inactive?
8 replies
WWasp-lang
•Created by skyblade2954 on 7/11/2024 in #đŸ™‹questions
Give certificate to server or client (using fly.io)
I am using fly.io. I deployed my code to a URL. However I would like to map my domain to that URL. So, I would like to know several stuff, What does this command do? It should be server or client?
fly certs add requestphotoedit.com --app mycoolapp-server
Is it required? Or only putting A entry as below is enough?
@ 10800 IN ALIAS mycoolapp-client.fly.dev.
49 replies
WWasp-lang
•Created by skyblade2954 on 7/8/2024 in #đŸ™‹questions
How do you use Fly.io (Best Hosting for wasp) for free?
56 replies
WWasp-lang
•Created by skyblade2954 on 7/5/2024 in #đŸ™‹questions
"Wasp deploy fly launch" command cannot find prisma in root folder?
wasp deploy fly launch mycoolapp mad
68 replies
WWasp-lang
•Created by skyblade2954 on 7/4/2024 in #đŸ™‹questions
Wasp project fly.io deployment fails, cannot create Prisma?
37 replies
WWasp-lang
•Created by skyblade2954 on 7/3/2024 in #đŸ™‹questions
Best hosting services to deploy?
You cannot deploy a wasp project to ordinary hosting services like GoDaddy etc. So what are the suggested hosting services?
Please suggest me couple hosting services
30 replies
WWasp-lang
•Created by skyblade2954 on 7/2/2024 in #đŸ™‹questions
How to deploy my wasp project to a purchased basic server?
Let's say I bought a hosting service from GoDaddy, will I be able to upload my website after "wasp build"?
11 replies
WWasp-lang
•Created by skyblade2954 on 6/20/2024 in #đŸ™‹questions
Is there any alternative to Stripe?
Stripe is not allowed in many countries like Turkey. So is there any alternative for stripe?
5 replies
WWasp-lang
•Created by skyblade2954 on 6/14/2024 in #đŸ™‹questions
How do you debug a whitescreen in wasp/react project?
When I write a code with mistakes, it gives me a whitescreen instead of the problem in the page. How can I debug such cases? I would like debug when there is problem in my code, however react/wasp gives me no error message and my GUI turns white.
8 replies
WWasp-lang
•Created by skyblade2954 on 6/14/2024 in #đŸ™‹questions
How do you debug a whitescreen in wasp/react project?
How do you debug a whitescreen in wasp/react project?
4 replies
WWasp-lang
•Created by skyblade2954 on 6/14/2024 in #đŸ™‹questions
Is there any contact us email integration?
I want to know if there is email integration, where user could send emails to the user over the website interface
16 replies
WWasp-lang
•Created by skyblade2954 on 6/12/2024 in #đŸ™‹questions
Is there google autentication integrated with mail autentication in wasp?
I would like to add google autentication to my website too, is there a way to do that?
7 replies
WWasp-lang
•Created by skyblade2954 on 6/11/2024 in #đŸ™‹questions
Why people use Shipfa.st when there is free tool like OpenSaaS?
Why people use Shipfa.st when there is free tool like OpenSaaS?
4 replies
WWasp-lang
•Created by skyblade2954 on 6/11/2024 in #đŸ™‹questions
Does OpenSaaS provide email authentication webpage teamplate as html/jsx/css file?
Does OpenSaaS provide email authentication webpage as html/jsx/css file?
4 replies
WWasp-lang
•Created by skyblade2954 on 6/11/2024 in #đŸ™‹questions
Does OpenSaaS provide email authentication service for different users?
Does OpenSaaS provide email authentication service for different users?
6 replies