{"id":95355,"library":"pear-net-smtp","title":"Net_SMTP","description":"An implementation of the SMTP protocol.","status":"active","version":"1.12.2","language":"php","source_language":null,"source_url":"https://github.com/pear/Net_SMTP","tags":["smtp","email","pear","networking"],"install":[{"cmd":"composer require pear/net_smtp","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"SMTP","correct":"use Net\\SMTP;"}],"quickstart":{"code":"use Net\\SMTP;\n\n$smtp = new SMTP('smtp.example.com');\n$smtp->connect();\n$smtp->auth('username', 'password');\n$smtp->mailFrom('from@example.com');\n$smtp->rcptTo('to@example.com');\n$smtp->data('Subject: Test\\r\\n\\r\\nBody');\n$smtp->disconnect();","lang":"php","description":"Send an email using Net_SMTP."},"warnings":[{"fix":"Ensure PHP sockets extension is installed and enabled.","message":"Requires PHP sockets extension; missing extension causes connection failure.","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'email':10 'implement':4 'net':1 'network':12 'pear':11 'protocol':8 'smtp':2,7,9","created_at":"2026-06-19T10:28:15.313700+00:00","updated_at":"2026-06-19T10:28:15.313700+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://pear.github.io/Net_SMTP/","github":"https://github.com/pear/Net_SMTP","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","messaging"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}