Disclosed are an electronic device and a method for transmitting a message. A method of operating an electronic device may include: determining by a processor whether a call with a counterpart electronic device is possible; and transmitting a call wish message through a communication network to the counterpart electronic device when the call is not possible based on a result of the determination.