Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET SMTP

 AfterLogic Forum : MailBee.NET SMTP
Subject Topic: check sending enable Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
talaattito
Groupie
Groupie
Avatar

Joined: 05 October 2011
Location: Egypt
Online Status: Offline
Posts: 44
Posted: 18 November 2015 at 3:47am | IP Logged Quote talaattito

hi all
now if i have server name & account name & password & port
please how can i (check if this account can be send email) without sending any email
thanks

Back to Top View talaattito's Profile Search for other posts by talaattito
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 18 November 2015 at 4:24am | IP Logged Quote Alex

You can use Smtp.TestSend method for that.

Code:

Smtp mailer = new Smtp();
SmtpServer server = new SmtpServer("mail.server.com", "user", "pass");
server.Port = myport; // Line needed if port is not default (25).
mailer.SmtpServers.Add(server);
mailer.From.AsString = "user@server.com";
mailer.To.AsString = "to@domain.com";
TestSendResult res = mailer.TestSend(SendFailureThreshold.Default);
if (res != TestSendResult.OK)
{
  // Check failed.
}


Please note that there is no guarantee that this method will work as you expect it to work. If just tells you that your mail server has accepted the given sender and recipient. Your admin could have configured the mail server to accept any recipient, regardless of whether it's actually valid or not.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
talaattito
Groupie
Groupie
Avatar

Joined: 05 October 2011
Location: Egypt
Online Status: Offline
Posts: 44
Posted: 18 November 2015 at 10:51am | IP Logged Quote talaattito

hi it work good but i have problem with yahoo server this is my code
Dim mailer = New Smtp
Dim server As SmtpServer
server = New SmtpServer("smtp.mail.yahoo.com", "mtalaatXXX@yahoo.com", "atwa0128XXXXXX")
mailer.SmtpServers.Add(server)
        mailer.From.AsString = "mtalaatXXX@yahoo.com"
        mailer.To.AsString = "tXXX@yahoo.com"
        Dim Res As TestSendResult = mailer.TestSend(SendFailureThreshold.Default)
        If Res = TestSendResult.OK Then
            MessageBox.Show("connect")
        Else
            MessageBox.Show("no connect")
        End If
alwyes not connect while i can login to this yahoo account and send emails from yahoo website but i can not send emails using mailbee
you can login to account: mtalaatXXX@yahoo.com,pass: atwa0128XXXXXX
from yahoo website and try send email you can but when try using mailbee you can not be able to send
please any help

(edited by Alex to hide sensitive info such as email address and password)
Back to Top View talaattito's Profile Search for other posts by talaattito
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 18 November 2015 at 12:02pm | IP Logged Quote Alex

I didn't test it yet but first please enable logging with Smtp.Log property and check what's in the log file. The log is the first tool for troubleshooting.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
talaattito
Groupie
Groupie
Avatar

Joined: 05 October 2011
Location: Egypt
Online Status: Offline
Posts: 44
Posted: 18 November 2015 at 1:46pm | IP Logged Quote talaattito

problem solved i think that account has limited block and now it work
sorry can i check if any email valid or not without send email to it i mean that i want check if i can send email to it or not
i need this to filter emails if valid or not
any help please
thanks
Back to Top View talaattito's Profile Search for other posts by talaattito
 
talaattito
Groupie
Groupie
Avatar

Joined: 05 October 2011
Location: Egypt
Online Status: Offline
Posts: 44
Posted: 18 November 2015 at 1:53pm | IP Logged Quote talaattito

talaattito wrote:
problem solved i think that account has limited block and now it work
sorry can i check if any email valid or not without send email to it i mean that i want check if an email found on server or not to send email to it
i need this to filter emails if valid or not
any help please
thanks
Back to Top View talaattito's Profile Search for other posts by talaattito
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 19 November 2015 at 3:14am | IP Logged Quote Alex

Not sure if I understood you correctly but isn't TestSend doing that thing?

Or, you need to filter many email address at once (i.e. to filter, let's say, hundreds or thousands of addresses).

For mass checks, you can use EmailAddressValidator class.

Detailed EmailAddressValidator tutorial.

Please read it in detail because it answers many questions, for instance, why you may get your IP address blocked or why some servers accept all addresses, even invalid ones, and why you cannot run this check from a home computer or from any computer which is not a mail server itself.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
talaattito
Groupie
Groupie
Avatar

Joined: 05 October 2011
Location: Egypt
Online Status: Offline
Posts: 44
Posted: 19 November 2015 at 8:26am | IP Logged Quote talaattito

yes i need to filter many email address if it already found or not
thanks i will see your replay and give you feedback
thanks too
Back to Top View talaattito's Profile Search for other posts by talaattito
 
talaattito
Groupie
Groupie
Avatar

Joined: 05 October 2011
Location: Egypt
Online Status: Offline
Posts: 44
Posted: 19 November 2015 at 10:42am | IP Logged Quote talaattito

please im not find EmailAddressValidator
i have version mailbee 7
Back to Top View talaattito's Profile Search for other posts by talaattito
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 19 November 2015 at 11:29am | IP Logged Quote Alex

The current version is v10. Technical support is always provided for the current version only.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
talaattito
Groupie
Groupie
Avatar

Joined: 05 October 2011
Location: Egypt
Online Status: Offline
Posts: 44
Posted: 20 November 2015 at 2:09pm | IP Logged Quote talaattito

how can i update to v10
Back to Top View talaattito's Profile Search for other posts by talaattito
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 21 November 2015 at 1:08am | IP Logged Quote Alex

You can purchase it on our web site, uninstall old version, download and install new one.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
talaattito
Groupie
Groupie
Avatar

Joined: 05 October 2011
Location: Egypt
Online Status: Offline
Posts: 44
Posted: 21 November 2015 at 2:36am | IP Logged Quote talaattito

im try but it trail version
Back to Top View talaattito's Profile Search for other posts by talaattito
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 21 November 2015 at 3:39am | IP Logged Quote Alex

Sorry, I didn't understand.

Anyway, I'll repeat my idea. You need to purchase the new version, the unistall the current version, download and install the new version and apply the license key you got during the purchase.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
talaattito
Groupie
Groupie
Avatar

Joined: 05 October 2011
Location: Egypt
Online Status: Offline
Posts: 44
Posted: 24 November 2015 at 3:14am | IP Logged Quote talaattito

hi alex
im create new mail on mail.ee and this is smtp setting from wesite of mail.ee

SMTP server: mail.ee

Port of SMTP server with TLS support: 587 or 25*. More about TLS

*Some Internet Service providers block port 25. So mail.ee users have to use port 587 to send messages using mail.ee.

     - Username: login

To use SMTP server is necessary to activate authentication of SMTP server. More about SMTP authentication.

    There are email sending restrictions on SMTP server max 15 emails per hour.
     In case of Service abuse or mail.ee Terms of Service violation, letter mailing will be blocked automatically.

im set smtp setting but I can not send email but im not set authentication how can I set it

this is link of mail.ee smtp setting
https://help.mail.ee/help/question/85/37
any help please?
Back to Top View talaattito's Profile Search for other posts by talaattito
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6071
Posted: 24 November 2015 at 3:38am | IP Logged Quote Igor

Hello,

Make sure you supply username and password of email account when sending mail out, for example:

Code:
Smtp mailer = new Smtp();
mailer.SmtpServers.Add("mail.domain.com", "username", "password");


You can find more information at:

Send if server requires SMTP authentication

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide