BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Indy 9 SMTP with Attachment locks..

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Craig
Guest





PostPosted: Tue May 15, 2007 8:04 am    Post subject: Indy 9 SMTP with Attachment locks.. Reply with quote



Hi,
Ive got an app in a thread (using indy ver 9) that sends an Email with
Attachment.. (My attachment is about 350k)


Im using

SMTP: TIDSMTP;
MailMessage: TIdmessage;
Attachment : TIdAttachment


1. This app works great on some machines, but not one the one that it needs
to run on..
2. All are running win2k, latest service packs.
3. I can send an email with large attach, with Outlook express with no
problem
4. If I eliminate the attachment, it works fine or do a small attachment It
works fine.

It connects fine, authenticates, but when I send the message, it takes
forever then I finally get "reset by peer" 10054 error..

Weird, cuz it works perfect on other machines. In fact, its code Ive used
forever.. the only diff is that this attach is larger.
Ive tried reseting the router. Ive tried changing the encoding.. Im not sure
where to go. I have not tried version 10 as everyone says is bad news.

Any ideas?
Back to top
Craig
Guest





PostPosted: Tue May 15, 2007 8:11 am    Post subject: Re: Indy 9 SMTP with Attachment locks.. Reply with quote



I found the problem..
Im curious why this would cause a prob on only one machine..


When I change the property from

mailmessage.Encoding:=meMIME
to
mailmessage.Encoding:=meUU;


It now works fine on all machines..

Why would this be?




"Craig" <firebirdwebguy (AT) hotmail (DOT) com> wrote in message
news:464922f4$1 (AT) newsgroups (DOT) borland.com...
Quote:
Hi,
Ive got an app in a thread (using indy ver 9) that sends an Email with
Attachment.. (My attachment is about 350k)


Im using

SMTP: TIDSMTP;
MailMessage: TIdmessage;
Attachment : TIdAttachment


1. This app works great on some machines, but not one the one that it
needs
to run on..
2. All are running win2k, latest service packs.
3. I can send an email with large attach, with Outlook express with no
problem
4. If I eliminate the attachment, it works fine or do a small attachment
It
works fine.

It connects fine, authenticates, but when I send the message, it takes
forever then I finally get "reset by peer" 10054 error..

Weird, cuz it works perfect on other machines. In fact, its code Ive used
forever.. the only diff is that this attach is larger.
Ive tried reseting the router. Ive tried changing the encoding.. Im not
sure
where to go. I have not tried version 10 as everyone says is bad news.

Any ideas?




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.