function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jcohanallroundsjcohanallrounds 

Method does not exist or incorrect signature: debugEmail.sendmail(String)

I am trying to send myself an email with debugging information inside a trigger and  I am trying to pass a debugging message to debugEmail.sendMail

 

In the  trigger code upon compiling at the "debugEmail.sendMail(msg)" statement I get the error message  "Method does not exist or incorrect signature: debugEmail.sendmail(String)".  What does this mean and how do I fix it?

 

Trigger code has statements

------------------------------

msg = 'delta' ;

debugEmail.sendMail(msg);

 

 

as an Apex class I have the following:

 

public class debugEmail {
   
    public static void sendMail(String msg) {

 

    }

}