A control method for an information processing apparatus, the control method comprising:
- obtaining scan data by reading a document;
- extracting a character string from the scan data;
- setting one of a plurality of settings, including a first setting and a second setting, wherein:
- the first setting causes execution of an inspection process, which determines whether a registered predetermined character string is included in the extracted character string, in a state where a predetermined transmission destination is designated as information about a transmission destination of the scan data;
- and
- the second setting does not cause execution of the inspection process, in a state where the predetermined transmission destination is designated as the information about the transmission destination of the scan data;
- executing the inspection process on the scan data, in a state where the first setting is set and the predetermined transmission destination is a first transmission destination;
- and
- not executing the inspection process on the scan data, in a state where the first setting is set and the predetermined transmission destination is a second transmission destination different from the first transmission destination.