hi
I am using send-mailmessage cmdlet in one scripts from my domain machine to send one attachment to my user id. I have added my IP on SMTP/Relay server also.
Send-mailmessage -from "user1 <user1@domain.com> -to "user2 <user2@domain.com>" -subject " Test Mail " -attachment " File details " -smtp <IP>
This cmdlet executes without any error but mail is not trigeer to respective user. Telnet to smtp server works from my machime on 25 port.
OS - Win 7 SP1 ; Powershell Ver - 2.0
Help me what need to check more.