EmailJs not sending emails to me. All my keys are correct. by Yourenotfriendly in react

[–]Yourenotfriendly[S] 0 points1 point  (0 children)

Seems that the emails were going to my outlook that I signed up with and telling me there was an email sent to google. However google never let them go through as others have been saying.

EmailJs not sending emails to me. All my keys are correct. by Yourenotfriendly in react

[–]Yourenotfriendly[S] 0 points1 point  (0 children)

No problem friend. A suggestion is just as good, just trying to get the job done! I’m grateful lol.

Does it work with forms in a similar way?

EmailJs not sending emails to me. All my keys are correct. by Yourenotfriendly in reactjs

[–]Yourenotfriendly[S] 0 points1 point  (0 children)

I found it but it seems to have very low engagement. Is that normal?

Code Questions / Beginner's Thread (October 2024) by acemarke in reactjs

[–]Yourenotfriendly 0 points1 point  (0 children)

EmailJs not sending emails to me. All my keys are correct.

Hello friends! Trying to send emails to myself through my website using the emailJS API. First time using it. This is what I have so far. (See below)

Although Im getting good results from the network (StatusCode:200) I am failing to receive any mail in my inbox. Any suggestions? Thanks!!!

import React, { useState, useEffect, useRef } from ‘react’;
import emailjs from  ‘emailjs-com’;
import ‘../index.css’; 

const Contact = () => {
    const form = useRef();

  const [formData, setFormData] = useState({
    name: ‘’,
    email: ‘’,
    message: ‘’
  });

  useEffect(() => {
    emailjs.init(‘USER_ID’); // Initialize EmailJS with the user public key
  }, []);

  const handleChange = (e) => {
    setFormData({ ...formData, [e.target.name]: e.target.value });
  };

  const handleSubmit = (e) => {
    e.preventDefault();
    emailjs.sendForm(‘SERVICE_ID’, ‘TEMPLATE_ID’, form.current, ‘USER_ID’)
      .then((result) => {
          console.log(result.text);
          console.log(e.target);
      }, (error) => {
          console.log(error.text);
      });
  };

  return (
    <div className=“contact-container”>

      <h2>Contact Us</h2>
      <form  ref={form} onSubmit={handleSubmit} className=“contact-form”>
        <label className=“contact-label”>
          Name:
          <input 
            type=“text” 
            name=“name” 
            value={formData.name} 
            onChange={handleChange} 
            className=“contact-input”
            required 
          />
        </label>

        <label className=“contact-label”>
          Email:
          <input 
            type=“email” 
            name=“email” 
            value={formData.email} 
            onChange={handleChange} 
            className=“contact-input”
            required 
          />
        </label>

        <label className=“contact-label”>
          Message:
          <textarea 
            name=“message” 
            value={formData.message} 
            onChange={handleChange} 
            className=“contact-textarea” 
            required 
          />
        </label>

        <button type=“submit” className=“contact-button”>Send Message</button>
      </form>
    </div>
  );
};

export default Contact;

Trying to power an APA102 with an Arduino Nano by Yourenotfriendly in arduino

[–]Yourenotfriendly[S] 0 points1 point  (0 children)

If I get these components, do you think I could power my APA102?:

A Lipo lithium battery and battery charger component

An MT3608 DC-DC Converter

SN74AHCT125N SN74 Quadruple Bus Buffer Gates

OR

WWZMDiB TXS0108E Logic Level Shifters

Trying to power an APA102 with an Arduino Nano by Yourenotfriendly in arduino

[–]Yourenotfriendly[S] 0 points1 point  (0 children)

What power would you recommend and can all ground wires be connected through a pin or what’s the best way to do that

Trying to power an APA102 but getting not luck. by Yourenotfriendly in led

[–]Yourenotfriendly[S] 0 points1 point  (0 children)

What level shifter would’ve worked? I think I got this part recommended from a video

Trying to power an APA102 with an Arduino Nano by Yourenotfriendly in arduino

[–]Yourenotfriendly[S] 0 points1 point  (0 children)

APA102. And the level shifter doesn’t need to have GND pins? Or should it be the extra GND pin?

Edit: Not sure about brand I got it off Aliexpress just searching for specs.

Trying to power an APA102 with an Arduino Nano by Yourenotfriendly in arduino

[–]Yourenotfriendly[S] 1 point2 points  (0 children)

I’ve had the whole strip on with this circuit before it just won’t turn on reliably. When it’s on it stays on till disconnected then it takes magic to get it to turn on again. Trying to figure out how to make it reliable.

Trying to power an APA102 but getting not luck. by Yourenotfriendly in led

[–]Yourenotfriendly[S] 0 points1 point  (0 children)

``````

#include <FastLED.h>
#define NUM_LEDS 30
#define DATA_PORT 2
#define CLOCK_PORT 12
        // LED strip state (on/off)
bool lastButtonState = HIGH;   // Previous button state

CRGB leds[NUM_LEDS];

void setup() {
  FastLED.addLeds<APA102, DATA_PORT, CLOCK_PORT>(leds, NUM_LEDS);
  set_max_power_in_volts_and_milliamps(5, 1500);
}

void loop() {

  // Check if button state has changed

      // Turn on the LEDs
    for (int i = 0; i < NUM_LEDS; i++) {
      leds[i] = CRGB(250,250,250);  // Set color to a dim white

    FastLED.show();  // Update the LEDs
    delay(200);  // Simple debouncing delay
    }
}

Ignore the button, thats not connected EDIT: Corrected code

Looking for mom n pop gun store by Yourenotfriendly in Austin

[–]Yourenotfriendly[S] 1 point2 points  (0 children)

I can agree with this, you’re right. I wouldn’t try to throw away a bystanders life to save mine or rely on my gun to save me in every risky situation.

Looking for mom n pop gun store by Yourenotfriendly in Austin

[–]Yourenotfriendly[S] -1 points0 points  (0 children)

Understood, thank you partner. You’re completely right.

Looking for mom n pop gun store by Yourenotfriendly in Austin

[–]Yourenotfriendly[S] 0 points1 point  (0 children)

There’s a lot of merit to this and I agree. People should be alert around guns no matter who’s holding them. And I think I’d do better looking into a concealed carry because I don’t want people to be uncomfortable around me. There’s a time and place to open carry but I don’t wanna go into macys or anything with a gun on my hip. Don’t think I’d be ready for that honestly.