Hi, I am undertaking a project that requires the ability to send email. I'm not familiar with this aspect of programing and help would be appreciated. The ability to send fast is also a factor.
I've been using it for a couple of years now with no trouble.. except:
In the PopClient class, the "Loop counter" variable a is declared as an Integer. If your mailbox accumulates too many emails, you'll Overflow this variable. I changed mine to Long and that seems to have fixed it with no noticeable side-effects
In the Data procedure of the SmtpClient class, you'd do well to add a Date header to the message. I added sendStr "Date: " & Format(Now, "ddd, dd mmm yyyy hh:nn:ss" & " -500" & vbCrLf
As for speed, I don't know how it compares to other methods. Seems pretty speedy to me.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.