A non-transitory recording medium storing a plurality of instructions which, when executed by one or more processors, cause the processors to perform a method, comprising:
- storing, in a memory, primary address information indicating an address of a primary mail server and alternate address information indicating one or more addresses of corresponding one or more alternate mail servers;
- performing authentication of a user;
- transmitting, after the authentication of the user succeeds, in response to a first transmission request for transmission of electronic mail by using the primary mail server, the electronic mail by using the primary mail server based on the primary address information stored in the memory;
- in response to a notification indicating that transmission of the electronic mail by using the primary mail server fails, controlling display of a selection screen for selecting one from the one or more alternate mail servers, based on the alternate address information stored in the memory;
- and
- transmitting, in response to a second transmission request for transmission of the electronic mail by using the alternate mail server, the electronic mail by using the one selected from the one or more alternate mail servers on the selection screen.