<!DOCTYPE html>
<html lang='ro'>
<head>
    <meta charset='UTF-8'>
    <title>Diagnostic API: agroferomonas.com</title>
    <style>
        body { font-family: Arial, sans-serif; background-color: #1e1e2e; color: #cdd6f4; margin: 40px; line-height: 1.6; }
        .container { background-color: #313244; padding: 30px; border-radius: 8px; max-width: 800px; margin: auto; box-shadow: 0 4px 6px rgba(0,0,0,0.3); }
        h2 { color: #89b4fa; border-bottom: 2px solid #45475a; padding-bottom: 10px; }
        .status-box { padding: 15px; margin-bottom: 15px; border-radius: 5px; border-left: 5px solid; }
        .ok { background-color: rgba(166, 227, 161, 0.1); border-color: #a6e3a1; }
        .err { background-color: rgba(243, 139, 168, 0.1); border-color: #f38ba8; }
        .info { background-color: rgba(137, 180, 250, 0.1); border-color: #89b4fa; }
        .label { font-weight: bold; font-size: 1.1em; }
        code { background-color: #181825; padding: 2px 6px; border-radius: 4px; color: #f9e2af; }
        .test-btn { background-color: #ff9800; border: none; color: white; padding: 12px 24px; font-size: 16px; cursor: pointer; border-radius: 4px; font-weight: bold; margin: 15px 0; }
        .test-btn:hover { background-color: #e68900; }
        #mail-test-result { margin-top: 10px; font-weight: bold; }
        .test-success { color: #4CAF50; }
        .test-error { color: #f44336; }
    </style>
</head>
<body>
    <div class='container'>
        <h2>📡 API Mailer Status: <code>agroferomonas.com</code></h2>
        <p>Adresa de expediere generată automat: <strong>info@agroferomonas.com</strong></p>

                    <div class='status-box ok'><span class='label'>✅ SPF (Sender Policy Framework)</span><br>Găsit: <code>v=spf1 +a +mx +a:panel2.agromarketing.es -all</code></div>
        
                    <div class='status-box ok'><span class='label'>✅ DMARC</span><br>Găsit: <code>v=DMARC1; p=none</code></div>
        
        <div class='status-box info'><span class='label'>ℹ️ Notă despre DKIM</span><br>Verifică din panoul de control al acestui hosting dacă DKIM este activat.</div>

        <h3 style='color:#89b4fa;'>🔧 Testare funcție mail()</h3>
        <button class='test-btn' id='test-mail-btn'>Testează acum</button>
        <div id='mail-test-result'></div>

                    <h3 style='color:#a6e3a1;'>🚀 Sistemul este APT pentru a primi comenzi!</h3>
            </div>

    <script>
    document.getElementById('test-mail-btn').addEventListener('click', function() {
        var resultDiv = document.getElementById('mail-test-result');
        resultDiv.innerHTML = 'Se testează...';
        
        var formData = new FormData();
        formData.append('action', 'test_mail');

        fetch(window.location.href, {
            method: 'POST',
            body: formData
        })
        .then(response => response.json())
        .then(data => {
            if (data.success) {
                resultDiv.innerHTML = '<span class="test-success">✅ ' + data.message + '</span>';
            } else {
                resultDiv.innerHTML = '<span class="test-error">❌ ' + data.message + '</span>';
            }
        })
        .catch(error => {
            resultDiv.innerHTML = '<span class="test-error">Eroare rețea: ' + error + '</span>';
        });
    });
    </script>
</body>
</html><?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//agroferomonas.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://agroferomonas.com/post-sitemap.xml</loc>
		<lastmod>2022-11-18T17:08:25+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://agroferomonas.com/page-sitemap.xml</loc>
		<lastmod>2024-01-09T16:27:00+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://agroferomonas.com/product-sitemap.xml</loc>
		<lastmod>2022-11-19T18:40:23+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://agroferomonas.com/tribe_venue-sitemap.xml</loc>
		<lastmod>2022-11-10T00:35:38+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://agroferomonas.com/tribe_organizer-sitemap.xml</loc>
		<lastmod>2022-07-06T21:09:38+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://agroferomonas.com/tribe_events-sitemap.xml</loc>
		<lastmod>2022-11-10T09:26:53+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://agroferomonas.com/category-sitemap.xml</loc>
		<lastmod>2022-11-18T17:08:25+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://agroferomonas.com/product_cat-sitemap.xml</loc>
		<lastmod>2022-11-19T18:40:23+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://agroferomonas.com/author-sitemap.xml</loc>
		<lastmod>2022-09-30T09:53:14+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->