$customHeader
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Email can be tested using PowerShell to isolate issues from software trying to sent email.

  1. Open a PowerShell command prompt.

Test access to the port

Test-NetConnection -ComputerName email-smtp.us-west-2.amazonaws.com -Port 587

Good results look like:

ComputerName : email-smtp.us-west-2.amazonaws.com
RemoteAddress : 52.27.67.21RemotePort : 587
InterfaceAlias : Ethernet 2
SourceAddress : 192.168.35.223
TcpTestSucceeded : True

Send a Test Email

Send-MailMessage -To <YOUR_EMAIL> -From donotreply@foray.com -UseSsl True -SmtpServer email-smtp.us-west-2.amazonaws.com -Port 587 -Subject Test -Credential (New-Object pscredential('<USERNAME>', (ConvertTo-SecureString '<PASSWORD>' -AsPlainText -Force)))

Good results have no output but you receive an email.

  • No labels