Topic: Send email
Hi there
I need your help
how to send email from a field containing the email address
Thank you for your help.
Niko
My Visual Database → General → Send email
Hi there
I need your help
how to send email from a field containing the email address
Thank you for your help.
Niko
Hello Niko
procedure Form1_Edit1_OnDoubleClick (Sender: string);
begin
OpenFile('mailto:'+Form1.Edit1.Text);
end;
and this
// Pas nécessaire
// Uniquement pour surligner l'adresse e-mail et changer le curseur en HandPoint
procedure Form1_Edit1_OnKeyUp (Sender: string; var Key: Word; Shift, Alt, Ctrl: boolean);
begin
if Pos('@', Form1.Edit1.Text)>0 then
begin
Form1.Edit1.Cursor := crHandPoint;
Form1.Edit1.Font.Style:=fsUnderline;
Form1.Edit1.Font.Color := clHotLight;
end else
begin
Form1.Edit1.Cursor := crDefault;
Form1.Edit1.Font.Style:=0;
Form1.Edit1.Font.Color := clDefault;
end;
end;
JB
Merci JB
Je teste ton exemple
Niko
My Visual Database → General → Send email
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi