Cant send email

Send Test Message failed : 530 5.7.0 Must issue a STARTTLS command first error turned on ssl option but does not work
i was using apple but had to switch to gmail email and theres no application specfic password any more had to turn on less secure option in gmail email settings

seems that apple icloud email set up does not work

you can get a app password here