Easiest way to send an Email from the command line, using windows 2003 R2 Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Come Celebrate our 10 Year Anniversary!Useful Command-line Commands on WindowsEasiest way to email file via command line in *nix?Does Windows have a built-in ZIP command for the command line?What's the command-line utility in Windows to do a reverse DNS look-up?Send simple HTML email from command line?Easiest way to send encrypted email?Checking an Windows 2003 SMTP server from the command line?Can an email server be set-up on an Azure VM?How send email from command line specifying the email subject and using postfix?SMTP server that only writes emails as eml files
A Paper Record is What I Hamper
How to count in linear time worst-case?
Mistake in years of experience in resume?
What is the ongoing value of the Kanban board to the developers as opposed to management
Married in secret, can marital status in passport be changed at a later date?
Align column where each cell has two decimals with siunitx
"Rubric" as meaning "signature" or "personal mark" -- is this accepted usage?
What is this word supposed to be?
Is Electric Central Heating worth it if using Solar Panels?
Function to calculate red-edgeNDVI in Google Earth Engine
Raising a bilingual kid. When should we introduce the majority language?
Check if a string is entirely made of the same substring
Did the Roman Empire have penal colonies?
Error: Syntax error. Missing ')' for CASE Statement
Multiple options vs single option UI
c++ diamond problem - How to call base method only once
What's the difference between using dependency injection with a container and using a service locator?
What to do with someone that cheated their way through university and a PhD program?
How do I check if a string is entirely made of the same substring?
Arriving in Atlanta after US Preclearance in Dublin. Will I go through TSA security in Atlanta to transfer to a connecting flight?
What *exactly* is electrical current, voltage, and resistance?
Password Generator in batch
How to open locks without disable device?
Are all CP/M-80 implementations binary compatible?
Easiest way to send an Email from the command line, using windows 2003 R2
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
Come Celebrate our 10 Year Anniversary!Useful Command-line Commands on WindowsEasiest way to email file via command line in *nix?Does Windows have a built-in ZIP command for the command line?What's the command-line utility in Windows to do a reverse DNS look-up?Send simple HTML email from command line?Easiest way to send encrypted email?Checking an Windows 2003 SMTP server from the command line?Can an email server be set-up on an Azure VM?How send email from command line specifying the email subject and using postfix?SMTP server that only writes emails as eml files
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have a Windows 2003 R2 server and I want to send an email from the command line. This server does not have the SMTP service configured. Is there a one liner that will let me send an email? My specific use case at the moment is to send an email when a performance alert is triggered, but it would be useful in general.
I'm hoping for something like
foomail -t peter@example.org -f blah@example.org -m "Alert! the sky is falling"
Update: I would much prefer a solution that does not involve installing 3rd party software.
windows-server-2003 email command-line-interface
add a comment |
I have a Windows 2003 R2 server and I want to send an email from the command line. This server does not have the SMTP service configured. Is there a one liner that will let me send an email? My specific use case at the moment is to send an email when a performance alert is triggered, but it would be useful in general.
I'm hoping for something like
foomail -t peter@example.org -f blah@example.org -m "Alert! the sky is falling"
Update: I would much prefer a solution that does not involve installing 3rd party software.
windows-server-2003 email command-line-interface
Utilities like blat and sendemail don't require installation. They're both freestanding exe files.
– John Gardeniers
Feb 5 '10 at 22:26
I guess I have to accept that I need to at the very least copy an exe (either blat or powershell) to each machine. If that's the case, then blat is very easy to use. Thanks. I still wonder why MS left this feature out, considering how many other less useful ones they put in to the standard distro.
– Peter
Feb 8 '10 at 17:55
add a comment |
I have a Windows 2003 R2 server and I want to send an email from the command line. This server does not have the SMTP service configured. Is there a one liner that will let me send an email? My specific use case at the moment is to send an email when a performance alert is triggered, but it would be useful in general.
I'm hoping for something like
foomail -t peter@example.org -f blah@example.org -m "Alert! the sky is falling"
Update: I would much prefer a solution that does not involve installing 3rd party software.
windows-server-2003 email command-line-interface
I have a Windows 2003 R2 server and I want to send an email from the command line. This server does not have the SMTP service configured. Is there a one liner that will let me send an email? My specific use case at the moment is to send an email when a performance alert is triggered, but it would be useful in general.
I'm hoping for something like
foomail -t peter@example.org -f blah@example.org -m "Alert! the sky is falling"
Update: I would much prefer a solution that does not involve installing 3rd party software.
windows-server-2003 email command-line-interface
windows-server-2003 email command-line-interface
edited Feb 5 '10 at 18:54
Peter
asked Feb 5 '10 at 18:36
PeterPeter
2511413
2511413
Utilities like blat and sendemail don't require installation. They're both freestanding exe files.
– John Gardeniers
Feb 5 '10 at 22:26
I guess I have to accept that I need to at the very least copy an exe (either blat or powershell) to each machine. If that's the case, then blat is very easy to use. Thanks. I still wonder why MS left this feature out, considering how many other less useful ones they put in to the standard distro.
– Peter
Feb 8 '10 at 17:55
add a comment |
Utilities like blat and sendemail don't require installation. They're both freestanding exe files.
– John Gardeniers
Feb 5 '10 at 22:26
I guess I have to accept that I need to at the very least copy an exe (either blat or powershell) to each machine. If that's the case, then blat is very easy to use. Thanks. I still wonder why MS left this feature out, considering how many other less useful ones they put in to the standard distro.
– Peter
Feb 8 '10 at 17:55
Utilities like blat and sendemail don't require installation. They're both freestanding exe files.
– John Gardeniers
Feb 5 '10 at 22:26
Utilities like blat and sendemail don't require installation. They're both freestanding exe files.
– John Gardeniers
Feb 5 '10 at 22:26
I guess I have to accept that I need to at the very least copy an exe (either blat or powershell) to each machine. If that's the case, then blat is very easy to use. Thanks. I still wonder why MS left this feature out, considering how many other less useful ones they put in to the standard distro.
– Peter
Feb 8 '10 at 17:55
I guess I have to accept that I need to at the very least copy an exe (either blat or powershell) to each machine. If that's the case, then blat is very easy to use. Thanks. I still wonder why MS left this feature out, considering how many other less useful ones they put in to the standard distro.
– Peter
Feb 8 '10 at 17:55
add a comment |
6 Answers
6
active
oldest
votes
I'd try blat. You could write a vbscript but there is no built in executable to send mail
seconding blat. It can be a bit picky about passing parameters directly from the command line, but once you nail it, does exactly what the OP needs.
– Chris Thorpe
Feb 5 '10 at 23:51
I've been using blat for years with great success. However, If I was writing in powershell, I'd switch.
– uSlackr
Feb 8 '10 at 19:29
Does blat able to work as send mail path for PHP on Windows?
– SaidbakR
Aug 14 '14 at 22:02
add a comment |
Would you consider powershell rather than cmd.exe? If so, sending mail is built in:
$SmtpClient = New-Object System.Net.Mail.SmtpClient
$SmtpServer = "your.mail.host.com"
$SmtpClient.host = $SmtpServer
$From = "Me <User@example.com>"
$To = User2@example.com
$Title = "Subject"
$Body = "Body Text"
$SmtpClient.Send($From,$To,$Title,$Body)
To make a one liner, save the following to a powershell script file (sendmail.ps1):
param(
[string] $From = "from@example.com",
[string] $To = "to@example.com",
[string] $Title = "title",
[string] $Body = "body"
)
$SmtpClient = New-Object System.Net.Mail.SmtpClient
$SmtpServer = "your.mail.host.com"
$SmtpClient.host = $SmtpServer
$SmtpClient.Send($From,$To,$Title,$Body)
(make sure to change the smtpserver to be your real one)
Then you can call it using:
powershell.exe c:pathtosendmail.ps1 "from@example.com" "to@example.com" "title" "body"
1
powershell would also have to be installed, otherwise I would have prefered it over vbscript.
– Jim B
Feb 5 '10 at 23:48
Nice answer. Just one minor change, the arguments need to be single quotes.
– Brain2000
Jan 21 '15 at 23:45
add a comment |
I've used bmail with great success in the past.
Usage (copied from website)
C:>bmail /?
Command Line SMTP Emailer V1.07
Copyright(C) 2002-2004 Craig.Peacock@beyondlogic.org
Usage: bmail [options]
-s SMTP Server Name
-p SMTP Port Number (optional, defaults to 25)
-t To: Address
-f From: Address
-b Text Body of Message (optional)
-h Generate Headers
-a Subject (optional)
-m Filename (optional) Use file as Body of Message
-c Prefix above file with CR/LF to separate body from header
-d Debug (Show all mail server communications)
1
I have to admit, I was hoping for a built in solution, though Jim's answer seems to imply that was a bit naive of me...
– Peter
Feb 5 '10 at 18:49
add a comment |
Try free Mail Alert Simple Mailer:
https://sourceforge.net/projects/mail-alert/
It supports SSL/TLS mail servers like gmail and its' easy to configure.
It supports SSL too.
– Roland Pihlakas
Jul 17 '16 at 17:19
add a comment |
One more command-line mailer program:
- mailsend
It supports SSL too.
add a comment |
sendEmail -f %from_address% -t %to_address% -u "Subject Line" -m "Message" -s %smtp_server%
The simplest Win utility I found and use in production environment. Standalone executable/no installation or configuration.
Supports both non-TLS and TLS. And has a debugger, which is helpful.
http://caspian.dotconf.net/menu/Software/SendEmail/#download
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f110057%2feasiest-way-to-send-an-email-from-the-command-line-using-windows-2003-r2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
I'd try blat. You could write a vbscript but there is no built in executable to send mail
seconding blat. It can be a bit picky about passing parameters directly from the command line, but once you nail it, does exactly what the OP needs.
– Chris Thorpe
Feb 5 '10 at 23:51
I've been using blat for years with great success. However, If I was writing in powershell, I'd switch.
– uSlackr
Feb 8 '10 at 19:29
Does blat able to work as send mail path for PHP on Windows?
– SaidbakR
Aug 14 '14 at 22:02
add a comment |
I'd try blat. You could write a vbscript but there is no built in executable to send mail
seconding blat. It can be a bit picky about passing parameters directly from the command line, but once you nail it, does exactly what the OP needs.
– Chris Thorpe
Feb 5 '10 at 23:51
I've been using blat for years with great success. However, If I was writing in powershell, I'd switch.
– uSlackr
Feb 8 '10 at 19:29
Does blat able to work as send mail path for PHP on Windows?
– SaidbakR
Aug 14 '14 at 22:02
add a comment |
I'd try blat. You could write a vbscript but there is no built in executable to send mail
I'd try blat. You could write a vbscript but there is no built in executable to send mail
answered Feb 5 '10 at 18:39
Jim BJim B
23.2k32858
23.2k32858
seconding blat. It can be a bit picky about passing parameters directly from the command line, but once you nail it, does exactly what the OP needs.
– Chris Thorpe
Feb 5 '10 at 23:51
I've been using blat for years with great success. However, If I was writing in powershell, I'd switch.
– uSlackr
Feb 8 '10 at 19:29
Does blat able to work as send mail path for PHP on Windows?
– SaidbakR
Aug 14 '14 at 22:02
add a comment |
seconding blat. It can be a bit picky about passing parameters directly from the command line, but once you nail it, does exactly what the OP needs.
– Chris Thorpe
Feb 5 '10 at 23:51
I've been using blat for years with great success. However, If I was writing in powershell, I'd switch.
– uSlackr
Feb 8 '10 at 19:29
Does blat able to work as send mail path for PHP on Windows?
– SaidbakR
Aug 14 '14 at 22:02
seconding blat. It can be a bit picky about passing parameters directly from the command line, but once you nail it, does exactly what the OP needs.
– Chris Thorpe
Feb 5 '10 at 23:51
seconding blat. It can be a bit picky about passing parameters directly from the command line, but once you nail it, does exactly what the OP needs.
– Chris Thorpe
Feb 5 '10 at 23:51
I've been using blat for years with great success. However, If I was writing in powershell, I'd switch.
– uSlackr
Feb 8 '10 at 19:29
I've been using blat for years with great success. However, If I was writing in powershell, I'd switch.
– uSlackr
Feb 8 '10 at 19:29
Does blat able to work as send mail path for PHP on Windows?
– SaidbakR
Aug 14 '14 at 22:02
Does blat able to work as send mail path for PHP on Windows?
– SaidbakR
Aug 14 '14 at 22:02
add a comment |
Would you consider powershell rather than cmd.exe? If so, sending mail is built in:
$SmtpClient = New-Object System.Net.Mail.SmtpClient
$SmtpServer = "your.mail.host.com"
$SmtpClient.host = $SmtpServer
$From = "Me <User@example.com>"
$To = User2@example.com
$Title = "Subject"
$Body = "Body Text"
$SmtpClient.Send($From,$To,$Title,$Body)
To make a one liner, save the following to a powershell script file (sendmail.ps1):
param(
[string] $From = "from@example.com",
[string] $To = "to@example.com",
[string] $Title = "title",
[string] $Body = "body"
)
$SmtpClient = New-Object System.Net.Mail.SmtpClient
$SmtpServer = "your.mail.host.com"
$SmtpClient.host = $SmtpServer
$SmtpClient.Send($From,$To,$Title,$Body)
(make sure to change the smtpserver to be your real one)
Then you can call it using:
powershell.exe c:pathtosendmail.ps1 "from@example.com" "to@example.com" "title" "body"
1
powershell would also have to be installed, otherwise I would have prefered it over vbscript.
– Jim B
Feb 5 '10 at 23:48
Nice answer. Just one minor change, the arguments need to be single quotes.
– Brain2000
Jan 21 '15 at 23:45
add a comment |
Would you consider powershell rather than cmd.exe? If so, sending mail is built in:
$SmtpClient = New-Object System.Net.Mail.SmtpClient
$SmtpServer = "your.mail.host.com"
$SmtpClient.host = $SmtpServer
$From = "Me <User@example.com>"
$To = User2@example.com
$Title = "Subject"
$Body = "Body Text"
$SmtpClient.Send($From,$To,$Title,$Body)
To make a one liner, save the following to a powershell script file (sendmail.ps1):
param(
[string] $From = "from@example.com",
[string] $To = "to@example.com",
[string] $Title = "title",
[string] $Body = "body"
)
$SmtpClient = New-Object System.Net.Mail.SmtpClient
$SmtpServer = "your.mail.host.com"
$SmtpClient.host = $SmtpServer
$SmtpClient.Send($From,$To,$Title,$Body)
(make sure to change the smtpserver to be your real one)
Then you can call it using:
powershell.exe c:pathtosendmail.ps1 "from@example.com" "to@example.com" "title" "body"
1
powershell would also have to be installed, otherwise I would have prefered it over vbscript.
– Jim B
Feb 5 '10 at 23:48
Nice answer. Just one minor change, the arguments need to be single quotes.
– Brain2000
Jan 21 '15 at 23:45
add a comment |
Would you consider powershell rather than cmd.exe? If so, sending mail is built in:
$SmtpClient = New-Object System.Net.Mail.SmtpClient
$SmtpServer = "your.mail.host.com"
$SmtpClient.host = $SmtpServer
$From = "Me <User@example.com>"
$To = User2@example.com
$Title = "Subject"
$Body = "Body Text"
$SmtpClient.Send($From,$To,$Title,$Body)
To make a one liner, save the following to a powershell script file (sendmail.ps1):
param(
[string] $From = "from@example.com",
[string] $To = "to@example.com",
[string] $Title = "title",
[string] $Body = "body"
)
$SmtpClient = New-Object System.Net.Mail.SmtpClient
$SmtpServer = "your.mail.host.com"
$SmtpClient.host = $SmtpServer
$SmtpClient.Send($From,$To,$Title,$Body)
(make sure to change the smtpserver to be your real one)
Then you can call it using:
powershell.exe c:pathtosendmail.ps1 "from@example.com" "to@example.com" "title" "body"
Would you consider powershell rather than cmd.exe? If so, sending mail is built in:
$SmtpClient = New-Object System.Net.Mail.SmtpClient
$SmtpServer = "your.mail.host.com"
$SmtpClient.host = $SmtpServer
$From = "Me <User@example.com>"
$To = User2@example.com
$Title = "Subject"
$Body = "Body Text"
$SmtpClient.Send($From,$To,$Title,$Body)
To make a one liner, save the following to a powershell script file (sendmail.ps1):
param(
[string] $From = "from@example.com",
[string] $To = "to@example.com",
[string] $Title = "title",
[string] $Body = "body"
)
$SmtpClient = New-Object System.Net.Mail.SmtpClient
$SmtpServer = "your.mail.host.com"
$SmtpClient.host = $SmtpServer
$SmtpClient.Send($From,$To,$Title,$Body)
(make sure to change the smtpserver to be your real one)
Then you can call it using:
powershell.exe c:pathtosendmail.ps1 "from@example.com" "to@example.com" "title" "body"
edited Feb 5 '10 at 23:01
answered Feb 5 '10 at 20:45
MattBMattB
10.7k12234
10.7k12234
1
powershell would also have to be installed, otherwise I would have prefered it over vbscript.
– Jim B
Feb 5 '10 at 23:48
Nice answer. Just one minor change, the arguments need to be single quotes.
– Brain2000
Jan 21 '15 at 23:45
add a comment |
1
powershell would also have to be installed, otherwise I would have prefered it over vbscript.
– Jim B
Feb 5 '10 at 23:48
Nice answer. Just one minor change, the arguments need to be single quotes.
– Brain2000
Jan 21 '15 at 23:45
1
1
powershell would also have to be installed, otherwise I would have prefered it over vbscript.
– Jim B
Feb 5 '10 at 23:48
powershell would also have to be installed, otherwise I would have prefered it over vbscript.
– Jim B
Feb 5 '10 at 23:48
Nice answer. Just one minor change, the arguments need to be single quotes.
– Brain2000
Jan 21 '15 at 23:45
Nice answer. Just one minor change, the arguments need to be single quotes.
– Brain2000
Jan 21 '15 at 23:45
add a comment |
I've used bmail with great success in the past.
Usage (copied from website)
C:>bmail /?
Command Line SMTP Emailer V1.07
Copyright(C) 2002-2004 Craig.Peacock@beyondlogic.org
Usage: bmail [options]
-s SMTP Server Name
-p SMTP Port Number (optional, defaults to 25)
-t To: Address
-f From: Address
-b Text Body of Message (optional)
-h Generate Headers
-a Subject (optional)
-m Filename (optional) Use file as Body of Message
-c Prefix above file with CR/LF to separate body from header
-d Debug (Show all mail server communications)
1
I have to admit, I was hoping for a built in solution, though Jim's answer seems to imply that was a bit naive of me...
– Peter
Feb 5 '10 at 18:49
add a comment |
I've used bmail with great success in the past.
Usage (copied from website)
C:>bmail /?
Command Line SMTP Emailer V1.07
Copyright(C) 2002-2004 Craig.Peacock@beyondlogic.org
Usage: bmail [options]
-s SMTP Server Name
-p SMTP Port Number (optional, defaults to 25)
-t To: Address
-f From: Address
-b Text Body of Message (optional)
-h Generate Headers
-a Subject (optional)
-m Filename (optional) Use file as Body of Message
-c Prefix above file with CR/LF to separate body from header
-d Debug (Show all mail server communications)
1
I have to admit, I was hoping for a built in solution, though Jim's answer seems to imply that was a bit naive of me...
– Peter
Feb 5 '10 at 18:49
add a comment |
I've used bmail with great success in the past.
Usage (copied from website)
C:>bmail /?
Command Line SMTP Emailer V1.07
Copyright(C) 2002-2004 Craig.Peacock@beyondlogic.org
Usage: bmail [options]
-s SMTP Server Name
-p SMTP Port Number (optional, defaults to 25)
-t To: Address
-f From: Address
-b Text Body of Message (optional)
-h Generate Headers
-a Subject (optional)
-m Filename (optional) Use file as Body of Message
-c Prefix above file with CR/LF to separate body from header
-d Debug (Show all mail server communications)
I've used bmail with great success in the past.
Usage (copied from website)
C:>bmail /?
Command Line SMTP Emailer V1.07
Copyright(C) 2002-2004 Craig.Peacock@beyondlogic.org
Usage: bmail [options]
-s SMTP Server Name
-p SMTP Port Number (optional, defaults to 25)
-t To: Address
-f From: Address
-b Text Body of Message (optional)
-h Generate Headers
-a Subject (optional)
-m Filename (optional) Use file as Body of Message
-c Prefix above file with CR/LF to separate body from header
-d Debug (Show all mail server communications)
answered Feb 5 '10 at 18:38
ZypherZypher
34.3k44492
34.3k44492
1
I have to admit, I was hoping for a built in solution, though Jim's answer seems to imply that was a bit naive of me...
– Peter
Feb 5 '10 at 18:49
add a comment |
1
I have to admit, I was hoping for a built in solution, though Jim's answer seems to imply that was a bit naive of me...
– Peter
Feb 5 '10 at 18:49
1
1
I have to admit, I was hoping for a built in solution, though Jim's answer seems to imply that was a bit naive of me...
– Peter
Feb 5 '10 at 18:49
I have to admit, I was hoping for a built in solution, though Jim's answer seems to imply that was a bit naive of me...
– Peter
Feb 5 '10 at 18:49
add a comment |
Try free Mail Alert Simple Mailer:
https://sourceforge.net/projects/mail-alert/
It supports SSL/TLS mail servers like gmail and its' easy to configure.
It supports SSL too.
– Roland Pihlakas
Jul 17 '16 at 17:19
add a comment |
Try free Mail Alert Simple Mailer:
https://sourceforge.net/projects/mail-alert/
It supports SSL/TLS mail servers like gmail and its' easy to configure.
It supports SSL too.
– Roland Pihlakas
Jul 17 '16 at 17:19
add a comment |
Try free Mail Alert Simple Mailer:
https://sourceforge.net/projects/mail-alert/
It supports SSL/TLS mail servers like gmail and its' easy to configure.
Try free Mail Alert Simple Mailer:
https://sourceforge.net/projects/mail-alert/
It supports SSL/TLS mail servers like gmail and its' easy to configure.
answered Mar 30 '16 at 9:30
AdminAdmin
211
211
It supports SSL too.
– Roland Pihlakas
Jul 17 '16 at 17:19
add a comment |
It supports SSL too.
– Roland Pihlakas
Jul 17 '16 at 17:19
It supports SSL too.
– Roland Pihlakas
Jul 17 '16 at 17:19
It supports SSL too.
– Roland Pihlakas
Jul 17 '16 at 17:19
add a comment |
One more command-line mailer program:
- mailsend
It supports SSL too.
add a comment |
One more command-line mailer program:
- mailsend
It supports SSL too.
add a comment |
One more command-line mailer program:
- mailsend
It supports SSL too.
One more command-line mailer program:
- mailsend
It supports SSL too.
answered Jul 17 '16 at 17:20
Roland PihlakasRoland Pihlakas
19115
19115
add a comment |
add a comment |
sendEmail -f %from_address% -t %to_address% -u "Subject Line" -m "Message" -s %smtp_server%
The simplest Win utility I found and use in production environment. Standalone executable/no installation or configuration.
Supports both non-TLS and TLS. And has a debugger, which is helpful.
http://caspian.dotconf.net/menu/Software/SendEmail/#download
add a comment |
sendEmail -f %from_address% -t %to_address% -u "Subject Line" -m "Message" -s %smtp_server%
The simplest Win utility I found and use in production environment. Standalone executable/no installation or configuration.
Supports both non-TLS and TLS. And has a debugger, which is helpful.
http://caspian.dotconf.net/menu/Software/SendEmail/#download
add a comment |
sendEmail -f %from_address% -t %to_address% -u "Subject Line" -m "Message" -s %smtp_server%
The simplest Win utility I found and use in production environment. Standalone executable/no installation or configuration.
Supports both non-TLS and TLS. And has a debugger, which is helpful.
http://caspian.dotconf.net/menu/Software/SendEmail/#download
sendEmail -f %from_address% -t %to_address% -u "Subject Line" -m "Message" -s %smtp_server%
The simplest Win utility I found and use in production environment. Standalone executable/no installation or configuration.
Supports both non-TLS and TLS. And has a debugger, which is helpful.
http://caspian.dotconf.net/menu/Software/SendEmail/#download
edited Apr 18 at 0:18
answered Mar 8 '18 at 1:19
access_grantedaccess_granted
1013
1013
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f110057%2feasiest-way-to-send-an-email-from-the-command-line-using-windows-2003-r2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Utilities like blat and sendemail don't require installation. They're both freestanding exe files.
– John Gardeniers
Feb 5 '10 at 22:26
I guess I have to accept that I need to at the very least copy an exe (either blat or powershell) to each machine. If that's the case, then blat is very easy to use. Thanks. I still wonder why MS left this feature out, considering how many other less useful ones they put in to the standard distro.
– Peter
Feb 8 '10 at 17:55