Any of the following acts in this state, effected by mail or otherwise, by an unauthorized foreign or alien insurer:
is equivalent to and shall constitute an appointment by such insurer of the director to be its true and lawful attorney, upon whom may be served all lawful process in any action, suit, or proceeding instituted by or on behalf of an insured or beneficiary arising out of any such contract of insurance, and any such act shall be signification of its agreement that such service of process is of the same legal force and validity as personal service of process in this state upon such insurer.
SDCL 58-8-7