اللبان العماني الحوجري للبخور (نص كيلو)
ر.ع. 7.00اللبان الحوجري العماني المخصص للبخور الذي يمتاز بالرائحة الزكية جدا
اللبان العماني الحوجري للبخور (ربع كيلو)
ر.ع. 4.00اللبان الحوجري العماني المخصص للبخور الذي يمتاز بالرائحة الزكية جدا
public function test_smtp_connection() { // Check if user has permission if (!current_user_can('manage_options')) { wp_send_json_error('Access denied'); return; } // Verify nonce for security if (!wp_verify_nonce($_POST['nonce'] ?? '', 'test_smtp_nonce')) { wp_send_json_error('Security check failed'); return; } // Get test email from request $test_email = sanitize_email($_POST['test_email'] ?? ''); if (empty($test_email)) { wp_send_json_error('Email address required'); return; } // Test the email sending $result = $this->send_welcome_email($test_email, 'Test User', true); $errors = $this->get_last_smtp_errors(); if ($result) { wp_send_json_success(array( 'message' => 'تم إرسال الرسالة التجريبية بنجاح إلى: ' . $test_email, 'details' => array( 'smtp_plugin_detected' => function_exists('wp_mail_smtp') || class_exists('WPMailSMTP\Core') || defined('WPMS_ON'), 'host' => get_option('popup_smtp_host'), 'port' => get_option('popup_smtp_port'), 'encryption' => get_option('popup_smtp_encryption'), 'username' => get_option('popup_smtp_username') ) )); } else { wp_send_json_error(array( 'message' => 'فشل في إرسال الرسالة التجريبية إلى: ' . $test_email, 'errors' => $errors, 'suggestions' => array( 'تأكد من صحة إعدادات SMTP', 'تحقق من كلمة المرور', 'جرب استخدام منفذ 587 مع TLS بدلاً من 465 مع SSL', 'تأكد من أن البريد الإلكتروني موجود ومُفعل', 'تحقق من أن الخادم يدعم الاتصالات الخارجية على المنفذ المحدد' ), 'details' => array( 'smtp_plugin_detected' => function_exists('wp_mail_smtp') || class_exists('WPMailSMTP\Core') || defined('WPMS_ON'), 'host' => get_option('popup_smtp_host'), 'port' => get_option('popup_smtp_port'), 'encryption' => get_option('popup_smtp_encryption'), 'username' => get_option('popup_smtp_username'), 'password_set' => !empty(get_option('popup_smtp_password')) ) )); } }
اللبان الحوجري العماني المخصص للبخور الذي يمتاز بالرائحة الزكية جدا
اللبان الحوجري العماني المخصص للبخور الذي يمتاز بالرائحة الزكية جدا