What do you want to save?
Add Code snippet
New code examples
-
Html 2022-03-13 08:00:27
python send email with html template
# import the necessary components first import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart port = 2525 smtp_server = "smtp.mailtrap.io" login = "1a2b3c4d5e6f7g" # paste your login generat... Add solution -
Other 2022-03-01 02:05:06
how to open in modal datatable details
Plain text123456789101112131415161718192021 <div class="modal fade" id="DescModal" role="dialog"> <div class="modal-dialog"> &nb... Add solution -
Python 2022-02-27 00:45:02
sphinx, where to write the glossary of a sofware project
.. glossary:: Sphinx Sphinx is a tool that makes it easy to create intelligent and beautiful documentation. It was originally created for the Python documentation, and it has excellent facilities for the documentation of software projects in a ... Add solution -
PHP 2022-02-02 22:05:42
SMTP -> ERROR: Failed to connect to server: Connection refused (111)SMTP Connect() failed.
<?php include "emails/PHPMailer/PHPMailerAutoload.php"; //or just include the phpMailer //Create a new PHPMailer instance $mail = new PHPMailer(); $mail->IsSMTP(); $mail->SMTPDebug = 1; $mail->SMTPAuth =... Add solution -
Javascript 2022-01-29 12:00:28
DataTables warning: table id=example-dt - Invalid JSON response.
Plain text12345678910$(document).ready(function () { $('#example').DataTable({ "processing": true,  ... Add solution -
C++ 2021-11-23 05:34:13
how to open an input file in c++
#include <fstream> ifstream file_variable; //ifstream is for input from plain text files file_variable.open("input.txt"); //open input.txt file_variable.close(); //close the file stream /* Manually closing a stream is only necessary if y... Add solution
Best helpers
Ranking is empty