Symantec Corp. will pay $695 million for MessageLabs Group Ltd., a security vendor that offers a hosted spam and Web traffic filtering service. The filtering is performed within the company’s 14 data centers located around the world, a type of computing known as “software as a service” or cloud computing.