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

Function runExamples

apps/micro/examples/resend-example.js:157–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155
156// Run all examples
157async function runExamples() {
158 console.log('🚀 Resend Email Service Examples\n');
159
160 await verifyResendConnection();
161 console.log('');
162
163 await sendSimpleEmail();
164 console.log('');
165
166 await sendWelcomeEmail();
167 console.log('');
168
169 await sendPasswordResetEmail();
170 console.log('');
171
172 await sendBulkEmail();
173 console.log('');
174
175 await sendEmailWithAttachments();
176 console.log('');
177
178 console.log('✨ All examples completed!');
179}
180
181// Only run if this file is executed directly
182if (import.meta.url === `file://${process.argv[1]}`) {

Callers 1

resend-example.jsFile · 0.70

Calls 7

verifyResendConnectionFunction · 0.85
sendEmailWithAttachmentsFunction · 0.85
logMethod · 0.80
sendSimpleEmailFunction · 0.70
sendWelcomeEmailFunction · 0.70
sendPasswordResetEmailFunction · 0.70
sendBulkEmailFunction · 0.70

Tested by

no test coverage detected