Board index » delphi » Replacing From.Text in IdMessage
Jeff Swanberg
Delphi Developer |
Replacing From.Text in IdMessage2005-01-15 03:03:12 AM delphi244 When I send out an email using my SMTP server, the domain name for that server is being appended to the "From.Text" for my IdMessage component. Is there a way to block that from happening?? My code is: with IdMsgSend do begin Body.Assign(Memo2.Lines); From.Text := Edit1.Text; ReplyTo.EMailAddresses := Edit2.Text; Recipients.EMailAddresses := Edit3.Text; end; The email sends just fine but the "From" box on the recipient's end will read: Test ; @swanbergcomputing.com even though all that is put into the Edit1.Text property is: Test User js |