My compoment dont accept variable or table info, always empty adress
I replace with texte info no probleme is Ok ex: ('myname@xxxx.com)
but it dont accept variable or table info
TMSFMXNativeMFMailComposeViewController1.ToRecipients.Add(FDONNEES.infotable.Fields[9].asstring);
or
mailadress:=FDONNEES.infotable.Fields[9].asstring;
TMSFMXNativeMFMailComposeViewController1.ToRecipients.Add(mailadress);
If you have an idea
Thank you for information
Mario
I find my problem I have one adress with dot
With mail software no problem to send this adress is ok but with tms icl I have always blank adress
when I use this adress with other adress no problem.
Is it a bug
Thank for your help
Mario
Pieter
(Pieter)
3
Hi,
We are unable to detect issues here, can you described the exact steps you have taken to add the address?
Kind Regards,
Pieter
Just clik a buttonmail.text with text Inside
My code is:
procedure TFinforegion.ButtonemailClick(Sender: TObject);
begin
TMSFMXNativeMFMailComposeViewController1.Subject := 'Entrez votre sujet ici.';
TMSFMXNativeMFMailComposeViewController1.Body := 'Entrez le detail ici ';
TMSFMXNativeMFMailComposeViewController1.ToRecipients.Clear;
TMSFMXNativeMFMailComposeViewController1.ToRecipients.Add(Buttonemail.text);
if TMSFMXNativeMFMailComposeViewController1.CanSendMail then
TMSFMXNativeMFMailComposeViewController1.Show;
end;
When a mail open this adress is empty
Thank you for your help
Mario
Pieter
(Pieter)
5
Hi,
The reason why the email address is not showing is because this email address is invalid.