|
-
Jun 20th, 2005, 09:53 AM
#1
Thread Starter
New Member
[RESOLVED] Sending Email problems no matter what code i use
hi, someone please try to help me figure this out because its driving me nuts.
When i use outlook express to send mail, outlook has no problems. the server does not require authentication and my server address is
smtp.comcast.net
now, when i try any code to try and send an email through VB, I get a timeout error "Winsock Error Number 10053".
I've tried to send mail using moeur's simple mail sender class as well as 3 or 4 other mail sending code.. all to no avail.
I've shut down my firewall completely to make sure that is not the problem and still the same thing.
yet outlook express has absolutely no problems.
anyone?
i'll post code if you guys want me to but i dont think the code is the problem? does comcast have some kind of anti spam thing that is blocking mail on the server side?
-
Jun 20th, 2005, 10:53 AM
#2
PowerPoster
Re: Sending Email problems no matter what code i use
I use HTMLMailer and the following code:
//////////////////////////////////////////////
' Set the server information:
objMailer.ConnectToServer ("smtp.hbci.com")
' Set the message information :
objMailer.From = "[email protected]"
objMailer.Subject = "Daily Activity Report"
objMailer.Body = "Attached is the Daily Activity Report"
objMailer.AttachFile ("Z:\DAD\Faxes\Fax1.txt")
' Address the message:
objMailer.AddMultipleRecipients fmTo, "[email protected]"
' Send the message:
objMailer.SendMessage
' Disconnect:
objMailer.Disconnect
' Clean up -- that's it!
Set objMailer = Nothing
//////////////////////////////////////////
Works like a charm.
-
Jun 20th, 2005, 10:01 PM
#3
Thread Starter
New Member
Re: Sending Email problems no matter what code i use
 Originally Posted by Pasvorto
I use HTMLMailer and the following code:
//////////////////////////////////////////////
' Set the server information:
objMailer.ConnectToServer ("smtp.hbci.com")
' Set the message information :
objMailer.From = " [email protected]"
objMailer.Subject = "Daily Activity Report"
objMailer.Body = "Attached is the Daily Activity Report"
objMailer.AttachFile ("Z:\DAD\Faxes\Fax1.txt")
' Address the message:
objMailer.AddMultipleRecipients fmTo, " [email protected]"
' Send the message:
objMailer.SendMessage
' Disconnect:
objMailer.Disconnect
' Clean up -- that's it!
Set objMailer = Nothing
//////////////////////////////////////////
Works like a charm.
I think that is around 400 dollars.
I figured the darn thing out. I had shut down my firewall but my virus scanner was blocking port 25 from everything but outlook.
-
Jul 5th, 2005, 09:16 AM
#4
Frenzied Member
Re: Sending Email problems no matter what code i use
Checking the virus scanner!
Finally! I went mad trying to work this out!
I think the Virus Scanner blocks port 25 to prevent mass mailer worms.
It might be worth seeing if you can modify the rule to block port 25 except outlook and your program.
-
Jul 5th, 2005, 04:13 PM
#5
Thread Starter
New Member
Re: Sending Email problems no matter what code i use
 Originally Posted by agmorgan
Checking the virus scanner!
Finally! I went mad trying to work this out!
I think the Virus Scanner blocks port 25 to prevent mass mailer worms.
It might be worth seeing if you can modify the rule to block port 25 except outlook and your program.
i just totally disabled that rule, i think if i had it so it'd allow outlook and my program it wouldnt' work since every time i build a new copy of my program the virus scanner would think that its a different program.
once in a while tho, when i restart my computer the rule comes back and it blocks my program from sending mail.. what can you do.. damn free virus scanner from College.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|