Tag Archives: smtp

Send email via Yahoo with PowerShell

Quick reference for sending email via a Yahoo! mail account and their SMTP servers from within a PowerShell script. You’ll need the Yahoo SMTP server details, which require you to use a specific port (587 – I couldn’t get 465 … Continue reading

Rate this:

Posted in PowerShell, Security | Tagged , , , , , , , , , , , , | 1 Comment

SMTP email diagnostics and info – troubleshoot email not received

Every now and then somebody will contact you via a method that they wouldn’t normally use and say something like “did you get the email I sent to you a few days ago”. If the answer to this is “no, … Continue reading

Rate this:

Posted in Exchange | Tagged , , , , , , , , , , , , , , | Leave a comment

Send notification email from SCCM 2012 Task Sequence

I wanted to be able to send an email from a step in a SCCM 2012 OS Deployment (OSD) task sequence. This was so that I could be notified when the task sequence had completed successfully. The account used to … Continue reading

Rate this:

Posted in sccm, Scripting, Windows | Tagged , , , , , , , , , | Leave a comment

Send SMTP email with authentication from PowerShell

Email is a good way to send notifications from your PowerShell scripts, and it’s super easy. You just need an SMTP server, and use Send-MailMessage: You can even omit the -SmtpServer bit if you’ve previously set the $PSEmailServer preference variable. … Continue reading

Rate this:

Posted in PowerShell | Tagged , , , , , , , , , , , , , , , , , , | 5 Comments

Microsoft Remote Connectivity Analyser

Handy online utilities to check for issues. Can also help decypher SMTP headers. https://testconnectivity.microsoft.com/

Rate this:

Posted in Applications, Networking | Tagged , , , , , , | Leave a comment

SMTP delivery failure – 550 unknown user

A Microsoft Small Business Server 2008 system had stopped receiving external email. Internally Exchange 2007 was working fine, and it was also sending email out quite normally too.¬†Incoming emails were bounced with a message of: 550 unknown user I checked … Continue reading

Rate this:

Posted in Exchange | Tagged , , , , , | Leave a comment