import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText def send_email(receiver_email, username, user_password, app_link): # Email account credentials sender_email = "naqra.app@outlook.com" sender_password = "@naserCSE92" # Replace with the actual password # Email content subject = "Thank You for Installing Naqra App" body = f"""
Dear {username},
Welcome to the Naqra community!
Thank you for installing the Naqra app.
Here are your login credentials:
Username: {username}
Password: {user_password}
If you have any questions or need assistance, please don't hesitate to reach out to our support team.
Best regards,
Naqra Team