我有发送电子邮件的命令行应用程序,问题是当我打开控制台并输入所有参数(SendEmail.exe
收件人主题消息发件人发件人密码)时,电子邮件通过 OK,但是当我从其他应用程序执行此操作时
Dim p As New ProcessStartInfo
Dim Tsubject As String = "TEST "
p.FileName = "SendEmail.exe"
p.Arguments = EmailReceivers & " " & subject & " " & " Message " & EmailSender & " " & SenderPass
p.WindowStyle = ProcessWindowStyle.Normal
Process.Start(p)
然后我没有收到任何错误,但我SendEmail.exe
什么Email Successfully Sent
也没收到。