try{MimeMailMessagemail=newMimeMailMessage();mail.From=newMimeMailAddress("("brent---@------s.com");mail.To.Add(newMimeMailAddress("be----@gmail.com"));mail.Subject="Test";mail.Body="This is a test message"MimeMailermailSender=newMimeMailer(@"------1.prod.phx3.secureserver.net",465);mailSender.Credentials=newSystem.Net.NetworkCredential("brent-----s@bi----.com","-----";mailSender.AuthenticationMode=AuthenticationType.Base64;mailSender.Send(mail);}
The above is an example of me trying to send mail with this software. It runs sucessfully in the test but I do not recieve the email at gmail.com (also not in spam folder). A logging feature would be useful.
I tried this with MailBee.Net software and it worked and I recieved the email after a a minute or 2. I produced a log with there code. Maybe you can see something they are doing that is not supported with (AIM). [13:37:24.26][INFO] Assembly version: 10.0.45.502. [13:37:24.26][INFO] Will send mail message. [13:37:24.30][INFO] Will resolve host "--------1.prod.phx3.secureserver.net". [13:37:24.32][INFO] Host "--------1.prod.phx3.secureserver.net" resolved to IP address(es) --.--.176.96. [13:37:24.32][INFO] Will connect to host "--------1.prod.phx3.secureserver.net" on port 465. [13:37:24.40][INFO] Socket connected to IP address --.--.176.96 on port 465. [13:37:24.40][INFO] Will start TLS/SSL negotiation sequence. [13:37:24.58][INFO] TLS/SSL negotiation completed. [13:37:29.61][RECV] 220---------1.prod.phx3.secureserver.net ESMTP Exim 4.85_1 #1 Tue, 26 Apr 2016 10:37:32 -0700 \r\n220-We do not authorize the use of this system to transport unsolicited, \r\n220 and/or bulk e-mail.\r\n [13:37:29.62][INFO] Connected to mail service at host "--------1.prod.phx3.secureserver.net" on port 465 and ready. [13:37:29.62][INFO] Will send Hello command (HELO or EHLO). [13:37:29.62][SEND] EHLO [---.--.32]\r\n [13:37:29.70][RECV] 250---------1.prod.phx3.secureserver.net Hello ---122-150-33.lightspeed.tukrga.sbcglobal.net [--122.150.33]\r\n250-SIZE 52428800\r\n250-8BITMIME\r\n250-PIPELINING\r\n250-AUTH PLAIN LOGIN\r\n250 HELP\r\n [13:37:29.70][INFO] SMTP Hello completed. [13:37:29.71][INFO] Will login as "brent-----@-----experts.com". [13:37:29.72][INFO] Will try SASL LOGIN authentication method. [13:37:29.72][SEND] AUTH LOGIN\r\n [13:37:29.79][RECV] 334 VXNlcm5hbWU6\r\n [13:37:29.80][SEND]*------*\r\n [13:37:29.87][RECV] 334 UGFzc3dvcmQ6\r\n [13:37:29.88][SEND]*-----*\r\n [13:37:30.01][RECV] 235 Authentication succeeded\r\n [13:37:30.01][INFO] Logged in as "brent-----@-----experts.com". [13:37:30.01][INFO] Will send mail message to SMTP server "--------1.prod.phx3.secureserver.net". [13:37:30.02][INFO] Will submit sender and recipients. [13:37:30.02][SEND] MAIL FROM:"brent-----@-----experts.com"\r\n [13:37:30.02][SEND] RCPT TO:ben-----@gmail.com\r\n [13:37:30.10][RECV] 250 OK\r\n [13:37:30.11][RECV] 250 Accepted\r\n [13:37:30.12][INFO] Sender and recipients accepted by SMTP server. [13:37:30.12][INFO] Will send message data now. [13:37:30.13][SEND] DATA\r\n [13:37:30.20][RECV] 354 Enter message, ending with "." on a line by itself\r\n [13:37:30.23][SEND] MIME-Version: 1.0\r\nX-Mailer: MailBee.NET 10.0.45.502\r\nFrom: bren ... f-8"\r\nContent-Transfer-Encoding: quoted-printable\r\n\r\nJust a test [Data chunk of 331 bytes sent.] [13:37:30.24][SEND] \r\n.\r\n [13:37:30.42][RECV] 250 OK id=1av6vV-0006ST-0Y\r\n [13:37:30.42][INFO] Message successfully submitted to SMTP server. [13:37:30.43][SEND] QUIT\r\n [13:37:30.50][RECV] 221 --------1.prod.phx3.secureserver.net closing connection\r\n [13:37:30.51][INFO] Will disconnect from host "--------1.prod.phx3.secureserver.net". [13:37:30.51][INFO] Disconnected from host "--------1.prod.phx3.secureserver.net". [13:37:30.51][INFO] Mail message sent.
So Imaybe the issue is the authentication method? Let me know what ya suspect the differece may be. Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The above is an example of me trying to send mail with this software. It runs sucessfully in the test but I do not recieve the email at gmail.com (also not in spam folder). A logging feature would be useful.
I tried this with MailBee.Net software and it worked and I recieved the email after a a minute or 2. I produced a log with there code. Maybe you can see something they are doing that is not supported with (AIM).
[13:37:24.26] [INFO] Assembly version: 10.0.45.502.
[13:37:24.26] [INFO] Will send mail message.
[13:37:24.30] [INFO] Will resolve host "--------1.prod.phx3.secureserver.net".
[13:37:24.32] [INFO] Host "--------1.prod.phx3.secureserver.net" resolved to IP address(es) --.--.176.96.
[13:37:24.32] [INFO] Will connect to host "--------1.prod.phx3.secureserver.net" on port 465.
[13:37:24.40] [INFO] Socket connected to IP address --.--.176.96 on port 465.
[13:37:24.40] [INFO] Will start TLS/SSL negotiation sequence.
[13:37:24.58] [INFO] TLS/SSL negotiation completed.
[13:37:29.61] [RECV] 220---------1.prod.phx3.secureserver.net ESMTP Exim 4.85_1 #1 Tue, 26 Apr 2016 10:37:32 -0700 \r\n220-We do not authorize the use of this system to transport unsolicited, \r\n220 and/or bulk e-mail.\r\n
[13:37:29.62] [INFO] Connected to mail service at host "--------1.prod.phx3.secureserver.net" on port 465 and ready.
[13:37:29.62] [INFO] Will send Hello command (HELO or EHLO).
[13:37:29.62] [SEND] EHLO [---.--.32]\r\n
[13:37:29.70] [RECV] 250---------1.prod.phx3.secureserver.net Hello ---122-150-33.lightspeed.tukrga.sbcglobal.net [--122.150.33]\r\n250-SIZE 52428800\r\n250-8BITMIME\r\n250-PIPELINING\r\n250-AUTH PLAIN LOGIN\r\n250 HELP\r\n
[13:37:29.70] [INFO] SMTP Hello completed.
[13:37:29.71] [INFO] Will login as "brent-----@-----experts.com".
[13:37:29.72] [INFO] Will try SASL LOGIN authentication method.
[13:37:29.72] [SEND] AUTH LOGIN\r\n
[13:37:29.79] [RECV] 334 VXNlcm5hbWU6\r\n
[13:37:29.80] [SEND] *------*\r\n
[13:37:29.87] [RECV] 334 UGFzc3dvcmQ6\r\n
[13:37:29.88] [SEND] *-----*\r\n
[13:37:30.01] [RECV] 235 Authentication succeeded\r\n
[13:37:30.01] [INFO] Logged in as "brent-----@-----experts.com".
[13:37:30.01] [INFO] Will send mail message to SMTP server "--------1.prod.phx3.secureserver.net".
[13:37:30.02] [INFO] Will submit sender and recipients.
[13:37:30.02] [SEND] MAIL FROM:"brent-----@-----experts.com"\r\n
[13:37:30.02] [SEND] RCPT TO:ben-----@gmail.com\r\n
[13:37:30.10] [RECV] 250 OK\r\n
[13:37:30.11] [RECV] 250 Accepted\r\n
[13:37:30.12] [INFO] Sender and recipients accepted by SMTP server.
[13:37:30.12] [INFO] Will send message data now.
[13:37:30.13] [SEND] DATA\r\n
[13:37:30.20] [RECV] 354 Enter message, ending with "." on a line by itself\r\n
[13:37:30.23] [SEND] MIME-Version: 1.0\r\nX-Mailer: MailBee.NET 10.0.45.502\r\nFrom: bren ... f-8"\r\nContent-Transfer-Encoding: quoted-printable\r\n\r\nJust a test [Data chunk of 331 bytes sent.]
[13:37:30.24] [SEND] \r\n.\r\n
[13:37:30.42] [RECV] 250 OK id=1av6vV-0006ST-0Y\r\n
[13:37:30.42] [INFO] Message successfully submitted to SMTP server.
[13:37:30.43] [SEND] QUIT\r\n
[13:37:30.50] [RECV] 221 --------1.prod.phx3.secureserver.net closing connection\r\n
[13:37:30.51] [INFO] Will disconnect from host "--------1.prod.phx3.secureserver.net".
[13:37:30.51] [INFO] Disconnected from host "--------1.prod.phx3.secureserver.net".
[13:37:30.51] [INFO] Mail message sent.
So Imaybe the issue is the authentication method? Let me know what ya suspect the differece may be. Thanks