Subject = "An email with attachment from Python" import email, smtplib, sslįrom import MIMEMultipart I can send the plain text but unable to send html text in html format. Messages.success(request, f"Messages sent successfully") Message = form.cleaned_data.get('message') Setting.py EMAIL_BACKEND = ".smtp.EmailBackend"ĭf = read_frame(emails, fieldnames=) it just keep throwing this error, yesterday it was working, sometimes it would also stop and show this error, but throughtout today it havent been working as expected I am using gmail to do this, and i'm still at devlopment. I am not getting any error in react as well. What should I do so that data from the node can be displayed in react. Import socketIOClient from "socket.io-client" Ĭonst = useState("") #raspberrypi codeĪwait sio.emit('fromAPI', from "react" Here are my codes for raspberry pi, node and react. Sorry for this basic question but I can't seem to find a reasonable way to implement this. Data is currently displaying in the console (nodejs) but I can't seem to figure out how it will displayed in react. I want to display some sensors data from raspberry pi (using python socketio) in react as frontend and I am using nodejs as backend.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |