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 TidMessage

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





PostPosted: Wed Jan 19, 2005 1:54 pm    Post subject: Indy 9 TidMessage Reply with quote



Hello,

I need some help.

I have to create a service who go on on mail box and after i have te create
a Call in our Problem management.

I use pop for sending the mail and smtp to sent it.

I want to enclose the mail i can find on the mail box i have to scan and
send it as a winword file. Unfortunately i can only save my message as a
text one.

i use :

var
mymsg as tidMessage;
begin
......
mymsg.savetofile('c:temptest.doc')
end;

I try to create an msg file but i can't read it.

Thank you for your help.

Jerome.


Back to top
Ciaran Costelloe
Guest





PostPosted: Wed Jan 19, 2005 2:25 pm    Post subject: Re: Indy 9 TidMessage Reply with quote




"Omega" <omega.ch (AT) bluewin (DOT) ch> wrote

Quote:
Hello,

I need some help.

I have to create a service who go on on mail box and after i have te
create a Call in our Problem management.

I use pop for sending the mail and smtp to sent it.

I want to enclose the mail i can find on the mail box i have to scan and
send it as a winword file. Unfortunately i can only save my message as a
text one.

i use :

var
mymsg as tidMessage;
begin
......
mymsg.savetofile('c:temptest.doc')

Try:

mymsg.savetofile('c:temptest.eml');

Indy 10 is better at this than Indy 9 (depending on the actual message
content).

Ciaran



Back to top
Omega
Guest





PostPosted: Wed Jan 19, 2005 2:55 pm    Post subject: Re: Indy 9 TidMessage Reply with quote



Thank you for your answer i will try it.

can you tell me if i have to uninstall the version 9 before intall the
version 10


"Ciaran Costelloe" <ccostelloe (AT) flogas (DOT) ie> wrote

Quote:

"Omega" <omega.ch (AT) bluewin (DOT) ch> wrote in message
news:41ee6697 (AT) newsgroups (DOT) borland.com...
Hello,

I need some help.

I have to create a service who go on on mail box and after i have te
create a Call in our Problem management.

I use pop for sending the mail and smtp to sent it.

I want to enclose the mail i can find on the mail box i have to scan and
send it as a winword file. Unfortunately i can only save my message as a
text one.

i use :

var
mymsg as tidMessage;
begin
......
mymsg.savetofile('c:temptest.doc')

Try:

mymsg.savetofile('c:temptest.eml');

Indy 10 is better at this than Indy 9 (depending on the actual message
content).

Ciaran





Back to top
Omega
Guest





PostPosted: Wed Jan 19, 2005 3:04 pm    Post subject: Re: Indy 9 TidMessage Reply with quote

Excellent it's working.

But the computer of our client can't read an outlook express file. Can you
tell me how i can convert the eml file to an .msg file ?

Thank you for your help.

Jérôme


"Ciaran Costelloe" <ccostelloe (AT) flogas (DOT) ie> wrote

Quote:

"Omega" <omega.ch (AT) bluewin (DOT) ch> wrote in message
news:41ee6697 (AT) newsgroups (DOT) borland.com...
Hello,

I need some help.

I have to create a service who go on on mail box and after i have te
create a Call in our Problem management.

I use pop for sending the mail and smtp to sent it.

I want to enclose the mail i can find on the mail box i have to scan and
send it as a winword file. Unfortunately i can only save my message as a
text one.

i use :

var
mymsg as tidMessage;
begin
......
mymsg.savetofile('c:temptest.doc')

Try:

mymsg.savetofile('c:temptest.eml');

Indy 10 is better at this than Indy 9 (depending on the actual message
content).

Ciaran





Back to top
Ciaran Costelloe
Guest





PostPosted: Wed Jan 19, 2005 9:20 pm    Post subject: Re: Indy 9 TidMessage Reply with quote


"Omega" <omega.ch (AT) bluewin (DOT) ch> wrote

Quote:
Excellent it's working.

But the computer of our client can't read an outlook express file.

I don't think I understand what you are trying to do. Outlook can read .eml
files via drag-and-drop (and probably by double-clicking if you set up a
file association also). What software is your client using? You could also
get your program to include the email as a message/rfc822 part.

Ciaran




Back to top
Omega
Guest





PostPosted: Thu Jan 20, 2005 11:24 am    Post subject: Re: Indy 9 TidMessage Reply with quote

All the client have outlook 2003 and i receive a message :

Outlook can not read the file.

Which aventage i have if i use indy10 ?

"Ciaran Costelloe" <ccostelloe (AT) flogas (DOT) ie> wrote

Quote:

"Omega" <omega.ch (AT) bluewin (DOT) ch> wrote in message
news:41ee76db$1 (AT) newsgroups (DOT) borland.com...
Excellent it's working.

But the computer of our client can't read an outlook express file.

I don't think I understand what you are trying to do. Outlook can read
.eml files via drag-and-drop (and probably by double-clicking if you set
up a file association also). What software is your client using? You
could also get your program to include the email as a message/rfc822 part.

Ciaran






Back to top
Ciaran Costelloe
Guest





PostPosted: Thu Jan 20, 2005 10:37 pm    Post subject: Re: Indy 9 TidMessage Reply with quote


"Omega" <omega.ch (AT) bluewin (DOT) ch> wrote

Quote:
All the client have outlook 2003 and i receive a message :

Outlook can not read the file.

Which aventage i have if i use indy10 ?

Depends what you are trying to do (I am still not quite clear). Can you
copy-and-paste the eml into a message here?

Ciaran



Back to top
Omega
Guest





PostPosted: Fri Jan 21, 2005 8:46 am    Post subject: Re: Indy 9 TidMessage Reply with quote

Hello,

My service scan an address e-mail and these e-mail i have to create a new
call automaticelly in hour problem management.

The problem i have no i can create the file but i can't see the body in my
eml. If i have a picture i can see it.

I send you the differents file on your e-mail address :

[email]ccostelloe (AT) flogas (DOT) ie[/email].

Thank you for everything.

Jerome

"Ciaran Costelloe" <ccostelloe (AT) flogas (DOT) ie> wrote

Quote:

"Omega" <omega.ch (AT) bluewin (DOT) ch> wrote in message
news:41ef94f7$2 (AT) newsgroups (DOT) borland.com...
All the client have outlook 2003 and i receive a message :

Outlook can not read the file.

Which aventage i have if i use indy10 ?

Depends what you are trying to do (I am still not quite clear). Can you
copy-and-paste the eml into a message here?

Ciaran





Back to top
Ciaran Costelloe
Guest





PostPosted: Fri Jan 21, 2005 12:25 pm    Post subject: Re: Indy 9 TidMessage Reply with quote

Quote:
I send you the differents file on your e-mail address :

Yes, thanks. All the .eml files were empty, but that all makes sense now.
In your code, you need to call myEmail.LoadFromFile('c:temptest1.eml') and
then change the corresponding "from" and "to" entries.

Ciaran



Back to top
Ciaran Costelloe
Guest





PostPosted: Fri Jan 21, 2005 12:44 pm    Post subject: Re: Indy 9 TidMessage Reply with quote


"Omega" <omega.ch (AT) bluewin (DOT) ch> wrote

Quote:
Hello,

My service scan an address e-mail and these e-mail i have to create a new
call automaticelly in hour problem management.

The problem i have no i can create the file but i can't see the body in my
eml. If i have a picture i can see it.

By the way, if you change to Indy 10, the SaveToFile() function will
correctly save the content of the emails you POP. In Indy 9, SaveToFile()
and LoadFromFile(0 will not always work correctly (it is a structural issue
in Indy 9).

Ciaran



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.