Το ηλεκτρονικό ταχυδρομείο (email) είναι τόσο βασικό που οι περισσότεροι από εμάς δεν το σκέφτονται καν. Ανοίγουμε το πρόγραμμα ή την σελίδα αλληλογραφίας μας, πληκτρολογούμε το message and the recipient and simply press send.
A simple automated process that we all know and use.
But are you aware of alternative ways to send emails? Yes there are, and today we will mention one that exists in Windows.
We'll see how you can send an email using Windows PowerShell. You will need the very powerful Windows PowerShell tool.
Open a PowerShell window looking for powershell to search for the Start menu.
Use the following template to send a message through of Gmail. The first lines starting with signalThe dollar signs create the variables needed to send the message, while the Send-MailMessage line is the command that will send your message:
$From = "your_email@gmail.com" $To = "recipient's_email@that_nanai.com" $Cc = "other_recipient@other_mail.com" $Attachment = "C:\users\Username\Documents\your_attachment.txt" $Subject = "Subject of your message" $Body = "write your message" $SMTPServer = "smtp.gmail.com" $SMTPPort = "587" Send-MailMessage -From $From -to $To -Cc $Cc -Subject $Subject -Body $Body -SmtpServer $SMTPServer -port $SMTPPort -UseSsl -Credential (Get-Credential) -Attachments $Attachment –DeliveryNotificationOption OnSuccess
If you are now using mail from Yahoo, o server you should use is smtp.mail.yahoo.com and the port is 465. For Outlook the smtp server is smtp-mail.outlook.com with port 587.
You can remove attachment lines and CC if you do not need them.
Make sure you also remove them from the Send-MailMessage (-Cc $ Cc and -Attachments $ Attachment) command line.
With the -UseSsl command you will be sure that the message you send will be delivered securely using a secure connection SSL.
The -DeliveryNotificationOption OnSuccess option at the end of the command is used to get a confirmation that your message has been successfully sent.
Once you run the command, you will be prompted for your username and password (Get-Credential).
Type them and your email will leave for the recipient, or the recipients you have specified.
Pushbullet sending SMS & files from your computer
Keyloggers Which sites record your keystrokes?
With which application do you present your code colored and with lines.
there are many, look for syntax highlighter and choose the one that suits you