Autor Beitrag
Jagg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Di 09.07.02 08:20 
Hallo !

Wie zeige ich die Größe(also in KB,MB) eines Anhangs an ???

Jagg !
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Di 09.07.02 09:00 
Was für ein Anhang? Meinst Du den Datei-Anhang in E-Mails? Welche Komponenten benutzt Du?
Jagg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Di 09.07.02 09:03 
Ja,ich meine den Dateianhang in e mails,wie zeige ich ihre größe des Anhangs an ?

Ich benutze für den Namen Label !

Jagg !!
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Di 09.07.02 09:29 
Ich glaube Tino wollte eher wissen welche POP3-Komponente du verwendest (Imdy, Fastnet, ICS...)

Gruß
Klabautermann
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Di 09.07.02 09:32 
Jupp, so ist es :shock:
Jagg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Di 09.07.02 09:39 
ich benutze fastnet,also,wie geht das mit der größe des attachments anzeigen ???

Jagg !
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Di 09.07.02 09:44 
Fastnet ist ne ganze Komponentensammlung... ich denke aber das Du die tNMPOP3 benutzt, oder?
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Di 09.07.02 09:55 
Hallo,

bei Fastnet landen alle Anhänge, in dem Verzeichnis, welches du unter AttachFilePath angegeben hast. Also musst du nur die größe der Datei in diesem Ordner bestimmen. Hierfür kannst du z.B. FindFirst/FindClose verwenden.

Gruß
Klabautermann
Jagg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Di 09.07.02 09:56 
ne ich bentutze die nicht,ehrlich gesagt weiss ich gar nicht was du meinst !

aber muss ich die benutzen um die größe anzuzeigen ????

Jagg !!!!!
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Di 09.07.02 10:09 
Klicke einfach mal deine E-Mail-Komponente, auf deinem Formular, an und schreibe war in der ComboBox obern im Objektinspektor steht.

Gruß
Klabautermann