MCPcopy Create free account
hub / github.com/pollinations/pollinations / verifyBrevoConnection

Function verifyBrevoConnection

apps/micro/examples/brevo-example.js:113–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111
112// Example 5: Verify Brevo connection
113async function verifyBrevoConnection() {
114 try {
115 console.log('🔍 Verifying Brevo connection...');
116
117 const isConnected = await emailService.verifyConnection();
118
119 if (isConnected) {
120 console.log('✅ Brevo connection verified successfully!');
121 } else {
122 console.log('❌ Brevo connection failed - check your API key and sender email');
123 }
124 } catch (error) {
125 console.error('❌ Error verifying connection:', error.message);
126 }
127}
128
129// Run all examples
130async function runExamples() {

Callers 1

runExamplesFunction · 0.85

Calls 3

logMethod · 0.80
errorMethod · 0.80
verifyConnectionMethod · 0.65

Tested by

no test coverage detected