Question: Can you send email without email?

Το ηλεκτρονικό ταχυδρομείο (email) είναι τόσο βασικό που οι περισσότεροι από εμάς δεν το σκέφτονται καν. Ανοίγουμε το πρόγραμμα ή την σελίδα αλληλογραφίας μας, πληκτρολογούμε το and the recipient and simply press send.

A simple automated process that we all know and use. Email

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 The 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 - (Get-Credential) -Attachments $Attachment –DeliveryNotificationOption OnSuccess

If you are now using mail from Yahoo, o 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 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?

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.100 registrants.

Written by giorgos

George still wonders what he's doing here ...

2 Comments

Leave a Reply

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).