Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

228
Views
¿Cómo enviar un correo electrónico de verificación durante el registro? base de fuego, reacción nativa

Tengo un formulario de registro, el usuario ingresa su información y luego la envío a una colección de firestore. Quiero enviar un correo electrónico de verificación con el mismo botón, ¿cómo puedo hacerlo?

aquí está mi botón de registro.

 onSignUp() { if ( this.state.email != '' && this.state.password != '' && this.state.name != '' && this.state.phonenumber != '' && this.state.lastname != '' ) { const { name, lastname, phonenumber, email, password} = this.state; firebase .auth() .createUserWithEmailAndPassword(email, password) .then((result) => { firebase .firestore() .collection('Patients') .doc(firebase.auth().currentUser.uid) .set({ name, lastname, phonenumber, email, }); console.log(result); }) .catch((error) => { alert('Sorry it seems you entered wrong email or/and password'); console.log(error); }); } else { alert('Please, make sure you filled all the fields with correct info!'); } }
about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Para enviar un mensaje de verificación de correo electrónico, llame a user.sendEmailVerification() después de crear o iniciar sesión en la cuenta. Entonces:

 firebase .auth() .createUserWithEmailAndPassword(email, password) .then((result) => { result.user.sendEmailVerification(); ...

Consulte también la documentación de RNFirebase para esemétodo .

about 4 years ago · Juan Pablo Isaza Report

0

Hay demasiados módulos que se pueden utilizar. Yo uso el nodemailer .

Página web oficial

https://nodemailer.com/about/

tu video

https://www.youtube.com/watch?v=nF9g1825mwk

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!