Results 1 to 5 of 5

Thread: [RESOLVED] Sending Email problems no matter what code i use

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    15

    Resolved [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?

  2. #2
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    15

    Re: Sending Email problems no matter what code i use

    Quote 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.

  4. #4
    Frenzied Member agmorgan's Avatar
    Join Date
    Dec 2000
    Location
    Lurking
    Posts
    1,383

    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.

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    15

    Re: Sending Email problems no matter what code i use

    Quote 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
  •  



Click Here to Expand Forum to Full Width