An image processing apparatus which is adapted to receive image data of an original document and transmit an email to which image data is attached, the image processing apparatus comprising: receiving means configured to receive identification information of a user; login means configured to send the received identification information to an authentication server and configured to acquire an authentication notification from the authentication server, the authentication notification indicating whether or not the user has been successfully authenticated; acquisition means configured to acquire an e-mail address of the user notified by the authentication server; determination means configured to determine if the image processing apparatus has been set to operate in a limitation mode, the limitation mode being a mode which is set by only an administrator and is a mode in which transmission of a first email to a destination other than the acquired email address of the user is prohibited; first setting means configured to set a destination of the first e-mail to be transmitted with the image data attached; second setting means configured to set a destination of a second e-mail to be transmitted which makes notification of completion of transmission of the first e-mail; control means configured to perform control of the first setting means and second setting means; and wherein in the case that the determination means determines that the image processing apparatus is set to operate in the limitation mode, the control means is configured to perform control such that: setting of a destination of the first e-mail by the first setting means is limited to the e-mail address acquired by the acquisition means, and setting of at least one destination of the second e-mail by the second setting means is performed using email addresses extracted from among addresses registered in an address book, wherein the extracted email addresses are displayed so that the user selects at least one destination of the second e-mail from among the extracted email addresses. receiving means configured to receive identification information of a user; login means configured to send the received identification information to an authentication server and configured to acquire an authentication notification from the authentication server, the authentication notification indicating whether or not the user has been successfully authenticated; acquisition means configured to acquire an e-mail address of the user notified by the authentication server; determination means configured to determine if the image processing apparatus has been set to operate in a limitation mode, the limitation mode being a mode which is set by only an administrator and is a mode in which transmission of a first email to a destination other than the acquired email address of the user is prohibited; first setting means configured to set a destination of the first e-mail to be transmitted with the image data attached; second setting means configured to set a destination of a second e-mail to be transmitted which makes notification of completion of transmission of the first e-mail; control means configured to perform control of the first setting means and second setting means; and wherein in the case that the determination means determines that the image processing apparatus is set to operate in the limitation mode, the control means is configured to perform control such that: setting of a destination of the first e-mail by the first setting means is limited to the e-mail address acquired by the acquisition means, and setting of at least one destination of the second e-mail by the second setting means is performed using email addresses extracted from among addresses registered in an address book, wherein the extracted email addresses are displayed so that the user selects at least one destination of the second e-mail from among the extracted email addresses. setting of a destination of the first e-mail by the first setting means is limited to the e-mail address acquired by the acquisition means, and setting of at least one destination of the second e-mail by the second setting means is performed using email addresses extracted from among addresses registered in an address book, wherein the extracted email addresses are displayed so that the user selects at least one destination of the second e-mail from among the extracted email addresses.