Autor Beitrag
Alice
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 120



BeitragVerfasst: Di 17.02.09 08:34 
hi,

ich versuche via JvMail (Jedi-vcl) version v3.33 mit delphi7 mails mit dem std. client zu versenden.
als OS wurde bisher XP x86 und vista x86/x64 genutzt.
als mailclient outlookexpress, windows mail und 'the bat'.

problem: es geht soweit alles, nur AddRecipient trägt keinen empfänger ein.
CC funktioniert jedoch komischweise einwandfrei!?

unter allen OS + clienten das selbe problem.

hier mein code dazu:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
Mail.Clear;
Mail.Recipient.AddRecipient('useraccount@blabla.net','blabla'); //geht nicht
Mail.CarbonCopy.AddRecipient('useraccount@blabla.net','blabla'); //geht!
Mail.Subject := 'Report';
Mail.Attachment.Add('c:\autoexec.bat');
Mail.Body.Add('bodytxt');
Mail.SendMail(True);


woran könnte das liegen?
könnte das ein bug von JvMailsein?
im code hiervon konnte ich so jetzt nichts finden.

cu
Reinhardtinho
Hält's aus hier
Beiträge: 12



BeitragVerfasst: Di 17.02.09 13:02 
Hi,

bei mir gehts so:

ausblenden Delphi-Quelltext
1:
JvMail1.Recipient.Add.Address = 'bla';					
Alice Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 120



BeitragVerfasst: Di 17.02.09 15:26 
hi,

user profile iconReinhardtinho hat folgendes geschrieben Zum zitierten Posting springen:
Hi,

bei mir gehts so:

ausblenden Delphi-Quelltext
1:
JvMail1.Recipient.Add.Address = 'bla';					


leider läuft auch das nicht wie erwünscht,
der empfänger bleibt weiterhin leer.

?

cu
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Di 17.02.09 17:30 
Probier mal davor: JvMail1.Recipient.Clear; (Quelle: www.delphipraxis.net/topic19756.html)

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Alice Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 120



BeitragVerfasst: Di 17.02.09 18:34 
hi,

user profile iconGTA-Place hat folgendes geschrieben Zum zitierten Posting springen:
Probier mal davor: JvMail1.Recipient.Clear; (Quelle: www.delphipraxis.net/topic19756.html)


ahhrggg... , nein leider kein erfolg.

cu