salesforce iterate map apex page code example
Example: how to iterate map in apex salesforce
for(Id id: mapname.keyset()){
Set<String> stringset= mapname.get(id);
for(String a: stringset){
sendMail(a);
}
for(Id id: mapname.keyset()){
Set<String> stringset= mapname.get(id);
for(String a: stringset){
sendMail(a);
}