In: Computer Science
<VirtualHost*:443>
DocumentRoot:"Your Project File path"
ServerName localhost.mywebsite.com
SSLEngine on
SSLCertificateFile "file path for cert file"
SSLCertificatekeyFile "file path for Key file"
<Directory "Your Project File path">
Options Indexes FollowSymLinks Include ExecCGI
Allow from all
AllowOverride all
Require all granted
</Directory>
</VirtualHost>
//---------------------------------------------------------------
Paste above under xampp folder in httpd-vhost.conf file
For ssl certification file and key file use online generator for
self sign certification from example I use
http://www.selfsignedcertificate.com/ and there paste your domain
name.(If you want help with domain name commment below) and it will
generate two file . Download them and give the file path to the
above mentioned SSL cert and key respectively.
For 2)
Goto php.ini and search for send_mail then un-comment sendmail-path. if the path for it is not there then give the path from xamp/sendmail/sendmail -<search for this file and give the path there.
in sendgrid.ini
1) change the smtp-server to your domain such smtp_server to smtp.google.com
2) for google change smtp port to 587
3) auth_username= your email add
auth_password= your password
4) restart your xampp
you are good to go