Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /home/nandedex/public_html/s.nandedexpress.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : //home/nandedex/public_html/s.nandedexpress.com/gosmtp.zip
PK͍�[��'j/d/djs/admin.jsnu�[���jQuery(document).ready(function(){

	// Tabs Handler
	var tabs = jQuery('.gosmtp-wrapper').find('.nav-tab');
	var tabsPanel = jQuery('.tabs-wrapper').find('.gosmtp-tab-panel');

	function gosmtp_load_tab(event){ 

		var hash  = window.location.hash;

		// No action needed when there is know hash value 
		if(!hash){
			return;
		}

		// Scroll top if tabs is not visible
		jQuery("html, body").animate({ scrollTop: 0 }, "fast");

		// Select elements
		jEle = jQuery(".nav-tab-wrapper").find("[href='" + hash + "']"); 

		if(jEle.length < 1){
			return;
		}
		
		// Remove active tab
		tabs.removeClass('nav-tab-active');
		tabsPanel.hide();
		
		// Make tab active
		jEle.addClass('nav-tab-active');
		jQuery('.tabs-wrapper').find(hash).show();
	
		if(hash == '#gosmtp-connections-settings'){
			return;
		}

		// Modify and update current URL
		gosmtp_update_uri(hash);
	}

	// Load function when hash value change
	jQuery( window ).on( 'hashchange', gosmtp_load_tab);

	// For First load
	gosmtp_load_tab();

	tabs.click(function(e){
		if(jQuery(this).hasClass("nav-tab-active")){
			e.preventDefault();
		}
		
		// Hide edit connection form
		if(jQuery('.gosmtp-new-conn-wrap').css('display') == 'block'){
			jQuery('#gosmtp-back-trigger').click();
		}

	});

	// Auth show and hide Handler
	var smtpAuth = jQuery('input[name="smtp[smtp_auth]"]');

	smtpAuth.on('click', function(){
		var val = jQuery(this).attr('value');

		if(val == 'Yes'){
			jQuery('.smtp-authentication').show();
		}else{
			jQuery('.smtp-authentication').hide();
		}
	});

	// Mailer active effert
	jQuery('.gosmtp-mailer-input').not('.pro').click( function(){
		
		var parent = jQuery(this).closest('.gosmtp-tab-panel');
		var jEle = jQuery(this);
		
		// Set active mailer
		parent.find('.gosmtp-mailer-input').find('.mailer_label').removeClass('mail_active');
		jEle.find('.mailer_label').addClass('mail_active');

		// Taggle mailer tabs
		parent.find('tr').hide(); 
		parent.find('.always_active').closest('tr').show();

		// Show active tab
		attr_name = parent.find('.mail_active').attr('data-name');

		parent.find('.'+attr_name).closest("tr").show();

		jEle.find('[name="mailer"]').prop('checked', true);

		// For On load set
		if(attr_name =='smtp'){
			parent.find('input[name="smtp[smtp_auth]"][checked="checked"]').click();
		}

	});

	//Handle checkbox events
	// TODO: check
	jQuery('body').on('click','.gosmtp-multi-check, .gosmtp-checkbox', function(e){
		e.stopPropagation();

		$this = jQuery(this);
		var parent = $this.parent().parent().parent();
		var checkedCount = jQuery('td input[type="checkbox"]:checked').length;
		var total = jQuery('td input[type="checkbox"]').length;
		var prop = false;
		var clas = '';
    
		if($this.hasClass('gosmtp-multi-check')){
			clas = 'td input[type="checkbox"]';
			prop = $this.prop('checked') == true ? true : false;
		}else{
			prop = checkedCount == total ? true : false;
			clas = '.gosmtp-multi-check';
		}
    
		parent.find(clas).prop('checked',prop);
		
		checkedCount = jQuery('td input[type="checkbox"]:checked').length;
		if(checkedCount > 0){
			jQuery('.gosmtp-log-options').css('display','flex');
		}else{
			jQuery('.gosmtp-log-options').css('display','none');
		}
		
	});

	jQuery('body').on('click','#gosmtp-table-opt-btn',function(){
		var option = jQuery('#gosmtp-table-options').val();
		var ids = [];
    
		jQuery('#gosmtp-logs-table').find('td input[type=checkbox]:checked').each(function(){
			ids.push(jQuery(this).val());
		})

		if(ids.length == 0){
			alert('Invalid selection!');
			return;
		}

		var action = option == 'delete' ? 'gosmtp_delete_log' : '';
		
		if(action == ''){
			alert('Invalid option!');
			return;
		}

		jQuery.ajax({
			url:gosmtp_ajaxurl + 'action='+action,
			dataType : 'JSON',
			type : 'post',
			data: {
				id:ids,
				gosmtp_nonce: gosmtp_ajax_nonce
			},
			success:function(data){
				if( data.response !=undefined ){
					alert(data.response);
				}else{
					alert('Someting went wrong !');
				}
				
				window.location.reload();
			},
			error:function(){
				alert('Someting went wrong !');
			}
		});
	});
  
	// Send Test Mail
	jQuery('body').on('submit', '#smtp-test-mail', function(e){

		e.preventDefault();
		var $this = jQuery(this);
		var formData = new FormData( jQuery(this)[0] );
		formData.append('gosmtp_nonce', gosmtp_ajax_nonce);

		jQuery.ajax({
			url: gosmtp_ajaxurl + 'action=gosmtp_test_mail',
			data: formData,
			type: 'POST',
			processData: false,
			contentType: false,
			cache: false,
			beforeSend: function(){
				gosmtp_loader('show');
				jQuery('#send_mail').attr('type', 'button');
				var btnhtml = `<i class="dashicons dashicons-update-alt"></i>&nbsp;Sending&nbsp;`;
				$this.find('#send_mail').html(btnhtml);
			},
			success: function( res ){
				gosmtp_loader('hide');
				$this.find('#send_mail').html('Send Mail');
				jQuery('#send_mail').attr('type', 'submit');
				res = gosmtp_isJSON(res);
				
				if(!res){
					alert('Someting went wrong !');
					return false;
				}

				if( res.error != undefined){
					alert(res.error);
					return false;
				}
				
				alert('Mail sent successfully!');
				window.location.reload();
			},
			error: function(){
				gosmtp_loader('hide');
				alert('Mail not sent!');
				jQuery('#send_mail').attr('type','submit');
				$this.find('#send_mail').html('Send Mail');
			}
		});
	});

	jQuery('.gosmtp-mailer-input').find('.mail_active').closest('.gosmtp-mailer-input').click();
	
	// Handle reload and retry events
	jQuery('body').on('click', '.gosmtp-resend, .gosmtp-retry, .gosmtp-pupup-retry, .gosmtp-pupup-resend', function(e){
		e.stopPropagation();

		var $this = jQuery(this);
		var isDialog = $this.hasClass('gosmtp-pupup-resend') || $this.hasClass('gosmtp-pupup-retry') ? true : false;
		var mail_id = jQuery(this).attr('data-id') != undefined ? jQuery(this).attr('data-id') : '';
		var operation = jQuery(this).hasClass('gosmtp-resend') == true ? 'resend' : 'retry';
		var className = '';
    
		jQuery.ajax({
			url:gosmtp_ajaxurl + 'action=gosmtp_resend_mail',
			dataType : 'JSON',
			type : 'post',
			data: {
				id:mail_id,
				gosmtp_nonce: gosmtp_ajax_nonce,
				operation: operation
			},
			beforeSend:function(){
				gosmtp_loader('show');
				$this.addClass('gosmtp-resend-process');
			},
			success:function( res ){
				gosmtp_loader('hide');

				if(isDialog){
					className = $this.hasClass('gosmtp-pupup-retry') ? 'gosmtp-pupup-retry' : 'gosmtp-pupup-resend';
				}else{
					className = $this.hasClass('gosmtp-pupup-retry') ? 'gosmtp-pupup-retry' : 'gosmtp-pupup-resend';
				}
				
				var dialog_icon = "";

				$this.removeClass(className);
				$this.removeClass('gosmtp-resend-process');
				
				if(res.error != undefined){
					$this.html('<i class="dashicons dashicons-update-alt"></i><span>Retry</span>');
					$this.addClass('gosmtp-retry');
					dialog_icon = '<i class="failed dashicons dashicons-warning"></i>';
					alert( res.error );
				}else{
					$this.html('<i class="dashicons dashicons-image-rotate"></i><span>Resend</span>');
					dialog_icon = '<i class="sent dashicons dashicons-yes-alt"></i>';
					$this.addClass('gosmtp-resend');
					alert( res.response );
				}
				
				if(isDialog){
					jQuery('.gosmtp-dialog-header').find('.gosmtp-status-icon').html(dialog_icon);
				}

				window.location.reload();

			},
			error:function(){
				gosmtp_loader('hide');
				alert('Someting went wrong !');
			}
		});
	});
	
	// Handle delete events
	jQuery('body').on('click','.gosmtp-mail-delete',function(e){
		e.stopPropagation();

		var mail_id = jQuery(this).attr('data-id') != undefined ? jQuery(this).attr('data-id') : '';
		var parent = jQuery(this).parent().parent();
		jQuery.ajax({
			url:gosmtp_ajaxurl + 'action=gosmtp_delete_log',
			dataType : 'JSON',
			type : 'post',
			data: {
				id:mail_id,
				gosmtp_nonce: gosmtp_ajax_nonce
			},
			success:function(data){
				if( data.response !=undefined ){
					alert(data.response);
					window.location.reload();
				}else{
					alert('Someting went wrong !');
				}
			},
			error:function(){
				alert('Someting went wrong !');
			}
		});
	});

	// GoSMTP mail info popup
	jQuery('body').on('click','.gosmtp-mail-details', function(){

		var dialog = jQuery('#gosmtp-logs-dialog');
		
		var dialog_icon = dialog.find('.gosmtp-dialog-header').find('.gosmtp-status-icon');
		var mail_id = jQuery(this).attr('data-id') != undefined ? jQuery(this).attr('data-id') : '';

		jQuery.ajax({
			url : gosmtp_ajaxurl + 'action=gosmtp_get_log',
			dataType : 'JSON',
			type : 'post',
			data: {
				'gosmtp_nonce' : gosmtp_ajax_nonce,
				id: mail_id
			},
			beforeSend : function(){
				gosmtp_loader('show');
			},
			success : function( res ){				
				if(res.response.data != undefined){
					var resp = res.response.data;
					var headers = resp.headers != undefined ? resp.headers : '';
					var headers_ = '{}';
					
          if(typeof headers == 'object' && Object.keys(headers).length > 0){
						headers_ = JSON.stringify(headers, null, 3);
					}
          
					dialog.find('.gosmtp-log-headers').html('<pre>'+headers_+'</pre>');

					var attachments = resp.attachments != undefined ? resp.attachments : '';
					var attachments_count = 0;
					var attachments_ = '{}';
          
					if(typeof attachments == 'object' && Object.keys(attachments).length > 0){
						attachments_ = JSON.stringify(attachments, null, 3);
						attachments_count = attachments.length;
					}
          
					dialog.find('.gosmtp-log-attachments').html('<pre>'+attachments_+'</pre>');
					dialog.find('.gosmtp-attachment-count').text('('+attachments_count+')');

					var response = resp.response != undefined ? resp.response : '';
					if(typeof response == 'object' && Object.keys(response).length > 0){
						response = JSON.stringify(response, null, 3);
					}
					dialog.find('.gosmtp-log-response').html('<pre>'+response+'</pre>');

					var to = resp.to != undefined ? resp.to : 'NA';
					dialog.find('.gosmtp-message-tos').text(to);

					var from = resp.from != undefined ? resp.from : 'NA';
					dialog.find('.gosmtp-message-from').text(from);

					var subject = resp.subject != undefined ? resp.subject : 'NA';
					dialog.find('.gosmtp-message-subject').text(subject);

					var created = resp.created != undefined ? resp.created : 'NA';
					dialog.find('.gosmtp-message-created').text(created);

					var provider = resp.provider != undefined ? resp.provider : 'NA';
					dialog.find('.gosmtp-message-mailer').text(provider);
                    
					var source = resp.source != undefined ? resp.source : 'NA';
					dialog.find('.gosmtp-message-mailer').text(provider+' / '+source);
					
					var body = resp.body != undefined ? resp.body : 'NA';
					dialog.find('.gosmtp-message-body').html(body);

					var forward_html = '';
          
					if(resp.status != undefined){
						var status = resp.status;
						var icon = '<i class="'+(status.toLowerCase())+' dashicons '+(status == 'Sent' ? 'dashicons-yes-alt' : 'dashicons-warning')+'"></i>';
						dialog_icon.html(icon);
						var resend_retry = status == 'Sent' ? 'Resend' : 'Retry';
						var rr_html = `<button type="button" data-id="`+mail_id+`" class="gosmtp-pupup-`+resend_retry.toLowerCase()+`">
							<i class="dashicons `+( resend_retry == 'Retry' ? 'dashicons-update-alt' : 'dashicons-image-rotate' )+`"></i>
							<span>`+resend_retry+`</span>
						</button>`;
						jQuery('.gosmtp-dialog-actions').html(rr_html);
						forward_html = `<button type="button" data-id="`+mail_id+`" class="gosmtp-pupup-forward">
							<i class="dashicons dashicons-share-alt2"></i>
							<span>Forward</span>
						</button>`;
					}
          
					jQuery('.gosmtp-forward-dialog').html(forward_html);
				}
				jQuery('body').css('overflow','hidden');
				gosmtp_loader('hide');
				dialog.fadeIn();
			},
			error:function(){
				gosmtp_loader('hide');
				alert('Someting went wrong !');
			}
		});
	});
	
	// GoSMTP export files
	jQuery('body').on('submit','#gosmtp_export', function(e){
		e.preventDefault();
		
		var formData = new FormData(this);
		
		// Append the nonce
		formData.append('gosmtp_nonce', gosmtp_ajax_nonce);
		
		var format = formData.get('format');
		
		jQuery.ajax({
			url: gosmtp_ajaxurl + 'action=gosmtp_export_data',
			type: "POST",
			data: formData,
			processData: false,
			contentType: false,
			cache:false,
			xhrFields: {
				responseType: 'blob'
			},
			beforeSend : function(){
				jQuery('.dashicons-image-rotate').show();
			},
			success: function(data, status, xhr){
				
				// Response in blob type due to this we get error form headers
				if(typeof data == 'string'){
					error = xhr.getResponseHeader('x-error');
					res = gosmtp_isJSON(error);
				   
					if( res.error != undefined){
						alert(res.error);
					}
					return false;
				}

				// Create a new date object for the current date
				const currentDate = new Date();
				const day = String(currentDate.getDate()).padStart(2, '0');
				const month = String(currentDate.getMonth() + 1).padStart(2, '0');
				const year = currentDate.getFullYear();
				const formattedDate = `${year}_${month}_${day}`;
				
				// Download zip for eml formate
				if(format == 'eml'){
					format = 'zip';
				}				
				
				// Create link for download files
				var a = document.createElement('a');
				var url = window.URL.createObjectURL(data);
				a.href = url;
				a.download = 'GoSMTP_email_export_'+formattedDate+'.'+format;
				a.click();
				window.URL.revokeObjectURL(url);
			},
			complete: function(res){
				jQuery('.dashicons-image-rotate').hide(300);
			}
		});
	});

	// GoSMTP forward email
	jQuery('body').on('submit','#gosmtp-forward-form', function(e){
		e.preventDefault();
		e.stopPropagation();

		jQuery('body').css('overflow','hidden');

		var recipient_email = jQuery('.gosmtp-recipient-email').val();
		var dialog = jQuery('#gosmtp-forward-dialog');
		var id = jQuery('.forward-mail').attr('data-id');
		jQuery.ajax({
			url:gosmtp_ajaxurl + 'action=gosmtp_resend_mail',
			dataType : 'JSON',
			type : 'post',
			data: {
				id:id,
				gosmtp_nonce: gosmtp_ajax_nonce,
				recipient_email: recipient_email
			},
			beforeSend:function(){
				gosmtp_loader('show');
				jQuery(this).addClass('gosmtp-resend-process');
			},
			success:function( res ){
				gosmtp_loader('hide');
				
				if(res.error != undefined){
					alert( res.error );
				}else{
					alert( res.response );
				}

				window.location.reload();

			},
			error:function(){
				gosmtp_loader('hide');
				alert('Someting went wrong !');
			}
		
		});
	});
	
	// GoSMTP test mail popup
	jQuery('body').on('click','#gosmtp-testmail-btn', function(){
		jQuery('body').css('overflow','hidden');
		var dialog = jQuery('#gosmtp-testmail-dialog');
		dialog.fadeIn();
	});

	// GoSMTP forward email popup
	jQuery('body').on('click','.gosmtp-forward, .gosmtp-pupup-forward', function(e){
		e.stopPropagation();

		jQuery('body').css('overflow','hidden');
		var dialog = jQuery('#gosmtp-forward-dialog');
		var id = jQuery(this).attr('data-id');
		jQuery('.forward-mail').attr('data-id',id);
		dialog.fadeIn();
	});

	jQuery('.gosmtp-dialog,.gosmtp-dialog-close,.cancel-button').on('click',function(e){
		if(e.currentTarget.classList[0] == 'gosmtp-dialog-close' || e.target.classList[0] == 'gosmtp-dialog' || e.target.classList[1] == 'cancel-button'){
			jQuery(this).closest('.gosmtp-dialog').fadeOut();
			jQuery('body').css('overflow','auto');
		}
	});

	// GoSMTP accordion
	jQuery('.gosmtp-accordion-header').on('click',function(e){
		jQuery(this).parent().toggleClass("gosmtp-accordion-open")
		jQuery(this).parent().find('.gosmtp-accordion-content').slideToggle();
	});
	
	// Scrolling event on mailer click
	jQuery('body').on('click', '.mailer', function(e){
		var mailer_container = jQuery(this).closest('tr');
		jQuery(mailer_container).get(0).scrollIntoView({behavior: "smooth", inline: "nearest"});
	});
  
  	// Show or hide logger settings
	jQuery('body').on('change', '#enable_logs', function(e){
		
		if(jQuery(this).prop('checked')){
			jQuery('.gosmtp-logs-options').show();
			return;
		}
		
		jQuery('.gosmtp-logs-options').hide();
	});
	
	jQuery('#enable_logs:checked').trigger('change');
	
	// Report page handler
	gosmtp_report_handler();

	// For active radio label for format type
	jQuery('body').on('change', '.gosmtp-radio-list input[type="radio"]', function(e){
		
		var lable = jQuery(this).next('label');
		var cEle = jQuery('#custom-field');
		var cActive = jQuery('.active_radio_tab').attr('for');
    
		if(cActive == 'csv' || cActive == 'xls'){
			sessionStorage.setItem('gosmtp_export_custom_fields', cEle.prop('checked'));
		}else{
			var checked_val = sessionStorage.getItem('gosmtp_export_custom_fields');
			
			if(checked_val != 'true'){	
				cEle.prop('checked', false);
			}else{
				cEle.prop('checked', true);
			}
		}
		
		jQuery('.gosmtp-radio-list label').removeClass('active_radio_tab');
		lable.addClass('active_radio_tab');
		cEle.attr('disabled', false);
		
		if(lable.attr('for') == 'eml' ){
			cEle.prop('checked', false);
			cEle.attr('disabled', true);
		}
		
		cEle.trigger('change');

	});
	
	// Show custom fields default
	jQuery('.gosmtp-radio-list input[type="radio"]:checked').trigger('change');

	// For active radio label
	jQuery('body').on('change', '#custom-field', function(e){
		
		jQuery(this).addClass('active_radio_tab');
		
		if(jQuery(this).prop('checked')){
			jQuery('.can-hidden').slideDown(200);
			return;
		}
		
		jQuery('.can-hidden').slideUp(200);		
	});
	
	// For weekdays checkbox
	jQuery('body').on('change', '#enable_weekly_reports', function(e){
		
		if(jQuery(this).prop('checked')){
			jQuery('.form-table #gosmtp-week-list').show();
			return;
		}
		
		jQuery('.form-table #gosmtp-week-list').hide();
	});
	
	jQuery('#enable_weekly_reports:checked').trigger('change');
	
	jQuery('body').on('click', '#gosmtp-new-conn, #gosmtp-new-conn-link', function(e){

		var wrap = jQuery('.gosmtp-new-conn-wrap');
		var form = wrap.find('form');
		
		jQuery('#gosmtp-connections-settings').addClass('gosmtp-new-conn-open');

		// Reset form
		if(form.length > 0){
			
			// Reset textboxs except `.gosmtp_copy`
			form.find('input[type=text], input[type=password]').each(function(){
				if(jQuery(this).hasClass('gosmtp_copy')){
					return;
				}

				jQuery(this).val('');
			});

			form.find('input[type=text], input[type=password]').removeAttr('readonly');

			// Reset checkboxes
			form.find('input[type=checkbox]:checked,input[type=radio]:checked').removeAttr('checked');

			// Reset dropdowns
			form.find('select option:selected').removeAttr('selected');

			// Reset auth links
			form.find('[data-field=auth]').removeAttr('href').removeClass('button').text('You need to save settings with Client ID and Client Secret before you can proceed.');

		}
		
		// Reset mailer
		wrap.find('.mailer_check')[0].click();

		// Remove connection id if exists
		wrap.find('[name="conn_id"]').remove();

		// Modify and update current URL
		gosmtp_update_uri('#gosmtp-connections-settings');
		
	});

	jQuery('body').on('click', '#gosmtp-back-trigger', function(e){
		
		var parent = jQuery('#gosmtp-connections-settings');
		parent.removeClass('gosmtp-new-conn-open gosmtp-edit-conn-open');

		// Modify and update current URL
		gosmtp_update_uri('#gosmtp-connections-settings');

	});

	jQuery('body').on('click', '.gosmtp-delete-conn',function(e){

		var resp = confirm('Do you want to continue?');
		if(!resp){		
			e.preventDefault();
		}
		
	});
	
	// Toggling the test message input
	if(jQuery('.gosmtp-test-html-template').length){
		jQuery('.gosmtp-test-html-template').on('change', function(){
			if(jQuery(this).is(':checked')){
				jQuery('.gosmtp-test-message').hide();
			} else{
				jQuery('.gosmtp-test-message').show();
			}
		});
	}
});

function gosmtp_isJSON(str) {
	try {
		var obj = JSON.parse(str);
		return obj;
	} catch (e) {
		return false;
	}
}

function gosmtp_copy_url(id){

	var copyText = jQuery("#" +id);
	var copyMessage = jQuery("." +id);

	// Select the text field
	copyText.select();
	
	// Show Message after Coppied
	copyMessage.slideDown(500);
	
	// Copy the text inside the text field
	navigator.clipboard.writeText(copyText.val());
	
	// Hide Message after 3 second
	setTimeout(function(){
		copyMessage.slideUp(500);
	}, 3000);

}

function gosmtp_loader(option = ''){
	var config = option == 'show' ? 'flex' : 'none';
	jQuery('.gosmtp-loader').css('display', config)
}

// Insert data id to checkbox and find active filter from url.
function gosmtp_report_handler(){
		
	// Date filter for email report
	jQuery('#gosmtp-date-option-filter').change(function(){
		
		var dEle = jQuery('.gosmtp-report-date-container, #gosmtp-filter-date');
		
		if(jQuery(this).val() == 'custom_date'){
			dEle.show(300);
			return;
		}
		
		dEle.hide(300);	
	});

	// Multi select Toggele event
	jQuery('.gosmtp-fiter-container .multiselect, .gosmtp-fiter-container .dropdown').click(function(e){
		
		var target = jQuery(e.target);
		var container = jQuery(this).closest('.gosmtp-fiter-container');
		
		if(target.hasClass( 'multiselect' ) || target.hasClass( 'dropdown' )){
			var cEle = jQuery('.gosmtp-fiter-container').not(container);

			// Slide Up all dropdowns
			cEle.css("z-index", "");
			cEle.find('ul').slideUp();
			cEle.find('.dropdown').removeClass('dashicons-arrow-up-alt2');
			cEle.find('.dropdown').addClass('dashicons-arrow-down-alt2');
			
			container.css("z-index", "1000");
			container.find('ul').slideToggle();
			container.find('.dropdown').toggleClass('dashicons-arrow-down-alt2');
			container.find('.dropdown').toggleClass('dashicons-arrow-up-alt2');
		}
		
	});

	// Multi select Checkbox click event
	jQuery('.multiselect-options li input[type=checkbox]').click(function(){

		var jEle = jQuery(this);
		var val = jEle.val();
		var oEle = jEle.closest('ul.multiselect-options');
		
		// All selected value container
		var container = [];

		// Select all if select all checked
		if(val == 'all' && jEle.prop('checked')){
			oEle.find('li input[type=checkbox]').prop('checked', true);
		}else if(val == 'all'){
			oEle.find('li input[type=checkbox]').prop('checked', false);
		}
				
		// Make Select box checked when all checkbox checked accept Select all checkbox
		if(oEle.find('li input[type=checkbox]:not(input[value=all]):checked').length < oEle.find('.multiselect-checkbox').length-1){
			oEle.find('li input[value=all]').prop('checked', false);
		}else{
			oEle.find('li input[value=all]').prop('checked', true);
		}
		
		// Insert all the checked button to the array
		oEle.find('li input[type=checkbox]:checked:not(input[value=all])').each(function(){
			container.push(jQuery(this).val());
		})

		// Empty all element before Insert element
		jEle.closest('.gosmtp-fiter-container').find('.multiselect').html('');

		// Insert value when there are empty array
		if(container.length == 0){
			jEle.closest('.gosmtp-fiter-container').find('.multiselect').text('Select Filter');
		}

		// Empty all element 
		for(i=0; i <= container.length-1; i++){
			jEle.closest('.gosmtp-fiter-container').find('.multiselect').append('<div class="gosmtp-container-val"><span >'+container[i].replace(/[._-]/g,' ')+'</span><span class="filter-close dashicons dashicons-no-alt" data-id='+oEle.find('li input[value='+container[i]+']').attr('data-id')+' ></span><div>');
		}
	});

	// Element close button event
	jQuery('body').on('click', '.filter-close',function(){
		
		var id = parseInt((jQuery(this).attr('data-id')));
		jQuery(this).closest('.gosmtp-fiter-container').find(' li input[type=checkbox]').get(id).click();
	});

	jQuery('.gosmtp-fiter-container').each(function(){
		var all_checkbox = jQuery(this).find('.multiselect-options li input[type=checkbox]');
		for(i=0; i<all_checkbox.length; i++){
			jQuery(all_checkbox[i]).attr('data-id', i);
		}
		var checked = jQuery(this).find(' .multiselect-options li input[type=checkbox]:checked');
		jQuery(this).find(checked).click();

		var checkbox = jQuery('.multiselect-options li input[type=checkbox]:not(input[value=all])');
		
		let searchParams = new URLSearchParams(window.location.search);
		
		for(j=0; j < checkbox.length; j++){
			if(searchParams.has('multiselect['+j+']')){
				var val = searchParams.get('multiselect['+j+']');
				jQuery('.multiselect-options li input[value='+val+']').click();
			}
		}
	});
}

// Only update current URL without refresh
function gosmtp_update_uri(uri = ''){
	
	var urlObj = new URL(window.location.href);
	
	urlObj.search = '';
	urlObj.hash = '';
	
	var url = urlObj.toString()+'?page=gosmtp'+uri;
	
	// Update browser's session history stack.
	history.pushState({urlPath:url}, '', url);
}PK͍�[�/|v|v
css/admin.cssnu�[���:root {
--gosmtp-primary: hsl(235deg 78% 57%);
--gosmtp-white: #ffffff;
--gosmtp-green: #59a659;
--gosmtp-black: #373737;
--gosmtp-red: #ff5151;
--gosmtp-blue: #2271b1;
--gosmtp-gray-shade:#dfdfdf;
--light-gray: #b0b6bd;
}

.gosmtp-setting-content {
display: flex;
width: 100%;
}

.gosmtp-logs-options.gosmtp-hide {
display: none;
}

.gosmtp-tab-panel {
background: var(--gosmtp-white);
border: 1px solid #DEDBD1;
padding: 0 20px;
margin-top: -3px;
}

.tabs-wrapper{
width: 100%;
margin: 0px 26px 0 0;
}

.nav-tab-wrapper.gosmtp-wrapper {
padding: 0 !important;
}

.nav-tab-wrapper.gosmtp-wrapper a:first-child {
margin: 0;
}

.nav-tab-active, .nav-tab-active:focus, .nav-tab-active:focus:active, .nav-tab-active:hover {
border-bottom: none;
background: var(--gosmtp-white);
color: #000;
}

.nav-tab-wrapper.gosmtp-wrapper {
border-bottom: none !important;
}

.nav-tab-active, .nav-tab-active:focus, .nav-tab-active:focus:active, .nav-tab-active:hover {
border-bottom: none;
background: var(--gosmtp-white);
color: #000;
border-color: #DEDBD1;
}

.gosmtp-setting-content .nav-tab {
cursor: pointer;
}

/* promotion */
.gosmtp-promotion-content {
padding: 5px 12px 20px 12px;
background-color: #FFF;
border: 1px solid #DEDBD1;
border-radius: 5px;
}

.gosmtp-relative{
position: relative;
}

/* Responsive */
.gosmtp-row,.gosmtp-inner-row  {
box-sizing: border-box;
display: flex;
flex: 1 0 auto;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
align-content: stretch;
position: relative;
}

.gosmtp-full-width{
width: 100%;
}

.gosmtp-auto-width{
width: auto;
}

.gosmtp-col-1{
width: 8.33333%;
}

.gosmtp-offset-1{
margin-left: 8.33333%;
}

.gosmtp-col-2{
width: 16.66667%;
}

.gosmtp-offset-2{
margin-left: 16.66667%;
}

.gosmtp-col-3{
width: 25%;
}

.gosmtp-offset-3{
margin-left: 25%;
}

.gosmtp-col-4{
width: 33.33333%;
}

.gosmtp-offset-4{
margin-left: 33.33333%;
}

.gosmtp-col-5{
width: 41.66667%;
}

.gosmtp-offset-5{
margin-left: 41.66667%;
}

.gosmtp-col-6{
width: 50%;
}

.gosmtp-offset-6{
margin-left: 50%;
}

.gosmtp-col-7{
width: 58.33333%;
}

.gosmtp-offset-7{
margin-left: 58.33333%;
}

.gosmtp-col-8{
width: 66.66667%;
}

.gosmtp-offset-8{
margin-left: 66.66667%;
}

.gosmtp-col-9{
width: 75%;
}

.gosmtp-offset-9{
margin-left: 75%;
}

.gosmtp-col-10{
width: 83.33333%;
}

.gosmtp-offset-10{
margin-left: 83.33333%;
}

.gosmtp-col-11{
width: 91.66667%;
}

.gosmtp-offset-11{
margin-left: 91.66667%;
}

.gosmtp-col-12{
width: 100%;
}

.gosmtp-offset-12{
margin-left: 100%;
}

.gosmtp-borderless{
border:none !important;
}

.gosmtp-text-right{
text-align: right;
}

.gosmtp-flex{
display:flex;
}

.gosmtp-margin-auto{
margin:auto !important;
}

.gosmtp-img-responsive{
width: 100%;
}

@media (max-width: 768px){
.gosmtp-row .gosmtp-col {
margin-left: 0;
width: 100%;
}
}

/* accordion */
.gosmtp-accordion {
margin: 12px 18px 18px 18px;
}

.gosmtp-accordion-item {
margin: 16px 0;
border-radius: 4px;
box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
border: 1px solid #dedede;
cursor: pointer;
}

.gosmtp-accordion-header {
padding: 11px;
position: relative;
background: #fbfbfb;
}

.gosmtp-accordion-header i {
position: absolute;
right: 10px;
font-size: 16px;
height: auto;
margin: 2px 0;
transform: rotate(-95deg);
transition: 0.5s all;
}

.gosmtp-accordion-open .gosmtp-accordion-header i{
transform: rotate(0deg);
}

.gosmtp-accordion-content {
padding: 10px 0;
display: none;
border-top: 1px solid var(--gosmtp-gray-shade);
}

/* Mailer styles */
.gosmtp-mailer-input{
display: inline-flex;
align-items:center;
margin-right: 20px;
margin-bottom: 20px;
width: 140px;
flex-direction: column;
position: relative;
z-index: 1;
cursor:pointer;
}

.mail_overlay{
position: absolute;
background: white;
top:0px;
width: 100%;
height: 100%;
opacity: 0.4;
transition:all 0.5s;
}

.overlay_opacticy_hover{
opacity:0 !important;
}

.overlay_opacticy_active{
opacity:0 !important;
}

.gosmtp-mailer-input .label{
display: none;
background: #555;
color:white;
padding: 5px 20px;
text-align: center;
margin-bottom: 10px;
position: absolute;
border-radius: 6px;
top:-40px;
}

.gosmtp-mailer-input .label::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}

.mailer_container{
display: flex;
max-width: 100%;
flex-wrap: wrap;
}

.mailer_label{
width: 100%;
height: 70px;
border:1px solid #cecece;
display:flex;
align-items:center;
justify-content:center;
}

.gosmtp-mailer-input img{
background:white;
padding:18px;
box-sizing: border-box;
max-width:100%;
max-height:100%;
}

.gosmtp-mailer-input:hover label{
display: block;
}

.gosmtp-mailer-input:not(.pro):hover .mailer_label,
.gosmtp-mailer-input:not(.pro) .mail_active{
outline: 2px solid #4f53ff !important;
}

.mailer_check{
visibility: hidden;
position: absolute;
}

h1.smtp_heading{
font-size: 24px;
font-weight:600;
}

td:has(> h1.smtp_heading){
padding:0px !important;
}

input[type='radio'] + label{
margin-right:10px;
}

/* Alertyfy-js */
.ajs-message {
background: #135e96;
color: #fff !important;
border-radius: 6px !important;
}

/* Logs Search Bar */
.gosmtp-search-wrap{
display: flex;
padding: 0px 10px 10px 10px;
width: 100%;
background: white;
border-radius: 6px;
box-sizing: border-box;
margin-bottom: 25px;
justify-content: space-between;
align-items: end;
box-shadow: 0px 0px 2px 1px var(--gosmtp-gray-shade) !important;
}

.gosmtp-search-wrap div h3 {
font-size: 1.1em;
}

.gosmtp-search-wrap div, .gosmtp-search-trigger{
flex-grow: 1;
margin: 4px 10px 14px 10px;
}

.gosmtp-search-wrap div input, .gosmtp-filter-container select{
width: 100%;
padding: 5px 15px;
background-color: #fff;
border: 1px solid #d4d4d4;
}

.gosmtp-search-list-icon{
display:flex;
background:white;
border:1px solid #d4d4d4;
align-items:center;
padding-left:10px ;
margin:0px !important;
box-shadow: 0 0 0 transparent;
border-radius: 4px;
}

.gosmtp-search-list-icon input,.gosmtp-search-list-icon input:focus{
border:none !important;
box-shadow: none;
}

.gosmtp-search-container input{
width:100%;
}

.gosmtp-search-container{
flex-grow: 2;
}

.gosmtp-search-trigger {
background: var(--gosmtp-blue);
color: var(--gosmtp-white);
align-self: end;
padding: 9px;
flex-grow: 1;
font-size: 17px;
border: none;
border-radius: 6px;
cursor: pointer;
}

/* Test Mail */
#send_mail i{
margin-top: 4px;
}

#gosmtp-testmail-btn{
position: fixed;
display: flex;
bottom: 18px;
right: 18px;
border-radius: 20px;
width: 120px;
height: 40px;
font-size: 14px;
font-weight: bold;
padding: 0 16px;
cursor:pointer;
}

#gosmtp-testmail-btn i,#gosmtp-testmail-btn span {
display: flex;
margin: auto;
}

#gosmtp-testmail-btn i {
margin: auto 4px auto auto;
}

#smtp-test-mail input, #smtp-test-mail textarea {
border-color: var(--gosmtp-gray-shade);
}

/* Log Table */
#gosmtp-logs-table {
border-radius: 6px 6px 0 0;
padding: 0;
}

.gosmtp-log-table {
box-shadow: 0px 0px 2px 1px var(--gosmtp-gray-shade) !important;
background: var(--gosmtp-white);
border-radius: 0;
padding: 6px 6px 0 0;
border: none !important;
overflow: hidden;
}

.gosmtp-log-table table {
border: none;
}

.gosmtp-log-table th, .gosmtp-log-table td{
background: none;
padding: 15px 10px;
font-size: 14px;
}

.gosmtp-log-table th{
background: var(--gosmtp-white);
color: var(--gosmtp-black);
font-weight: 600;
border-bottom: 1px solid var(--gosmtp-gray-shade);
}

.gomtp-logs_tr th:first-child {
border-radius:6px 0px 0px 0px !important;
}

gosmtp-log-table .source_th,
gosmtp-log-table .provider_th {
width: 10%;
}

.gomtp-logs_tr th:last-child {
border-radius: 0px 6px 0px 0px !important;
width: 106px;
}

.gomtp-logs_tr th:first-child input[type="checkbox"]{
margin: auto;
}

.subject-th {
width: 32%;
}

.gosmtp-log-table td{
color: var(--gosmtp-black);
}

.gosmtp-log-table tr td:nth-child(2){
color: var(--gosmtp-blue);
}

.gosmtp-mail-details{
cursor: pointer;
}

.gosmtp-table-header, .gosmtp-table-footer {
width: 100%;
background: var(--gosmtp-white);
border-radius: 0 0 6px 6px;
display: grid;
grid-template-columns: 180px auto;
}

#gosmtp-table-options {
width: 100%;
border-radius: 4px;
border-color: var(--wc-subtext);
font-size: 12px;
}
.gosmtp-empty-row {
padding: 20px;
text-align: center;
font-weight: 600;
}

.gosmtp-mail-status {
display: flex;
align-items: center;
height: 24px !important;
margin-right: 2px;
}

.gosmtp-mail-status span:first-child{
padding-right: 4px;
}

.gosmtp-mail-status.sent,.gosmtp-status-icon .sent{
color: var(--gosmtp-green);
}

.gosmtp-mail-status.failed,.gosmtp-status-icon .failed{
color: var(--gosmtp-red);
}

.alternate, .striped > tbody > :nth-child(2n+1), ul.striped > :nth-child(2n+1){
background-color: #f1f1f1 !important;
}

.gosmtp-retry, .gosmtp-resend,
.gosmtp-pupup-retry,
.gosmtp-pupup-resend {
border: 1px solid #a5d7ff;
color: var(--gosmtp-blue);
border-radius: 6px;
background: var(--gosmtp-white);
font-size: 12px;
display: flex;
align-content: center;
padding: 3px 9px 3px 2px;
width: 70px;
cursor: pointer;
background: #e9f9ff;
margin: auto;
}

.gosmtp-pupup-resend {
width: auto;
min-height: 30px;
align-items: center;
}

.gosmtp-pupup-forward{
border: 1px solid #44d77f;
color: rgb(8, 147, 55);
border-radius: 6px;
background: var(--gosmtp-white);
font-size: 12px;
display: flex;
align-content: center;
padding: 3px 9px 3px 2px;
width: 70px;
cursor: pointer;
background: #e9ffed;
margin: auto;
width: auto;
align-items: center;
min-height: 30px;
}

.gosmtp-pupup-forward i{
height: auto;
font-size: 15px;
margin: 3px 0px 2px 0;
}

.gosmtp-retry i,.gosmtp-pupup-retry i {
font-size: 18px;
height: auto;
}

.gosmtp-resend i,.gosmtp-pupup-resend i {
height: auto;
font-size: 13px;
margin: 3px 0px 2px 0;
}

.gosmtp-resend-process i, #send_mail i{
animation: rotate 1s infinite;
}

.gosmtp-log-options {
display: none;
margin: 0 8px;
padding: 10px 4px;
transition-duration: 0.2s;
}

@keyframes rotate{
100%{transform: rotate(360deg)}
}

.gosmtp-mail-delete {
border: 1px solid #ffc7c7;
border-radius: 6px;
background: #fff7f7;
color: #ff5151;
padding: 2px;
}

.gosmtp-mail-delete i{
font-size: 18px;
height: auto;
padding: 2px 0;
}

.gosmtp-forward{
border: 1px solid #7aff92;
border-radius: 6px;
background: #f6fff6;
color: #0c982b;
padding: 2px;
}

.gosmtp-forward i{
font-size: 18px;
height: auto;
padding: 2px 0;
}

.gosmtp-mail-actions{
display: flex;
}

.gosmtp-mail-actions button{
margin-right: 6px;
cursor: pointer;
}

/* gosmtp dialog */
.gosmtp-dialog{
position: fixed;
width: 100%;
height: 100%;
background: #494949bf;
top: 0;
display: flex;
overflow-x: auto;
left: 0;
display:none;
}

.gosmtp-dialog-wrap{
margin: 70px auto 94px auto;
width: 50%;
background: var(--gosmtp-white);
border: 1px solid var(--gosmtp-gray-shade);
box-shadow: 0px 0px 20px -4px var(--gosmtp-black);
border-radius: 6px;
height: min-content;
}

.gosmtp-dialog-container{
width: 100%;
}

.gosmtp-dialog-header{
border-bottom: 1px solid var(--gosmtp-gray-shade);
width: 100%;
}

.gosmtp-dialog-title{
font-size: 14px;
font-weight: 600;
display: flex;
}

.gosmtp-dialog-title span{
margin: auto 0;
}

.gosmtp-status-icon i{
margin: auto 10px auto auto;
height: auto;
font-size: 26px;
}

.gosmtp-dialog-header-content{
padding: 16px;
position: relative;
display: flex;
gap:10px;
}

.gosmtp-dialog-title{
font-size: 14px;
font-weight: 600;
}

.gosmtp-dialog-close{
position: absolute;
right: 12px;
top: 18px;
cursor: pointer;
background: none;
border: none;
}

.gosmtp-dialog-content{
padding: 12px 18px;
}

.gosmtp-dialog-content .gosmtp-col{
padding: 8px 0;
font-size: 14px;
overflow-wrap: anywhere;
border-bottom: 1px solid var(--gosmtp-gray-shade);
}

.gosmtp-dialog-content .gosmtp-col-6{
width: 48%;
}

.gosmtp-dialog-content .gosmtp-col-6:nth-child(2) {
margin-left: 2%;
}

.gosmtp-dialog-actions {
display: inline-block;
}

.gosmtp-log-details label{
font-weight: 600;
margin-right: 9px;
color: var(--gosmtp-black);
width: 100%;
display: inline-block;
margin: 8px 0;
}

.gosmtp-message-body{
padding-top: 0 !important;
min-height: 40px;
border-radius: 4px;
padding: 12px 0 !important;
}

.gosmtp-log-headers pre, .gosmtp-log-attachments pre ,.gosmtp-log-response pre{
border-radius: 6px;
padding: 4px 16px;
line-height: 1.8;
margin: 0;
white-space: pre-wrap;
word-wrap: break-word;
text-align: justify;
}

.gosmtp-message-status{
display: flex;
}

.gosmtp-message-status span,.gosmtp-message-status i{
margin: auto 0;
}

.gosmtp-message-status button{
width: auto;
margin: 0;
padding: 5px 10px 6px 2px;
}

@media (max-width: 768px){
.gosmtp-dialog-wrap {
width:80%;
}
}

#gosmtp-forward-dialog .gosmtp-dialog-wrap{
width: 30% !important;
left: 50%;
position: absolute;
top: 20%;
transform: translate(-50%, -20%);
margin :0px !important;
text-align: center;
box-shadow: none;
}

#gosmtp-forward-dialog .gosmtp-forward-email{
border: 1px solid #a4a4a4;
border-radius: 5px;
display: flex;
align-items: center;
padding: 7px 15px;
margin:20px 0px ;  
}

#gosmtp-forward-dialog .cancel-button{
background-color:var(--gosmtp-gray-shade) !important;
color: var(--gosmtp-black) !important;
}

#gosmtp-forward-dialog .button{
width: 150px;
color: white;
background: var(--gosmtp-blue);
padding: 7px;
height: 100%;
border: 1px solid white;
border-radius: 5px;
border: 1px solid #bebebe;
cursor: pointer;
font-size: 15px;
}

#gosmtp-forward-dialog .gosmtp-forward-email input,
#gosmtp-forward-dialog .gosmtp-forward-email input:focus {
border: none;
width: 100%;
box-shadow: none;
}

/* Pagination */
.gosmtp-pagination {
text-align: right;
padding: 4px 0;
}

.gosmtp-pagination-wrap {
display: inline-block;
}

.gosmtp-pagination-links {
display: inline;
}

.gosmtp-pagination-links a,.gosmtp-pagination-links span{
padding: 6px 12px;
border-radius: 6px;
margin: 0 4px;
font-size: 14px;
color: var(--gosmtp-black);
text-decoration: none;
}

.gosmtp-pagination-links .current {
background: var(--gosmtp-blue);
color: var(--gosmtp-white);
border-color: var(--gosmtp-blue);
}

/* Copy url */

.tabs-wrapper .dashicons-admin-page {
padding: 5px 5px;
background: #f9f9f9;
border-radius: 0px 4px 4px 0px;
border: 1px solid var(--gosmtp-blue);
cursor: pointer;
background-color: #f0f0f0;
border-color: #babfc5;
border-left: none;
}

.tabs-wrapper .gosmtp_copy {
background-color: #f0f0f0;
border-color: #babfc5;
padding: 1px 10px !important;
border-radius: 4px 0px 0px 4px !important;
margin-right: -8px !important;
border-right: none !important;
color: #625959;
width: 23em;
}

.tabs-wrapper .gosmtp_copy:focus {
outline: none !important;
border-color: #babfc5;
box-shadow: none;
}

.gosmtp_copy_message{
display:none;
width:40%;
color:green;
background:white;
box-shadow:0px 5px 15px -10px black;
border-left:4px solid green;
padding:8px 10px;
margin-top:10px !important;
}

/* Loader Start*/
.gosmtp-loader {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: #FFFFFF40;
align-items: center;
justify-content: center;
z-index: 9999;
backdrop-filter: blur(2px);
}

.gosmtp-loader-circle {
border: 0.5rem solid #f3f3f3;
border-radius: 50%;
border-top: 0.5rem solid var(--gosmtp-blue);
width: 3.5rem;
height: 3.5rem;
-webkit-animation: spin 2s cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
animation: spin 2s cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
}

/* Safari */
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

.gosmtp-mailer-input.pro .mailer_label::before{
width: 70px;
height: 15px;
content: 'Premium';
font-size: 10px;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
box-shadow: 0px 2px 3px rgb(136 136 136 / 25%);
background: #2271b1;
position: absolute;
right: -2px;
top: -2px;
z-index: 5;
}

.gosmtp-mailer-input.pro .lock_icon{
display: none; 
}

.gosmtp-mailer-input.pro .lock_icon span{
font-size: 25px;
}

.gosmtp-mailer-input.pro .mailer_label:hover .lock_icon{
display: flex;
justify-content: center;
align-items: center;
background: #2271b1;
position: absolute;
width:100%;
height:100%;
background: #00000057;
z-index: 1;
top:0;
color:white;
}

/* Email Reports */
.gosmtp-email-report{
box-shadow: 0px 0px 2px 1px var(--gosmtp-gray-shade) !important;
background: var(--gosmtp-white);
border-radius: 6px;
padding: 0px 25px 25px 25px;
border: none !important;
overflow: hidden;
}

.gosmtp-email-report th{
background: var(--gosmtp-white);
color: var(--gosmtp-black);
font-weight: 600;
text-align:left;
}

.gosmtp-email-report th,
.gosmtp-email-report td{
background: none;
padding: 15px 10px;
font-size: 14px;
border-bottom: 1px solid var(--gosmtp-gray-shade);
}

.gosmtp-email-report td{
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: var(--gosmtp-black);
}

.gosmtp-element-container{
display: flex;
justify-content: space-between;
}

.gosmtp-date-option-container{
display:flex;
align-items: center;
flex-grow: 2;
width: 100%;
}

#gosmtp-date-option-filter{
width: 250px;
margin: 0px 10px;
height:100%;
}

.gosmtp-date-option-container select,
.gosmtp-date-option-container input,
.gosmtp-report-search-container input{
padding: 5px 15px;
border-radius: 5px;
border: 1px solid var(--gosmtp-gray-shade);
}

.gosmtp-search-report-list-icon{
display: flex;
background: white;
border: 1px solid #d4d4d4;
align-items: center;
padding-left: 10px;
margin: 0px !important;
box-shadow: 0 0 0 transparent;
border-radius: 4px;
vertical-align: middle;
align-self: center;
border: 1px solid var(--gosmtp-gray-shade);
flex-basis: auto;
border-radius: 5px !important;
width: 100%;
box-sizing: border-box;
height: 100%;
}

.gosmtp-report-search-container{
width: 50%;
margin: 0px 10px;
}

.gosmtp-report-submit-container{
width: 300px;
}

.gosmtp-report-submit-container input{
width: 100%;
height: 100%;
}

.gosmtp-search-report-list-icon input,
.gosmtp-search-report-list-icon input:focus{
border:none !important;
box-shadow: none;
}

.gosmtp-element-container .dashicons-chart-area{
font-size: 25px;
color: var(--gosmtp-black);
}

.gosmtp-filter-date{
background-color: var(--gosmtp-blue);
color: var(--gosmtp-white);
width: 100px;
}

.gosmtp-report-date-container{
display: none;
}

.gosmtp_record_empty{
text-align: center;
font-weight: bold !important;
padding: 50px 0px !important;
}

#gosmtp-search_email{
width: 100%;
}

#gosmtp-filter-date{
display: none;
}

.gosmtp-upper-elements-container{
box-shadow: 0px 0px 2px 1px var(--gosmtp-gray-shade) !important;
background: var(--gosmtp-white);
border-radius: 6px;
padding: 25px;
border: none !important;
margin-bottom: 20px;
}

.gosmtp-report-date-container input[type="date"]{
width: 100px;
}

.submit-email-reports{
width: 100px;
border-radius: 5px !important;
}

.gosmtp-fiter-container{
position: relative;
display: flex;
flex-direction: row;
border-radius: 5px;
border: 1px solid var(--gosmtp-gray-shade);
box-sizing: border-box;
padding: 5px 10px;
width: 100%;
height:100%;
min-height:40px;
align-items: center;
background: var(--gosmtp-white);
box-sizing: border-box;
}

.gosmtp-fiter-main-container{
width:70%;  
}

.gosmtp-fiter-container .multiselect,
.gosmtp-fiter-container .multiselect:focus{
height: 100%;
border: none !important;
width: 100%;
box-shadow: none;
display: flex;
align-items: center;
font-size: 14px;
flex-wrap: wrap;
}

.gosmtp-fiter-container ul{
position: absolute;
top: 100%;
left: 0;
margin:0px;
background-color: white;
width: 100%;
padding: 10px;
box-sizing: border-box;
border: 1px solid var(--gosmtp-gray-shade);
border-radius: 5px;
max-height: 25	0px;
overflow-y:auto;
display: none;
}

.gosmtp-fiter-container li{
border-bottom: 1px solid var(--gosmtp-gray-shade);
padding: 10px;
}

.gosmtp-fiter-container li:hover{
border-bottom: 2px solid var(--gosmtp-gray-shade);
background-color: #f5f5f5;
}

.gosmtp-fiter-container .multiselect-checkbox{
margin-right: 10px;
}

.gosmtp-container-val{
background: var(--gosmtp-blue);
color:var(--gosmtp-white);
border-radius: 5px;
display: inline-block;
padding: 4px 10px;
font-size: 12px;
margin: 3px 3px 3px 0px;
text-transform: capitalize;
}

/*export css*/
.gosmtp-export-container{
height: 100%;
padding: 20px;
}

.gosmtp-export-container form{
width: 100%;
background: var(--gosmtp-white);
padding: 30px 50px;
border-radius: 7px;
box-sizing: border-box;
}

.gosmtp-export-container .gosmtp-row{
padding: 15px 0px;
}

.gosmtp-export-container h1,
.gosmtp-export-container h2,
.gosmtp-export-container h3,
.gosmtp-export-container h4{
margin: 0 !important;
}

.gosmtp-export-container hr{
display: block;
border: none;
border-top: 1px solid #dbdbdb;
}

.gosmtp-export-container input[type ='date']{
width: 49%;
box-sizing: border-box;
padding: 7px;
border: 1px solid var(--gosmtp-gray-shade);
}

.gosmtp-export-container h3{
font-size: 15px;
}

.gosmtp-export-container .dashicons-media-archive{
font-size: 30px;
margin-right: 15px;
margin-top: -4px;
}

.gosmtp-export-container .gosmtp-loading-button{
width: 150px;
padding: 10px;
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
}

.gosmtp-export-container .gosmtp-loading-button input[type="submit"]{
background: transparent;
border: none;
color: white;
font-weight: 500;
transition: all 0.2s;
}

.gosmtp-export-container .gosmtp-loading-button .dashicons-image-rotate{
display:none;
font-size:15px;
height:100%;
transition: all 0.2s;
animation: spin 1s linear infinite;
}

@keyframes spin {
0% {transform: rotate(0deg);}
100% {transform: rotate(-360deg);}
}

.gosmtp-export-container .gosmtp-radio-list{
border: 1px solid var(--gosmtp-gray-shade);
border-radius: 7px;
padding: 3px 10px;
height: 100%;
display: flex;
flex-direction: row;
align-items: center;
}

.gosmtp-export-container .gosmtp-radio-list input[type="radio"]{
visibility: hidden;
position: absolute;
}

.gosmtp-export-container .gosmtp-radio-list label:hover,
.gosmtp-export-container .active_radio_tab{
border: 2px solid var(--gosmtp-blue) !important;
background-color: #ecefff8a;
color: var(--gosmtp-blue);
box-sizing: border-box;
}

.gosmtp-export-container .gosmtp-radio-list label{
border: 2px solid var(--gosmtp-white);
padding: 10px;
border-radius: 7px;
font-size: 15px;
font-weight: bold;
box-sizing: border-box;
}

.gosmtp-export-container ul::-webkit-scrollbar {
width: 10px;
}

.gosmtp-export-container ul::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.129);
border-radius: 10px;
}

.gosmtp-export-container ul::-webkit-scrollbar-thumb {
background: rgb(194, 194, 194); 
border-radius: 10px;
}

/*gosmtp checkbox*/
.gosmtp-switch {
position: relative;
display: inline-block;
width: 55px;
height: 29px;
}

.gosmtp-switch input,
.gosmtp-switch input:disabled{ 
opacity: 0;
width: 0;
height: 0;
}

.gosmtp-slider{
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}

.gosmtp-slider:before{
position: absolute;
content: "";
height: 24px;
width: 24px;
left: 2px;
bottom: 3px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}

input:checked + .gosmtp-slider {
background-color: var(--gosmtp-blue);
}

input:focus + .gosmtp-slider {
box-shadow: 0 0 1px #2196F3;
}

input:checked + .gosmtp-slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}

input:disabled + .gosmtp-slider{
opacity: 0.5;
}

input:disabled + .gosmtp-slider:before{
background-color: #939393;
}

.gosmtp-slider.gosmtp-round {
border-radius: 34px;
}

.gosmtp-slider.gosmtp-round:before {
border-radius: 50%;
}

#gosmtp-week-list{
display:none;
}

.gosmtp_preview{
border:1px solid #8c8f94;
border-radius:3px;
padding:4px;
color:#353535;
text-decoration:none;
vertical-align: middle;
}

.gosmtp_preview span:before{
vertical-align: super;
}

/*Additional connections*/
#gosmtp-connections-settings{
padding: 0 20px 20px 20px;
}

#gosmtp-back-trigger{
border-radius: 100%;
width: 28px;
height: 28px;
border: 2px solid var(--gosmtp-black);
cursor: pointer;
margin: auto 10px auto 0;
background: none;
padding: 0px;
display: none;
}

#gosmtp-back-trigger span{
font-size: 17px;
width: auto;
height: auto;
color: var(--gosmtp-black);
}

.gosmtp-conn-title-wrap{
padding: 20px 0 10px 0;
}

.gosmtp-conn-title-wrap .gosmtp-conn-left{
display: flex;
width: calc(100% - 189px);
}

.gosmtp-conn-title-wrap h1{
font-size: 18px;
margin: auto 0;
padding: 0;
}

.gosmtp-conn-right{
display: flex;
}

#gosmtp-new-conn{
background: var(--gosmtp-blue);
color: var(--gosmtp-white);
padding: 9px;
border-radius: 6px;
display: flex;
cursor: pointer;
border: none;
font-size: 13px;
transition-duration: 0.2s;
}

#gosmtp-new-conn:hover{
background: #2287d9;
}

#gosmtp-new-conn i{
font-size: 22px;
margin: auto;
width: auto;
height: auto;
}

#gosmtp-new-conn span{
margin: auto 6px;
}

.gosmtp-conn-empty-text{
font-size: 15px;
margin: 16px auto 20px 0;
text-align: center;
width: 100%;
}

.gosmtp-conn-empty-text span{
color: var(--gosmtp-blue);
cursor: pointer;
}

.gosmtp-conn-item{
border-radius: 6px;
width: 95%;
display: flex;
margin: 10px auto;
flex-direction: column;
position: relative;
box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
height: 90%;
}

.gosmtp-active-conn::before{
height: 28px;
content: 'Backup Connection';
font-size: 11px;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
box-shadow: 0px 2px 3px rgb(136 136 136 / 25%);
background: var(--gosmtp-green);
position: absolute;
right: -2px;
top: -2px;
z-index: 5;
border-radius: 0 0 0 10px;
padding: 1px 10px 1px 24px;
font-weight: bold;
}

.gosmtp-active-conn::after{
font-family: dashicons;
content: "\f109";
position: absolute;
right: 110px;
z-index: 5;
color: #fff;
font-size: 14px;
top: 4px;
}

.gosmtp-conn-item.gosmtp-add-conn{
background: var(--gosmtp-black);
}

.gosmtp-conn-icon{
padding: 14px 14px 10px 14px;
}

.gosmtp-conn-icon span{
margin: auto;
font-size: 53px;
width: auto;
height: auto;
color: var(--gosmtp-black);
}

.gosmtp-conn-item img{
max-width: 141px;
height: 34px;
}

.gosmtp-conn-item .gosmtp-sm-img{
max-width: 113px;
height: 26px;
padding: 4px 0;
}

.gosmtp-conn-content{
padding: 0 10px 10px 14px;
}

.gosmtp-conn-content span{
font-size: 16px;
color: var(--gosmtp-black);
display: block;
word-break: break-word;
}

.gosmtp-conn-content span:nth-child(2){
font-size: 12px;
word-break: break-all;
}
.gosmtp-conn-actions{
display: flex;
justify-content: end;
padding: 4px 14px 14px 14px;
}

.gosmtp-edit-conn,
.gosmtp-delete-conn,
.gosmtp-backup-conn,
.gosmtp-backup-conn-clear{
display: inline-block;
border: 1px solid #73c1ff;
background: #e9f9ff;
color: var(--gosmtp-blue);
border-radius: 6px;
padding: 4px;
text-decoration: none;
cursor: pointer;
transition-duration: 0.2s;
}

.gosmtp-edit-conn:hover{
background: #c4e5ff;
}

.gosmtp-delete-conn{
border: 1px solid #f9b8b8;
background: #fff7f7;
color: #ff5151;
margin: 0 0 0 6px;
}

.gosmtp-delete-conn:hover{
background: #fdd !important;
}

.gosmtp-backup-conn{
margin: 0 6px !important;
color: var(--gosmtp-green) !important;
border-color: #44d77f !important;
background: #f6fff6 !important;
transition-duration: 0.2s;
}

.gosmtp-backup-conn:hover{
background: #cbffcb !important;
}

.gosmtp-backup-conn-clear{
margin: 0 6px;
background: #f6f4ff;
border: 1px solid #9e96ff;
color: var(--gosmtp-primary);
}

.gosmtp-backup-conn-clear span{
font-size: 16px;
height: auto;
}
.gosmtp-backup-conn-clear:hover{
background: #e3e3ff !important;
}

.gosmtp-existing-conn-wrap .gosmtp-smtp-conn{
width: 100%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}

.gosmtp-new-conn-wrap,
.gosmtp-conn-title-new,
.gosmtp-conn-title-edit{
display: none !important;
}

.gosmtp-new-conn-open #gosmtp-new-conn,
.gosmtp-new-conn-open h1.gosmtp-conn-title-edit,
.gosmtp-new-conn-open .gosmtp-conn-title-existing,
.gosmtp-new-conn-open .gosmtp-existing-conn-wrap,
.gosmtp-edit-conn-open .gosmtp-existing-conn-wrap,
.gosmtp-edit-conn-open .gosmtp-conn-title-existing {
display: none !important;
}

.gosmtp-new-conn-open #gosmtp-back-trigger,
.gosmtp-new-conn-open .gosmtp-new-conn-wrap,
.gosmtp-edit-conn-open .gosmtp-new-conn-wrap,
.gosmtp-edit-conn-open #gosmtp-back-trigger,
.gosmtp-edit-conn-open .gosmtp-conn-title-edit
{
display: block !important;
}

.gosmtp-new-conn-open h1.gosmtp-conn-title-new{
display: inline-block !important;
}

@media screen and (max-width:1180px){
.gosmtp-existing-conn-wrap .gosmtp-col-4{
width: 50%;
}

}
@media screen and (max-width:768px){
.gosmtp-existing-conn-wrap .gosmtp-col-4{
width: 100%;
}
}PK͍�[����8#8#init.phpnu�[���<?php
/*
* GoSMTP
* https://gosmtp.net
* (c) Softaculous Team
*/

// We need the ABSPATH
if (!defined('ABSPATH')) exit;

define('GOSMTP_BASE', plugin_basename(GOSMTP_FILE));
define('GOSMTP_VERSION', '1.1.6');
define('GOSMTP_DIR', dirname(GOSMTP_FILE));
define('GOSMTP_SLUG', 'gosmtp');
define('GOSMTP_URL', plugins_url('', GOSMTP_FILE));
define('GOSMTP_CSS', GOSMTP_URL.'/css');
define('GOSMTP_JS', GOSMTP_URL.'/js');
define('GOSMTP_PRO_URL', 'https://gosmtp.net/pricing?from=plugin');
define('GOSMTP_WWW_URL', 'https://gosmtp.net/');
define('GOSMTP_DOCS', 'https://gosmtp.net/docs/');
define('GOSMTP_DB_PREFIX', 'gosmtp_');

include_once(GOSMTP_DIR.'/main/functions.php');

spl_autoload_register('gosmtp_autoload_register');
function gosmtp_autoload_register($class){

	if(!preg_match('/GOSMTP\\\\/', $class)){
		return;
	}
	
	$file = strtolower(str_replace( array('GOSMTP', '\\'), array('', DIRECTORY_SEPARATOR), $class)); 
	$file = trim(strtolower($file), '/').'.php';

	// For Free
	if(file_exists(GOSMTP_DIR.'/main/'.$file)){
		include_once(GOSMTP_DIR.'/main/'.$file);
	}

	// For Pro
	if(defined('GOSMTP_PRO_DIR') && file_exists(GOSMTP_PRO_DIR.'/main/'.$file)){
		include_once(GOSMTP_PRO_DIR.'/main/'.$file);
	}
	
}

function gosmtp_died(){
	print_r(error_get_last());
}
//register_shutdown_function('gosmtp_died');

// Ok so we are now ready to go
register_activation_hook(GOSMTP_FILE, 'gosmtp_activation');

// Is called when the ADMIN enables the plugin
function gosmtp_activation(){
	global $wpdb;

	add_option('gosmtp_version', GOSMTP_VERSION);

}

// Checks if we are to update ?
function gosmtp_update_check(){
	global $wpdb;

	$current_version = get_option('gosmtp_version');
	$version = (int) str_replace('.', '', $current_version);

	// No update required
	if($current_version == GOSMTP_VERSION){
		return true;
	}

	// Is it first run ?
	if(empty($current_version)){

		// Reinstall
		gosmtp_activation();

		// Trick the following if conditions to not run
		$version = (int) str_replace('.', '', GOSMTP_VERSION);

	}

	// Save the new Version
	update_option('gosmtp_version', GOSMTP_VERSION);
	
}

// Add action to load GoSMTP
add_action('plugins_loaded', 'gosmtp_load_plugin');
function gosmtp_load_plugin(){
	global $gosmtp;
	
	if(empty($gosmtp)){
		$gosmtp = new stdClass();
	}
	
	// Check if the installed version is outdated
	gosmtp_update_check();
	
	$options = get_option('gosmtp_options', array());
	$gosmtp->options = empty($options) ? array() : $options;
}

// The function that will be called when the plugin is loaded
add_action('wp_mail', 'gosmtp_load_phpmailer');
function gosmtp_load_phpmailer($atts){
	global $gosmtp, $phpmailer;
	
	if(!class_exists('GOSMTP_PHPMailer')){
		// Load PHPMailer class, so we can subclass it.
		require_once ABSPATH . WPINC . '/PHPMailer/PHPMailer.php';
		require_once ABSPATH . WPINC . '/PHPMailer/SMTP.php';
		require_once ABSPATH . WPINC . '/PHPMailer/Exception.php';
		
		class GOSMTP_PHPMailer extends \PHPMailer\PHPMailer\PHPMailer {

			// Modify the default send() behaviour of PHPMailer.
			public function send(){
				
				global $gosmtp, $phpmailer;
				
				// Define a custom header, that will be used to identify the plugin and the mailer.
				$this->XMailer = 'GOSMTP/Mailer/' . $gosmtp->_mailer . ' ' . GOSMTP_VERSION;
				
				do_action( 'gosmtp_mailer_mail_pre_send' );
				
				// If mailer not exists or send function not exists
				if(!method_exists($gosmtp->mailer, 'send')){
					return parent::send();
				}
				
				do_action( 'gosmtp_mailer_mail_send_before' );
			
				// Are we to enforce from ?
				$gosmtp->mailer->set_from();
				
				$exception = false;
				
				/*
				 * Send the actual email.
				 * We reuse everything, that was preprocessed for usage in \PHPMailer.
				 */
				try{
					$is_sent = $gosmtp->mailer->send();
				}catch(PHPMailer\PHPMailer\Exception $e){
					$is_sent = false;
					$exception = $e;
				}
				
				// Get backup connection
				$backup_connection = $gosmtp->mailer->get_backup_connection();
				$backup_sent = false;
				
				// Store current values
				$current_data = array(
					'_mailer' => $gosmtp->_mailer,
					'mailer' => $gosmtp->mailer,
					'conn_id' => $gosmtp->mailer->conn_id
				);
				
				// Try to send email with secondary email
				if(empty($is_sent) && !empty($backup_connection) ){
					
					$mailer = sanitize_key( $gosmtp->options['mailer'][$backup_connection]['mail_type'] );			
					$class = $gosmtp->mailer_list[$mailer]['class'];
					$parent_log = $gosmtp->mailer->last_log;
					
					if(class_exists($class)){
						$gosmtp->_mailer = $mailer;
						$gosmtp->mailer = new $class();
						$gosmtp->mailer->conn_id = $backup_connection;
						$gosmtp->mailer->parent_log = $parent_log;
						
						try{
							$backup_sent = $phpmailer->send();
						}catch(Exception $e){}
					}
					
				}
				
				// Reset connection
				$gosmtp->_mailer = $current_data['_mailer'];
				$gosmtp->mailer = $current_data['mailer'];
				$gosmtp->mailer->conn_id = $current_data['conn_id'];
				
				do_action( 'gosmtp_mailer_mail_send_after', $is_sent, $exception, $backup_sent );
				
				if($exception && !$backup_sent){
					throw $exception;
				}
				
				return $is_sent || $backup_sent;
			}

		}
	}
	
	if($phpmailer instanceof GOSMTP_PHPMailer){
		return $atts;
	}
	
	// Load all mailer
	$gosmtp->mailer_list = gosmtp_get_mailer_list();

	$connection_key = apply_filters('gosmtp_connection_key', 0);
	
	// Making sure the filter returns expected type
	if(!is_string($connection_key) && !is_int($connection_key)){
		$connection_key = 0;
	}

	// For PHP Email dont do anything
	if(empty($gosmtp->options['mailer'][$connection_key]['mail_type'])){
		return $atts;
	}

	$mailer = sanitize_key( $gosmtp->options['mailer'][$connection_key]['mail_type'] );
	$class = $gosmtp->mailer_list[$mailer]['class'];
	
	if(!class_exists($class)){
		return $atts;
	}
	
	$gosmtp->_mailer = $mailer;
	$gosmtp->mailer = new $class();
	$gosmtp->mailer->conn_id = $connection_key;

	// Handle the from email name
	add_filter('wp_mail_from', [$gosmtp->mailer, 'get_from'], 100, 1);

	$phpmailer = new GOSMTP_PHPMailer(true);
	
	return $atts;
}

// This adds the left menu in WordPress Admin page
add_action('admin_menu', 'gosmtp_admin_menu', 5);
function gosmtp_admin_menu() {

	global $wp_version;

	$capability = 'activate_plugins';// TODO : Capability for accessing this page

	// Add the menu page
	add_menu_page(__('GoSMTP', 'gosmtp'), __('GoSMTP', 'gosmtp'), $capability, 'gosmtp', 'gosmtp_page_handler', 'dashicons-email-alt');
	
	// Settings Page
	add_submenu_page( 'gosmtp', __('Settings', 'gosmtp'), __('Settings', 'gosmtp'), $capability, 'gosmtp', 'gosmtp_page_handler');
	
	// Test Mail Page
	add_submenu_page( 'gosmtp', 'Test Mail', 'Test Mail', $capability, 'gosmtp#test-mail', 'gosmtp_page_handler');
	
	if(defined('GOSMTP_PREMIUM')){
		
		// Logs Page
		add_submenu_page( 'gosmtp', __('Email Logs', 'gosmtp'), __('Email Logs', 'gosmtp'), $capability, 'gosmtp-logs', 'gosmtp_logs_handler');

		// Email reports
		add_submenu_page( 'gosmtp', __('Email Reports', 'gosmtp'), __('Email Reports', 'gosmtp'), $capability, 'email_reports', 'gosmtp_email_reports_handler');

		// Export Page
		add_submenu_page( 'gosmtp', __('Export', 'gosmtp'), __('Export', 'gosmtp'), $capability, 'export', 'gosmtp_export_handler');
		
		// Email reports
		add_submenu_page( '', __('Email Reports', 'gosmtp'), __('Weekly Email', 'gosmtp'), $capability, 'weekly_email_reports', 'gosmtp_weekly_email_handler');

		// License Page
		if(!defined('SITEPAD')){
			add_submenu_page( 'gosmtp', __('License', 'gosmtp'), __('License', 'gosmtp'), $capability, 'gosmtp-license', 'gosmtp_license_handler');
		}
	}
	
	// Support
	if(!defined('SITEPAD')){
		add_submenu_page( 'gosmtp', __('Support', 'gosmtp'), __('Support', 'gosmtp'), $capability, 'gosmtp#support', 'gosmtp_page_handler');
	}
}

// SMTP page Handler
function gosmtp_page_handler(){
	include_once GOSMTP_DIR .'/main/settings.php';
	gosmtp_settings_page();
}

function gosmtp_logs_handler(){
	include_once GOSMTP_PRO_DIR .'/main/smtp-logs.php';
}

function gosmtp_email_reports_handler(){
	include_once GOSMTP_PRO_DIR .'/main/email-reports.php';
	gosmtp_reports_table();
}

function gosmtp_export_handler(){
	include_once GOSMTP_PRO_DIR .'/main/export.php';
	gosmtp_export_page();
}

function gosmtp_weekly_email_handler(){
	include_once GOSMTP_PRO_DIR .'/main/weekly_email_reports.php';
	gosmtp_send_email_reports();
}

function gosmtp_license_handler(){
	global $gosmtp;
	
	include_once GOSMTP_PRO_DIR .'/main/license.php';
}

if(wp_doing_ajax()){	
	include_once GOSMTP_DIR.'/main/ajax.php';
}

add_action( 'admin_init', 'gosmtp_admin_init');
function gosmtp_admin_init(){
	wp_register_style( 'gosmtp-admin', GOSMTP_URL .'/css/admin.css', array(), GOSMTP_VERSION);
	wp_register_script( 'gosmtp-admin', GOSMTP_URL .'/js/admin.js', array('jquery'), GOSMTP_VERSION);
	
	include_once GOSMTP_DIR .'/main/admin.php';
	
	gosmtp_admin_hooks();
	
}PK͍�[O�����images/zoho.svgnu�[���<svg width="2500" height="864" viewBox="0 0 512 177" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"><defs><linearGradient x1="49.996%" y1="1.431%" x2="49.996%" y2="96.981%" id="a"><stop stop-color="#FFE513" offset=".562%"/><stop stop-color="#FDB924" offset="100%"/></linearGradient><linearGradient x1="4.512%" y1="13.494%" x2="95.672%" y2="87.064%" id="b"><stop stop-color="#008CD2" offset=".562%"/><stop stop-color="#00649D" offset="100%"/></linearGradient><linearGradient x1="50.002%" y1="27.779%" x2="50.002%" y2="97.529%" id="c"><stop stop-color="#26A146" offset="0%"/><stop stop-color="#008A52" offset="100%"/></linearGradient><linearGradient x1="43.734%" y1="8.208%" x2="57.544%" y2="93.198%" id="d"><stop stop-color="#D92231" offset="0%"/><stop stop-color="#BA2234" offset="100%"/></linearGradient></defs><path d="M512 37.7v121.4l-16.8 16.4V56.7l16.8-19z" fill="#E79225"/><path d="M401.9 37.8l-17.4 18.9.9 1.2 109.1-.4 1-.8 16.5-19-110.1.1z" fill="#FFF16D"/><path fill="url(#a)" d="M.5 19.7h111v118.9H.5z" transform="translate(384 37)"/><path d="M478.6 99.5c-2.2-5.5-5.5-10.5-9.8-14.8-4.1-4.2-8.7-7.4-13.9-9.5-5.1-2.1-10.6-3.2-16.6-3.2-6 0-11.6 1.1-16.7 3.2-5.2 2.1-9.8 5.3-13.9 9.5-4.3 4.3-7.5 9.3-9.7 14.8-2.2 5.5-3.2 11.5-3.2 18.1 0 6.4 1.1 12.4 3.3 18 2.2 5.6 5.4 10.6 9.7 15 4 4.1 8.6 7.2 13.7 9.3 5.1 2.1 10.8 3.2 16.9 3.2 5.9 0 11.4-1.1 16.5-3.2s9.8-5.2 13.9-9.3c4.3-4.4 7.6-9.4 9.8-14.9 2.2-5.5 3.3-11.6 3.3-18 0-6.7-1.1-12.7-3.3-18.2zm-22.9 39.2c-4.3 5.1-10 7.7-17.4 7.7-7.4 0-13.2-2.6-17.5-7.7-4.3-5.1-6.4-12.2-6.4-21.2 0-9.2 2.2-16.3 6.4-21.5 4.3-5.2 10-7.7 17.5-7.7 7.4 0 13.1 2.6 17.4 7.7 4.2 5.2 6.4 12.3 6.4 21.5 0 9-2.1 16.1-6.4 21.2z" fill="#FFF"/><g><path d="M373.6 27.8v.6l14.2 109.1-8.3 23-1.1-.8-14.6-104.6.3-1.4 9.1-25.3.4-.6z" fill="#009ADA"/><path d="M264.3 43l109.3-15.2-9.2 26.2-1.3 1.4-102.2 15 .5-18.7 2.9-8.7z" fill="#91C9ED"/><path d="M107.4 27l15.1 106.5-107.7 15.1L.3 45.7l6.3-4.9L107.4 27z" fill="url(#b)" transform="translate(257 27)"/><path d="M346.1 74.4c-.5-3.3-1.6-5.8-3.4-7.5-1.5-1.3-3.3-2-5.4-2-.5 0-1.1 0-1.7.1-2.8.4-4.9 1.7-6.2 3.8-1 1.5-1.4 3.4-1.4 5.6 0 .8.1 1.7.2 2.6l3.9 27.7-31 4.6-3.9-27.7c-.5-3.2-1.6-5.7-3.4-7.4-1.5-1.4-3.3-2.1-5.3-2.1-.5 0-1 0-1.5.1-2.9.4-5.1 1.7-6.5 3.8-1 1.5-1.4 3.4-1.4 5.6 0 .8.1 1.7.2 2.7l10.6 72.1c.5 3.3 1.6 5.8 3.6 7.5 1.5 1.3 3.3 1.9 5.5 1.9.6 0 1.2 0 1.8-.1 2.7-.4 4.7-1.7 6-3.8.9-1.5 1.3-3.3 1.3-5.4 0-.8-.1-1.7-.2-2.6l-4.3-28.5 31-4.6 4.3 28.5c.5 3.3 1.6 5.8 3.5 7.4 1.5 1.3 3.3 2 5.4 2 .5 0 1.1 0 1.7-.1 2.8-.4 4.9-1.7 6.2-3.8.9-1.5 1.4-3.3 1.4-5.5 0-.8-.1-1.7-.2-2.6l-10.8-72.3z" fill="#FFF"/></g><g><path d="M162 0l-38.9 92.4 5.3 40.6.3-.1 43.7-98.3-.2-2.1-9.4-31.2L162 0z" fill="#66BF6B"/><path d="M162 0l10.1 33.9.2.7 96.2 43.1.3-.2-8.2-32.4L162 0z" fill="#98D0A0"/><path d="M49.1 33.9l96.7 43.6-43.7 99.1L5.4 133l43.7-99.1z" fill="url(#c)" transform="translate(123)"/><path d="M239.5 85.5c-2.1-5.6-5-10.4-8.8-14.4-3.8-4-8.4-7.2-13.8-9.5s-10.8-3.4-16.3-3.4h-.3c-5.6 0-11.1 1.3-16.5 3.7-5.7 2.5-10.6 5.9-14.8 10.4-4.2 4.4-7.6 9.8-10.2 16-2.6 6.1-4 12.3-4.3 18.4v2.1c0 5.4.9 10.7 2.8 15.9 2 5.5 4.9 10.2 8.7 14.2 3.8 4 8.5 7.2 14.1 9.5 5.3 2.3 10.7 3.4 16.2 3.4h.1c5.5 0 11-1.2 16.4-3.5 5.7-2.5 10.7-6 14.9-10.5 4.2-4.4 7.7-9.7 10.3-15.9 2.6-6.2 4-12.3 4.3-18.4v-1.8c.1-5.5-.8-10.9-2.8-16.2zm-19.3 28.8c-3.6 8.6-8.5 14.5-14.4 17.7-3.2 1.7-6.5 2.6-9.8 2.6-2.9 0-6-.7-9.1-2-6.8-2.9-11-7.5-12.8-14.1-.6-2.2-.9-4.5-.9-6.9 0-4.8 1.2-10.1 3.6-15.8 3.7-8.8 8.6-14.8 14.5-18.1 3.2-1.8 6.5-2.6 9.8-2.6 3 0 6 .7 9.2 2 6.7 2.9 10.9 7.5 12.7 14.1.6 2.1.9 4.4.9 6.8 0 5-1.2 10.4-3.7 16.3z" fill="#FFF"/></g><g><path d="M115.4 15.7l15.8 105.8-7.2 37.2-1-1.3-15.4-102.2v-2l6.8-35.7 1-1.8z" fill="#760D16"/><path d="M0 70.4L7.5 33l107.9-17.3-7.3 38.1v2.5L1.3 71.4l-1.3-1z" fill="#EF463E"/><path d="M108.1 38.8L124 143.7 17.2 160.4 0 55.4l108.1-16.6z" fill="url(#d)" transform="translate(0 15)"/><path d="M96.6 142c-.8-1-2-1.7-3.4-2.2-1.4-.5-3.1-.7-5.2-.7-1.9 0-4.1.2-6.5.6l-28.2 4.8c.3-2.2 1.4-5 3.3-8.5 2.1-3.9 5.3-8.6 9.4-14 1.4-1.9 2.5-3.3 3.3-4.3.5-.7 1.3-1.6 2.3-2.9 6.5-8.5 10.4-15.4 12-20.8.9-3.1 1.4-6.2 1.6-9.3.1-.9.1-1.7.1-2.5 0-2.2-.2-4.4-.6-6.6-.3-2-.8-3.6-1.5-4.9-.7-1.3-1.5-2.3-2.5-2.9-1.1-.7-2.8-1-4.9-1-1.7 0-3.8.2-6.3.6L36.9 73c-3.9.7-6.9 1.8-8.7 3.6-1.5 1.4-2.2 3.2-2.2 5.2 0 .5 0 1.1.1 1.7.5 2.8 1.9 4.8 4.2 5.8 1.4.6 3 .9 5 .9 1.3 0 2.8-.1 4.4-.4L66.9 85c0 .5.1 1 .1 1.4 0 1.7-.3 3.4-.9 5-.8 2.3-2.8 5.5-6.1 9.6-.9 1.1-2.3 2.9-4.2 5.2-7.4 8.9-12.6 16.5-15.8 22.8-2.3 4.4-3.8 8.6-4.7 12.9-.5 2.5-.8 4.8-.8 7.1 0 1.6.1 3.2.4 4.7.4 2.2.9 4 1.6 5.4.7 1.4 1.7 2.5 2.8 3.1 1.1.6 2.6.8 4.8.8 2.7 0 6.4-.4 11.1-1.2l29.6-5.1c5.2-.9 8.9-2.2 11-3.9 1.7-1.4 2.6-3.3 2.6-5.5 0-.6-.1-1.2-.2-1.8-.2-1.3-.7-2.5-1.6-3.5z" fill="#FFF"/></g></svg>PK΍�[G$χXXimages/loginizer_product.pngnu�[����PNG


IHDR@L%nesRGB��,	pHYs.#.#x�?v�IDATx��]	xU�u�o�����QG�M@��Q�qA}��Dp�ƍE��&J����"C�	6	 dA ˝�wU��v��U]	���ם�]��]u�.���xy�߀��-�G�'���W��!����6��Ρ��M`gp�,+@f�
5���
�*��k���K��`op
x�B���4�
�
��D�� F1`'�+��%�3"���+��v�
u^�E0�c�3*�0�Y�r��B@@��@��{\�
W����g�l�e�x�@��e`}Y�
x	����{`A���1�QXҒ�n������n#������̌T��ݱ�%|5��ҷ+��Og�va��ak�BH�%��"�����������E�뛑��9~$���- ~��߯�8q,K�����M{����搕עH�);o�t	k:�G���l2�6l�B�6w_�Bx|����P{~�D"~��v�!�f���jŎ�n5�W���w�1���o�a+��D��XpU�h��³z{~`(�{�lvoRvk��!=��	o���}���X���C�4@��#X��Yl.�[�=�9���}b8,  `������E�����b�J�*�B�4<����[�X����k�j�K_��VCz�����I�ن�]L��{��SGc���n>*ﮡ��Hf#�,bӳsP�@�d�CvU�I$��r���GY��=��u���$I����Aqqq-���.`�-��^���{��\����9~E&�:�
�:= n�2|�"6 }>�1{:�הI�������"���^�>]�#��u߲�S��
O���Y�؃��`��wx��ެ�'I�)ٻsf�D�E����d/��k�,6%+�z���h�n��pc��1.u��)�Ao�ʟ�*߾�����u��Zn��.
 ��Y4|�2}�*^ʼ\%̈́Io�K=��Y+ّ��BW�΁���=�U쟟��-G�i�~F���O���'����&���^�[S�h����ڷ��vY6������~�%����k�	i����i�(��b	�WP�**�dOe����#lB�R�i�(v�~�Cd3����z��@!���񒎐|�]V������iH�m��}���[�ve��O?b�ϝƒ3�0yWn�G��&���=Ȝ�y,��+u{v�X�ס4�֟o�@�>����(�[�-[��9l�]V����e�����v	\�߂�+����G7/g-[�y[���mڛ��~f�KJة3gX�ˢg���;^R�Ӿ|���[�y#��]6�pA���Px6��^��@o_�9[#"�!.����
���$�f���*Y��wY��g(�����E�5C$�*+ѧ=iO!���CR�<�1����d�
���E����}��c$ҞfO�	
�F����0�hխ�hO!�����d�]�S��&��	<^C�(x��mZ��ƀ�σ�3���N����uP~[���Sݵ���o�S��111�͈4��͓��i�؄t�4y.5J5�?��7��:}���n$�s���z�	Ýs�u_ރkJ����	��
�-hQ��c������~����E}��{�=�9�K
�� �F�h��ӥ��<]fϟЁ��u��F�V���ۅ���$�4��^Ul��̳��.ɶ:�w>/��`n�a�g�<?"O���Շz�Ĺ�萮�u�+�x�/��Bw��[<�R[�f�V���ݏ��`�E��.H_�I{@�~�|;5�k����S���8|x<��?�-�ɫY��
\�uE^�B���@�W�z�J�;%�x|t����w�ú�a�~
���Z��B�mFi�9�EW�0]��)���ݠ���,M[�=��d!�h����<�׃en`ϴc���s��_�@r�qu���H�ܢ��(c<�hu\R�x�)�$���I��[auCk��g0�\�s�n �vf6:?-w�W�i�� ���A:�cs��v�CG��srk�w$���کK�+�Pj�]�E EY�_�$)t�@��I����7E#i!)�[i��
i�c�k���C\~^v��27G�W[
�-;�7���s�z9������2��9��
`3�M�O�j�����ECiX�V����Ip9W��i�=��t�o���]��w)�M%e^y��}��v�X�����^7ͷ�j������2M�*8��[�zt����B�.��5���q�+�'�*+�()�ѥ\}%e���T�E:��Y� .���VC��
����N�.
��׷J<����CRz}�r���ܪ~�.P櫪M���᳞V�$e�
��W��E�r�I����V?�:Hl,)�1L��������K�E^��C�u[=;���&�!��.
�d��Q-#��1X
/h�_7>�%�j���x��j�%����v?�SƗV��!�(�J)t�<
4])�w�ؖ���֜0��i�'���1�$��7�|�_	n�&�n�m4�v�z2�a�SW
��Cp�I��\O�7���։�i�����y����ሐ���k��^n��kTWM�ru䁒E>Z<���˴M-�X�+�2V��?X�ɞn�-���)b�k�ң,���z��.H�����[����;p�I����ʘj��MD�iv���J�{.V�^^��cxFS>��=j�O�RS���6�����(4�^Lp7�G:����K�H�'Y>@v-�S�h���3�')���\��M����}F����2�<.`X�����Ki��,���r����ܽ�d�Z�rv���%)�o���h��Hq-]���x���~X�������f��h[a�)��[mE����8�I��ĕ�ܤ�׹�߅Q'/�K��(��vW�u�j���c����?��ck׊��1;[�СFi
�"��6���6Y���N���=?��uN�)�J)�鯷DK%�`����4")�?��<i�j�������ԥ��!�6�%��N��l�[�;ni���6D��ri8���2��̾��#�.�M1Jk ��­��7������
 ��&���x��¶�:���F�)�@����i��@�ޭ
����մ�W�}�IR�a�>���Q��t�z
05���
<�e�] 5Li*����DQ����l���
>�-S�s�?�����!�`�mX6�%����i`��()sn|�˖Sv%��W�\��\aR��F�l��R�<�z,���]��E�w`Xm�I��R�!��$}�ڊ�ު�I.?ry
狸�n	�t;���"�P�<ڥ��IHC@[��CV�`����`�J�]'E��H@�&^�(���_Ke6�B���1IO���:�K�� ��M��)J
�.�����֞Z��y���P��{�+�|�iY�f:��*Ln����o��7��d�FQ�a�4e�;EP`+�I�5���*I���%<,�n�#nt�U�y�K�s���x_,D�z���D��
���ڲ�9 5TW���նQ��\�#-S
Td�����1�@���4�t���5Z�o)WNn��<��LǦ�)�)�@:s��_P෶�B�-Np�ڶ�h	 mT���H�Qf�L��h>I�����U���:�g�IJ���q}�6�X�S�"kˠ�6�^A
�����-���f��uF�~�g���fss��=t��V�/7�6�ؑ��&��N[�/�v�JJ�&��}���8%t	֟%e��.���HDڛ%e:A[�H�sD?�(c1W�Hʳ_���v3a蓖���rVH>[�̖
�8����xU���?L�s��z`J�J+t��E��|,���-ORV��Dv�����a�pm���(�qJ�>>|X�d;�f�J~���HP�2����V�aM�8+&�2��>Sj)@~��)-e���ͷ%����o2���%n�k�P�kWϜp��M�2WmK���")�U+��z+SM@���=��aM!�\Kk�RG���* 1�HVl��ԈI���خ�Ui�Wp�5���6���Vm�m&�	��GcFY���t����I����q���Ll��m�S��k��P���0�`�$��µ]���:��Mq&�P݀�H���l��9Ӄ��z�Nc���Q	/9�Z�:�:Ǭ8aZoyE�?f���gN5?:ĵ(0����0�wA�t�CzZ	��AY���bD��#AM@�D�ͼ�R./f����F��j������z#������w�
J�A=��C?�
Qѩrv��}�2w��?|����\��w6#;�L��\��D4P��)�.���7oȉj<T7�)�9=>>�� ���t:�I9��^�v���m����.����3AR�`�L�s-ve%Ԁ�+t��N���_	5�����mQ��H��a�H�!eLP��9SM��/$������$��׆Z ����:�B}ÈE�	_ō2�M�&)����G�y7:�^�3I��B�S0V[sZ5H��ғZ��)�;�CK�n�V�΢�������U����J�kK6��*	�u�YW(f�[���Uyg.����5�k�K7oZ�n�m��Z�L����D�5�H�x�Q�jO��ʛ�#
g�B꩑�K/ �qr�$̸��a=��uαš �������C;+�tb ?��E��٭~�z�Yym�F��D#�X����1���Ճ���_����f���~]�+S&��ܽF�Ga�z{1�%�!���h_.�ȇ7��ܴv:$E>ZE�����ᐎa4�g�!��ں^��#��:f�@��0�HW����5�O��md�w�|>�k�:t0`?�l���V�3?'�PS?	ȷQ.��SP�ǝ�AW}��q�0љ�4l��X�<�s��������
��z+��@�V���ʯ7��I�C���
�k�X�� +���L�\�H|��Y��_į��I����A�4����m&~��ozَ�i���.���ÎT��@R��h�KQ[������ٱ3-�\')��ko�
(��߶_%m�G�RhD�2�yHښ')�m;�$eFۦ��ձ!N�;�1�C?0|*�nZ���&���_@�R)��D�3$�Dž\��ٌG�.�<��h{��u@ꀙF��u:k��#�7g
;VTU�;t��'�Q�_7��U�����ˎ��4��
Gj����v�r�k7�\�N��(����W�9H��p?Պ�����^�q��i6���Y�^�.A�"��X�O?FE�h����A�G��=�lޏ�]v1�_Mn�{8��l7`�E��u��
8D��ɑ��y�؛_~�l=�/����Ȧ=����Bz~����������:�)�*[�/�(7��UZ�Z
�E-p�lrj\Ɩ$�ъ�����r�E�v��ٱ���xXP}����O�=f�G�Q�/[��8�r�٥r�s��I, �) W��D�����i!"�����o�6/x���
_����"~}�Rٷ��G�:����8�W�P�i��X�`��������3,ؐ�X����Ď)#Y����I��:MRvs��茥�����o2q� �s�7�Nv�LZ
���>TW��o&��v��n="!D�n�.K��feee�ďҏC/�9��e�uX����j��8[v1Խ�����kAywK���i��@؀�\β�E���v�$mI�\�}s����*1�;91��̗�ظal��-V�G�~�İ�H�y�|�Tr�~�m����x��
mP��^_���-�J�߁�b3�Y�5��L��'��s�s�,y��Kq���>~���XH��m��`���e[r�ďV{_V{�~7�y�ѓ�؃�nr���F0��0�
�^�T�'����+��H���U[�ߩ�k�Cb�==i\���BV
�:��`e���Ha!�pk9�gH�	�Xljc��h�&l.��{�a�h���vvx���N��D��
�u�i(J�Bݦ�$>02��K��5@������<Y�=�J�J���B��I�.S�(�EiK�b��G@�d�\�6�r�� 9Mϒ׳>Of����?�W�������Ke%��xx|Bll,�ӧú_����[t�������q�0���z�X��������G��p��c���?��~�)><v0��r����Ň��k/�y����K!p�8�4# P��
a3�#Y9iMW�Vc8������!!�&@�L��i���X�����P���:�KV
���SF�K���Q`r�nF�D@@@ *PLh_��C`/Yٓ��TWme���p���'� ++�6�})U�O�jW}TIEND�B`�PK΍�[C�KKimages/mail.svgnu�[���<svg xmlns="http://www.w3.org/2000/svg" width="152" height="80"><path d="M77.5 0C118.64 0 152 17.9 152 40s-33.35 40-74.5 40S0 62.1 0 40 36.35 0 77.5 0z" fill-rule="evenodd" fill="#777bb3"/><path d="M32.33 21.35h15.95q7.03.06 10.18 4.05t2.08 10.88a20.86 20.86 0 01-1.84 6.19 18.39 18.39 0 01-3.8 5.47 13.3 13.3 0 01-6.38 3.92 29.34 29.34 0 01-7.02.84h-7.14L32.09 64h-8.27l8.51-42.64m6.97 6.78l-3.58 17.84a4.38 4.38 0 00.72.06h.83a31.32 31.32 0 009.52-1.14q3.81-1.24 5.12-8.68 1.07-6.24-2.14-7.2a26.73 26.73 0 00-7.92-.89q-.71.06-1.37.06h-1.24l.05-.06M69.97 9.99h8.21l-2.32 11.36h7.38q6.07.12 9.05 2.5 3.03 2.38 1.78 9.04L90.1 52.7h-8.34l3.81-18.91q.6-2.98-.36-4.23t-4.1-1.25l-6.6-.06L69.6 52.7h-8.2L69.97 10m32.93 11.35h15.95q7.02.06 10.18 4.05t2.08 10.88a20.86 20.86 0 01-1.84 6.19 18.39 18.39 0 01-3.81 5.47 13.3 13.3 0 01-6.37 3.92 29.34 29.34 0 01-7.02.84h-7.15L102.66 64h-8.28l8.52-42.65m6.96 6.78l-3.57 17.85a4.38 4.38 0 00.72.05h.83a31.32 31.32 0 009.52-1.13q3.81-1.25 5.12-8.68 1.07-6.24-2.14-7.2a26.72 26.72 0 00-7.92-.9q-.71.07-1.37.07h-1.25l.06-.06" fill="#fff" fill-rule="evenodd"/></svg>PK΍�[��6iL
L
images/amazonses.svgnu�[���<svg height="1465" viewBox="-.1 1.1 304.9 179.8" width="2500" xmlns="http://www.w3.org/2000/svg"><path d="m86.4 66.4c0 3.7.4 6.7 1.1 8.9.8 2.2 1.8 4.6 3.2 7.2.5.8.7 1.6.7 2.3 0 1-.6 2-1.9 3l-6.3 4.2c-.9.6-1.8.9-2.6.9-1 0-2-.5-3-1.4-1.4-1.5-2.6-3.1-3.6-4.7-1-1.7-2-3.6-3.1-5.9-7.8 9.2-17.6 13.8-29.4 13.8-8.4 0-15.1-2.4-20-7.2s-7.4-11.2-7.4-19.2c0-8.5 3-15.4 9.1-20.6s14.2-7.8 24.5-7.8c3.4 0 6.9.3 10.6.8s7.5 1.3 11.5 2.2v-7.3c0-7.6-1.6-12.9-4.7-16-3.2-3.1-8.6-4.6-16.3-4.6-3.5 0-7.1.4-10.8 1.3s-7.3 2-10.8 3.4c-1.6.7-2.8 1.1-3.5 1.3s-1.2.3-1.6.3c-1.4 0-2.1-1-2.1-3.1v-4.9c0-1.6.2-2.8.7-3.5s1.4-1.4 2.8-2.1c3.5-1.8 7.7-3.3 12.6-4.5 4.9-1.3 10.1-1.9 15.6-1.9 11.9 0 20.6 2.7 26.2 8.1 5.5 5.4 8.3 13.6 8.3 24.6v32.4zm-40.6 15.2c3.3 0 6.7-.6 10.3-1.8s6.8-3.4 9.5-6.4c1.6-1.9 2.8-4 3.4-6.4s1-5.3 1-8.7v-4.2c-2.9-.7-6-1.3-9.2-1.7s-6.3-.6-9.4-.6c-6.7 0-11.6 1.3-14.9 4s-4.9 6.5-4.9 11.5c0 4.7 1.2 8.2 3.7 10.6 2.4 2.5 5.9 3.7 10.5 3.7zm80.3 10.8c-1.8 0-3-.3-3.8-1-.8-.6-1.5-2-2.1-3.9l-23.5-77.3c-.6-2-.9-3.3-.9-4 0-1.6.8-2.5 2.4-2.5h9.8c1.9 0 3.2.3 3.9 1 .8.6 1.4 2 2 3.9l16.8 66.2 15.6-66.2c.5-2 1.1-3.3 1.9-3.9s2.2-1 4-1h8c1.9 0 3.2.3 4 1 .8.6 1.5 2 1.9 3.9l15.8 67 17.3-67c.6-2 1.3-3.3 2-3.9.8-.6 2.1-1 3.9-1h9.3c1.6 0 2.5.8 2.5 2.5 0 .5-.1 1-.2 1.6s-.3 1.4-.7 2.5l-24.1 77.3c-.6 2-1.3 3.3-2.1 3.9s-2.1 1-3.8 1h-8.6c-1.9 0-3.2-.3-4-1s-1.5-2-1.9-4l-15.5-64.5-15.4 64.4c-.5 2-1.1 3.3-1.9 4s-2.2 1-4 1zm128.5 2.7c-5.2 0-10.4-.6-15.4-1.8s-8.9-2.5-11.5-4c-1.6-.9-2.7-1.9-3.1-2.8s-.6-1.9-.6-2.8v-5.1c0-2.1.8-3.1 2.3-3.1.6 0 1.2.1 1.8.3s1.5.6 2.5 1c3.4 1.5 7.1 2.7 11 3.5 4 .8 7.9 1.2 11.9 1.2 6.3 0 11.2-1.1 14.6-3.3s5.2-5.4 5.2-9.5c0-2.8-.9-5.1-2.7-7s-5.2-3.6-10.1-5.2l-14.5-4.5c-7.3-2.3-12.7-5.7-16-10.2-3.3-4.4-5-9.3-5-14.5 0-4.2.9-7.9 2.7-11.1s4.2-6 7.2-8.2c3-2.3 6.4-4 10.4-5.2s8.2-1.7 12.6-1.7c2.2 0 4.5.1 6.7.4 2.3.3 4.4.7 6.5 1.1 2 .5 3.9 1 5.7 1.6s3.2 1.2 4.2 1.8c1.4.8 2.4 1.6 3 2.5.6.8.9 1.9.9 3.3v4.7c0 2.1-.8 3.2-2.3 3.2-.8 0-2.1-.4-3.8-1.2-5.7-2.6-12.1-3.9-19.2-3.9-5.7 0-10.2.9-13.3 2.8s-4.7 4.8-4.7 8.9c0 2.8 1 5.2 3 7.1s5.7 3.8 11 5.5l14.2 4.5c7.2 2.3 12.4 5.5 15.5 9.6s4.6 8.8 4.6 14c0 4.3-.9 8.2-2.6 11.6-1.8 3.4-4.2 6.4-7.3 8.8-3.1 2.5-6.8 4.3-11.1 5.6-4.5 1.4-9.2 2.1-14.3 2.1z" fill="#252f3e"/><g clip-rule="evenodd" fill="#f90" fill-rule="evenodd"><path d="m273.5 143.7c-32.9 24.3-80.7 37.2-121.8 37.2-57.6 0-109.5-21.3-148.7-56.7-3.1-2.8-.3-6.6 3.4-4.4 42.4 24.6 94.7 39.5 148.8 39.5 36.5 0 76.6-7.6 113.5-23.2 5.5-2.5 10.2 3.6 4.8 7.6z"/><path d="m287.2 128.1c-4.2-5.4-27.8-2.6-38.5-1.3-3.2.4-3.7-2.4-.8-4.5 18.8-13.2 49.7-9.4 53.3-5 3.6 4.5-1 35.4-18.6 50.2-2.7 2.3-5.3 1.1-4.1-1.9 4-9.9 12.9-32.2 8.7-37.5z"/></g></svg>PK΍�[�y8�

images/outlook.svgnu�[���<svg viewBox="-0.12979372698077785 0 33.25199671942124 32" xmlns="http://www.w3.org/2000/svg" width="2500" height="2397"><path d="M28.596 2H11.404A1.404 1.404 0 0 0 10 3.404V5l9.69 3L30 5V3.404A1.404 1.404 0 0 0 28.596 2z" fill="#0364b8"/><path d="M31.65 17.405A11.341 11.341 0 0 0 32 16a.666.666 0 0 0-.333-.576l-.013-.008-.004-.002L20.812 9.24a1.499 1.499 0 0 0-.145-.083 1.5 1.5 0 0 0-1.334 0 1.49 1.49 0 0 0-.145.082L8.35 15.415l-.004.002-.012.007A.666.666 0 0 0 8 16a11.344 11.344 0 0 0 .35 1.405l11.492 8.405z" fill="#0a2767"/><path d="M24 5h-7l-2.021 3L17 11l7 6h6v-6z" fill="#28a8ea"/><path d="M10 5h7v6h-7z" fill="#0078d4"/><path d="M24 5h6v6h-6z" fill="#50d9ff"/><path d="M24 17l-7-6h-7v6l7 6 10.832 1.768z" fill="#0364b8"/><path d="M10.031 5H30" fill="none"/><path d="M17 11h7v6h-7z" fill="#0078d4"/><path d="M10 17h7v6h-7z" fill="#064a8c"/><path d="M24 17h6v6h-6z" fill="#0078d4"/><path d="M20.19 25.218l-11.793-8.6.495-.87s10.745 6.12 10.909 6.212a.528.528 0 0 0 .42-.012l10.933-6.23.496.869z" fill="#0a2767" opacity=".5"/><path d="M31.667 16.577l-.014.008-.003.002-10.838 6.174a1.497 1.497 0 0 1-1.46.091l3.774 5.061 8.254 1.797v.004A1.498 1.498 0 0 0 32 28.5V16a.666.666 0 0 1-.333.577z" fill="#1490df"/><path d="M32 28.5v-.738l-9.983-5.688-1.205.687a1.497 1.497 0 0 1-1.46.091l3.774 5.061 8.254 1.797v.004A1.498 1.498 0 0 0 32 28.5z" opacity=".05"/><path d="M31.95 28.883L21.007 22.65l-.195.11a1.497 1.497 0 0 1-1.46.092l3.774 5.061 8.254 1.797v.004a1.501 1.501 0 0 0 .57-.83z" opacity=".1"/><path d="M8.35 16.59v-.01h-.01l-.03-.02A.65.65 0 0 1 8 16v12.5A1.498 1.498 0 0 0 9.5 30h21a1.503 1.503 0 0 0 .37-.05.637.637 0 0 0 .18-.06.142.142 0 0 0 .06-.02 1.048 1.048 0 0 0 .23-.13c.02-.01.03-.01.04-.03z" fill="#28a8ea"/><path d="M18 24.667V8.333A1.337 1.337 0 0 0 16.667 7H10.03V14.456l-1.68.958-.005.002-.012.007A.666.666 0 0 0 8 16v.005V16 26h8.667A1.337 1.337 0 0 0 18 24.667z" opacity=".1"/><path d="M17 25.667V9.333A1.337 1.337 0 0 0 15.667 8H10.03V14.456l-1.68.958-.005.002-.012.007A.666.666 0 0 0 8 16v.005V16 27h7.667A1.337 1.337 0 0 0 17 25.667z" opacity=".2"/><path d="M17 23.667V9.333A1.337 1.337 0 0 0 15.667 8H10.03V14.456l-1.68.958-.005.002-.012.007A.666.666 0 0 0 8 16v.005V16 25h7.667A1.337 1.337 0 0 0 17 23.667z" opacity=".2"/><path d="M16 23.667V9.333A1.337 1.337 0 0 0 14.667 8H10.03V14.456l-1.68.958-.005.002-.012.007A.666.666 0 0 0 8 16v.005V16 25h6.667A1.337 1.337 0 0 0 16 23.667z" opacity=".2"/><path d="M1.333 8h13.334A1.333 1.333 0 0 1 16 9.333v13.334A1.333 1.333 0 0 1 14.667 24H1.333A1.333 1.333 0 0 1 0 22.667V9.333A1.333 1.333 0 0 1 1.333 8z" fill="#0078d4"/><path d="M3.867 13.468a4.181 4.181 0 0 1 1.642-1.814A4.965 4.965 0 0 1 8.119 11a4.617 4.617 0 0 1 2.413.62 4.14 4.14 0 0 1 1.598 1.733 5.597 5.597 0 0 1 .56 2.55 5.901 5.901 0 0 1-.577 2.666 4.239 4.239 0 0 1-1.645 1.794A4.8 4.8 0 0 1 7.963 21a4.729 4.729 0 0 1-2.468-.627 4.204 4.204 0 0 1-1.618-1.736 5.459 5.459 0 0 1-.567-2.519 6.055 6.055 0 0 1 .557-2.65zm1.75 4.258a2.716 2.716 0 0 0 .923 1.194 2.411 2.411 0 0 0 1.443.435 2.533 2.533 0 0 0 1.541-.449 2.603 2.603 0 0 0 .897-1.197 4.626 4.626 0 0 0 .286-1.665 5.063 5.063 0 0 0-.27-1.686 2.669 2.669 0 0 0-.866-1.24 2.387 2.387 0 0 0-1.527-.473 2.493 2.493 0 0 0-1.477.439 2.741 2.741 0 0 0-.944 1.203 4.776 4.776 0 0 0-.007 3.44z" fill="#fff"/><path d="M0 0h32v32H0z" fill="none"/></svg>PK΍�[�MT�5�5images/gosmtp-text.pngnu�[����PNG


IHDR���UI~sRGB��,	pHYs���+53IDATx��	x�����u�z�
媈�p�EYի"
*�*n���\E�*� *{i)
�N�U
��6m�4�ӴI�t_�_L%��9g&g2)���y�s�3���9�y߿�� � � � B������ � �j�O8�^01����p�}!� ���wAlkϛ��Aѝ��OAqV�0���m���N��7� �8+�}�Gl��.AA��9����}%� �f�w͖)�>����AѬh�f�Dt���;AA4LΪ��
���6�_�{A�,�]��3Í��w� �hV(]Z�%� ����̖ � �c.�-AA�D�}�b;Ko�� �Dwd#����OAqV2��}HAD؝U���>A�AM����� � �Z���.-��vG�Ξ�'� � �:Pl�#���x����\V�w�sz�EA�����"��m��b�`=;U��A�, �Oz�yNYn�C��U_��@�=-��$�A�9lW�rϔ>�S�b9��� '[א�OH��i�uUmY7H�X� "$a��SlO�n�����WML��1���b\A2x���Dl�ʍ���[��n�eZ�� � t�)��E��S`�GIە+b?d��/@l/�j|A!����0X�@@;��:�b�`�/;�;w+�CNtAl�u�����MAA�:!���Ow�{�[�JD���F�l��ӢkS!���4�k��� � ��mOG��U
"�{�GtA0���W,��E7��ȾM������[3�-A�,�� ���g� �	r�b{שW�jŶ��^���ޤ���y��_�S@bKA4�b["�6
�{������w=���=Q�
�A.h��R��K�|� Bk�������!/'ˈn[���ֆm{�AX3[���Bl�]E�A!�-%O��6l���L?b�h�I��婮���%���8j����jc-�iYR]w����ָ��;�a�%ٛ���"#��)�?Ėf�A�~8*j���r�	I5�bj�������U�Ǥg��]vCۧĶg��b�@t�k�Q�����;�A��{�2Պmc�z�y�L�v ��*�m�z��ao����Z%�v�`+|�]��+AA�Iay�5 �Qb��± ��+��"���~Y �W��)ѝ3�i ՜��wA�`W� ������k�c�%�^�b�wܪ�ۆ��,r�AXo����\��ּ�c~R��7�n������LA(���2�[�W�_6�rAt�8@��bv�kY��nX��;�����:k3���;�A�9O^IͿ��6fk!�
6�}XC�r���"� �<bۀ�Up
����_����-����9�A�ki�u�gsԈ��SS<��6��OvYgݒ���썽Wd�?�(��a�)疨���
��c����@���f*[%����R���rP��
����S[E�Mq��[���Y�b�~�O ��辧Dt�_�c���,����X�D���yJ��V_�j۩u�Uc6��A�Cx�6�%0󓊇~�3?Z���.ך.�ma�5������YY{٭Qi�<3��Y��y����3"�W�YO�Kq�;������`��g*j�N���.ClmZ�mW�� ����Iɞ�����1�ml$�Ag7�k�K��
��`�R�+���R�_�+b?�[Ee�E3d	�Al��f�Z5f�.A�Y��<3[ۗ|��h�P곙��֢�k,���l�0�m��^y���^01	�%�7��;�����5]]J�U��=����ηFlϏ|fe���2�g2�<3��*�P}��47�f��c͇_Z����]�IsO:_��~rd�QZ]w�Fs�S_�-7pm���'���*,�/�bZ����4g�棯��^>.���Y�W)�K ē宾��ܲ�`=���u�֭�umd]8��w�ة6�w�������=|��6:{����c�᳝��=t����{e�|б�z�_�>��|���1I�7�>�\Ty�H?AtG�ۗz���@t�B�E�Az��{ޙ-�؞�M����ګ#�9�=�̲��Ɋ#�}��0�繸�-��;���� ��K:��=���{ ��SR</��^�!���|�u�1��,0X���T�?s~�.{L�����u�=5�$�`ǽ��3���6�����2�6�6�@���eݵ� �����?�m���\ҫ����Φ Pl�cd�F^�R����Ls� �x�yH���k���6+C��y ���O*V"�8�ݧ�&�1;<u��%��N=�Y��U�o�8���ңZ��8M9��_��n�}.�6�,Ou
���&���2s��~��E����Ɯ<m���-�,���W��1 �۷LIƇƕ[-%=?�*���^�vf����'���#��?�O(��7��	�\l��UyJ
��W�\�n��{�9q��T��Y�B��b��#̚�e��o�7��b�xнST�ZRU[~��T�[&}
w-O{ ���)����3=�׺,4�mz"�3��;�مV��ɵ��ӥ��������fYnw���:k�&<�Ï�xV+�R��H?�u{�Xs��?��qY2���P� p�꣝����iiW��q]X�� �y��97VDZ3�c�x@p������c ��<c���x���)w�6v�9�-3@
�YV[�l�H}?6���C���/>Q��������2��������7�@�K\�e��,��Q�;W������z�Ë&%��$9_t<3\4|5��"����=�}E�]���L��W�������������2�lAl��grV��jc�1�p��Oe���ZS� �����s�
��n=��V����jZ¬6E��?�&{M�54C�ؐ�T�q�`�#S�0�o�jg�NL�[����x
>���c���%}xǢ@p#�NY���4k�����κ���.>��~�_Z�J��I	E_���د<у-W���b�|�Q��>����[-���\�,��
~TN5?F��vYhN�9w�/����%����3�����[0#���[�~x��B��|��h�{��7T��e
_���㨨mѸ-�zu0���ӏ^�q@��2���v������V�2Iu�y��+����vpޞ�Zo�������^��>��=��X�������i���
��s޶�x�������<<ca	n��ƢY�����6�}|M����!Q��M<T���ؖ���(�J~�w�5�K��.
���b���!��5�NJ���>�xa��3��Sb=��+� �@l�d3Y��DW��h��+Xl��h9��������Z��ּ蝙��*�Ӗ
O�}�y��5b��r���d��o�W���zŴ���G�U���Da�]O.���=��G�H%��6�c��~������r���%G�|ٞY��ޯ����^
O�3�y���)w^x�9���^%b|
b�\S��}��F�F� �_�P��=8DW��]��{�m%Wa��p�ً.����^�.T	ۣ����P���}Ţ���+�����-���JD�g;p��cO�՘, ́�q�1��I�<�o�q��5y��{W��Ș��͍9KBXp�07(���k�n}}..k#�X��~�ݢZ�l}�׎���5oA@�3����؞]���z��Z���5<�[��w�������k�}���@d���P
��Dr`���s<?2|�y��VZp�[��T�M�[��8n��—�����Yk�wF�2l��0����uL�j��)\�=��LpyMi�� nCp������E���}�:p�d�Βb{��3���4�0�r�Ү~g��E��d��c�.���@|���#�3�Z���ޜ��~E����ዻ��0�a�F�̲G�~J)�W��&{=�h���(�}j�|�(̂x���s��G<�nwVi�m��'�YD�/P��G�����r���Cp��ɋCpOj��-�sX�$.��↽b˜�n�~���6��k���Y;m�\b{Zt�=e�k$��-�|�v	�� ���؞h8&
�H�,�ݜ�)j3��w�;�g�ތ֘����U�I��C�����Z��2�����J�U#�h�l�i0LŔ��]t�tC�
��J|!�S9�/jn�W
�7.k��FqN�Y'f�O�Dǘ�\���yXD����~�-�
��Q9ѭ���Dw�����w� �=��xEW����ij���o�蟇ѻ�SynF7�L����\\u�R�k��0c��og�X�I��rZG�����Z��9F�C��O-������'�oÍ��`��[�Xi8���E߿e�=�:o��3e(mW�ྱ!g��TJx"��?�7(��\d⡢�r��w|A٩���R"f�
�;w}t�5]��$��*5���詮�<�^���۵8�
�W)��Rt1kʭQ��?��ٯ�_������.kP|��;���q�� ��m͛�C㵰}�e�X7-���L�����pb���NYD��}��Ǫ�v2\�k?���@�+��Qk��qW_�:/X%����m���`�-O�����"���XO��,�[���Y��W3��z�^�Md���
;��bW�
�P�����r��2י�1%�:W�*�dz�&Uj��7/L.~�@��y��"C�+D�����=�Y��y���`{�N�^��MU����o֩Z��ܓ��[�='�}�1O·)	E�d���
<�l�d���M�6}���V.�/���m%F3��C
o���~7?�p������'�U���_����i�cT�fM�E����Q�"�ɼ���[�;�|G�ώ1��"�,���o�r���T����z?,��ŌW�A�Rn.�{Bk��^'�È�%��b{KTZ��=�m~4~��
�+՗R����!�5A�3��)���gV��ˢ�*�g�2��K<>8#�����~ϓ0B����s�c�1���D�LX��ܘ�Un�:�S=��Hp9�_]���!���+Ƕ�sFp�ߚ-�à�;l2]�m@l��jB�y�-o��>q�%"c�?@to�5���" z�+z�֪�����7��X��[j�'z�"0:��~��6�����=򨭢C�}�,�o\�`	mc�w��$"Q�j�[�5>��²�X���ނi�fK��c��'�u�E#:Ƥ�gu|B�+9?���=�oT������K(�����"r���\�+�?b[l�E�3�$�7�@g���������P#�;�O׵$!�3R���me�-��V?��u��2���>��z!�>���Mr��c��o��e�`�B�+��
��~�#_��<ܝy^��U���:�[���_��w��K˾��k�bf�I�>�cKWT��,!��'�@e�{`~��h�����1P"�ׅ*�ܘ�n�#�A����׹��.��.�qW����o�rV\;�P��m��U���$"��_�7��y��Cp'��z,�8)��A���c�e�f��������HpτCp�k��2���M������U���}ר0��֎#S��'�G~��hE5������6��{�3��g�@'���J��
�b��z��@��ԝ�UH��y'���Gs������N��-�|_�*y%�}`�*|��A_�R׵�,����&%���-뤶�`�!���s+�\��}f�]��/��_�R%����o�s ���I(nwƵ��>ۏ~���4��s�$��K)I������B�'q��
"�m��?g�3�T��r��"���T����qV�jRx�9�3#�~F�n��tE���a����'�Y���y1���;\�S0`%�h\|j7�(��1pmvP��L<T�Xg�Q��5G����͗��Ǘ��^:�a�ݶg]h��G�o7~����=�|g������g����;�,�lgqU����t�S�o�G
B#�/M����At�Q�#�T�b���)W�:��d��Os䨭�#��B�(㈽��JQ��N�ǖZ���FsW���i�U���âƦ���L;l�T�s���`u$�F�V�]!ö��b�*Qʺ
.h�@�u��N}x_�|i�@��0C�M3�J�6�a=�'�Y�cF�����'�OvY��T{,<�}y�1tar�5&w���?I�����SZP��+�咑��E�ϙ�Wl����;�$�Ul��¯D�՜�����SX���+2wiQ�3-
X����Ua)uj{���o™�v�Ĥ:�HQ���W2�+��>�ծ��[���p-}]bp�*�7.�U77|�}�3�[p;�3���IO���0c|@+��ʰ&�3R���6�`2�&>
7���d��ܢ��>�m���¯7�K���S��{^�����;c�D�%m{E7U���'m�nK�����x�}Վ^����1�"̞e_㡁Jo��!���N%��0���M�����{F���d�q_9-�V�`�.͒�}����j.��Y�rD�}�:�p��t�-&.��(W1��j0��Y^S�V�1�ڪ�=1CS��rf%��5Cipc� �Z�^R_p}�u,1��>���FNd���V�}���\s�t��$�Uep!oɼ��ffZn��-F��g�Cp��~�
�=l�M�Z�	̲oAL�-ܦp�&��[-%O��F�oxX�(��;�T�挒>z�����h-��2�5 �Ǚ3�-��x<��ߠ����;��`�I��Pg�I>1ڸ�¯�����7Y���m��n�?<9���pC���9+c���\�V�g���"���Y+����B�<�VeIf��4?��P���JjG��
-@���F]:9�l��>�~Yjp���(jm���At��M�ۅ�"���ߐ;~��1ZE��3���������������M�&��%��j�U�	���t��4W ����k+�t�#���
E����!��'��B6plqJ�"}LwV�v�����ů7�	nS8WH���X�R<~��e�2[��V�	���l�>�����L7Տ�Ɔ��"��e��=���*�?�Q��
��6�����ZLM�}m46>��d�2kl�f����"R���X���"�}�i]�Cp����cK-�U�D���o�ο�:2��#J9�����>� ݐ樺���Z��
��'���`m��T�7�i
�?�<�5`�ނ_�����R&���]6%�
~���9'��'�U��� �x$|��	�����w[��;���%o��rV��:k{�������=�h�12��0���Zۼ��!A8�M8%��#O��kd_~9X8F��(Ad �u�=��[`	�Z��9�v0��VV�h]|;�*"U���nk�Y�R��v�T��.F�OI(�d�K �����˺t��r��#(H���1���g���1���+���A�<4�
��V2E{��'�VA��|3 �=Hx�a�����r�:c��5&��8m�u�����~�/��
`���[r�M:�ߪ��O.���k>�	��X�
3R+X	�#��5	5�SYr9�n���P[�����+2������/��~��*[5��B��Yl����29�p����0��䄢/�k�}0��'��S�.��\��ڦ�ýG�p�� �Gb�{��{��Sn\�hy���K&'׃~�W<N�M�r�Rp_nay�uR���]��*;#R:�O8T�U�n��N�/ܾr>>�<S6�ܸyL��,U>��t�&�>p-���
��m�y.��n(�������;Q� j����o4`��6�06�F�"1#��I�Z�Fȍ�-@���tONYw��}��	��ALm%�DEM�ER�~����kn����ʝk\�_��p���u��&�ދ"���۸r���k����CE��ܲg�"���-�s�Z������
�R�U�Ϲ��$��D�E�X�Bn\ �k�M	$��.xoK�,!K#���:�k�*3]|���3[���͒u�*�{�޾��
�i7�X(���g��À)�OV*��$%V�A*8�`��VK�c�vY��+���e�Vem
d��N����{$SCzs�Na�1&�(3n�*��Cq�W63��.��N7��ۈ���6B�����k쩙nH���Z�[����O����F��xg~\�����Z�U�܋�����~�8��`?��X����O
����o�]����*�+S���u�H��2����\��̵sc�#�3X��ٻ�s��;P��#��$�_���0�Uί=�4���F�_j8�1E1ܻ�6�K��r��
j>�L��B�Q��7 �udj�?�^ߐ�B�5�e�_#�5�TN����z�#f�a�c�����~�}�)`��7V��:�{`
�:
�!(ᾘt� �y'�o��_��)��[��
���fwS����j��M�qR߿aF�[�
��|h;�CpW+�I-�Ep��J�c��Q��k_����`����x��Ӱ#��Q��.Ku=A�,�u}�'G����0�J�;���'(�P)���>U?u��=D�Ͻ�7F����W0"����^��G^>��:Cn,W���(_���Z�X��(#I�G�[�������'�CZE���n���
U��Zɇ")D����{ϗ�y[�O)��;��[�R<��	nS8_$�M�I�qLz�����t��G��H�l�]��|���?r<�X>9��WNI�e�x���1��)��_��1Xc��k�� �#����GU�^��w�r��)D.����Rmt�g�R�ӻ�sK��ffZ>�r
G�	nS�M	��yL���=�@��.��ԌE�+��
�YR�I�-S5�9�<�}�_�\�"����arm`.�w�E~]%`�K9�b�Ŧ#	n�yqu��1n�Z�4j�#����o��U#�Y�\��/��i�CpW�#�f$�Bs)�<93��t��~B�,2,�Y��ϟ?�f���w;n��C��j�	F���{&K�r
j���c�W�Cz�B��7��k����+�
���1����~N4LϨ�,0�,�5dg�n�(i�Cp���Ո~zE�o<m|�m�TWLK��Or��%�=�Dօ3�c��,�~��N>ټ?��V�ϭQin����ƚO>��r�UY���Y�Y�0�\8?�?P�M�����!��nj�I��@��Aj�㮾��������K~�/�F����ګ�ylX�
���o�ނ�z��b�.��[�m�V��_ �Ű�k�w֘���Y���?�����ʖ�C��M�Z�H���|�T;�&�TTy��q{�[*�������	�c���\ӽ�.��&��͹+�
�^&|�^]�-Y�
˯���R�U�3�g~��erUUi7ۘ/�NL��5��#���Nr����ԧ_
&.��~�Φ�%J�)�����d|�����cɷ���B�=�Cp�x�
\��߷,ay`~z�T~P�|�#?Fo!�5='H�S9�c��~J�8��u�������e�&�hg~���߲���!��M)XhAn,��e�V�GД��s?�(����jZJ}��hS��w_Z��h�l3\z��?s��1���j��S��B�k�����-�����Tg(Ξ0��h��!D�{�0BV����,IV���D�� ��t�C�Gg(
x-����r�+�H$�ؐ^"[mj_nYW%~pM��6��-HN�M��2̸��-����.J�`\�h#���6��"�|�P4��rE�"��@hW�MZ������LHh�yڂ1>�0�x0�X��k��
{DC�UF�2��*�E+Zp����͕j�pC��e��e��v�U^i��)�{2~��L7�\�,Ž�?�[HyM.�����e�/1`gONY7�}m�=^&���3�:�g�s�tC�\��w['k9.`�}ֹ�/������qY�{������{���O.�R��Or��4GU{� 5�3p��*:������ܦp�`�� ��Q�
���F���x�p�������S�>Ǽ�Xnl�9oo�]2pm��gVf�ԁ���L��i���
����!��,a3@k���tU���WF8_~�����+m��u�k��A.f��ʺˡO�j6h=e$�'�������n_(+���+K蠅�"��en�j�9�Lߥ��7�H��%*ͦf7	nS8W���A�StS��e���R}�/PDpӻfT��So�Ă����؜Q���4W��IŃ0�a¡�q ֲ��gw�TŠ�쇹Ū�<�A�t�ö��c�����T5�P�ZJ�f�=j�u�����KX��o�
�~=X�|+�[��_�3Xٛ7�����@p�i!���J�kw]�����R��CE���CpW�iW
$�!���3�d-���7ȝ����K�8������TV�aͦ�bv��
S4�w[����trr-<uP���\�MJ�?RPq��q�c��,k��f��̞��ʻ���cn�5j��s�G+-��!�?����t�t��-�$`���J��ǔ�j9��Ip�U�E~�/��u1c�e�+E�)w���;ӏ�G��
?أ��%P`��&k,h��2�:���/�o����Xߦ�H_�S�_a�qKTZ~ay�բ��|`�bZ��5ڬ�!Jڅ���
�cvD���#��E�{Ì�r�e'\*�k{oNٓr����b��,
ПS��{�3������(��>h]c�)e5uk�(�&��E��sJJ�������Ssv�5��o\֖@�����9;���B�a-�=�Vt�WDj!����'լ
~�#_63�Ua)5i��~�-�v�$���nj���Rp�妙i�KE��
ER��H����)	nL�ś�TQ��������`و�>_\���G��z,�8�'���~`���
��|j
�57��_�Da�ݬW�hwE����V}"K
��<��)����ӑ^�>���Ҭ�� b\Gm����qL9�����!��'���׼ׂ�
X�P��f&���i��R�"X�+WH}rBѧ���V�J4,�GA�>CғJn0�.�8���~^M�n_�U�O�߶�L��}�\S�]p|�F�`0ӯ��P�	Ά�eqU��*k#�x��Q��
f����fwŁ>L�$9ߺrZ�d���7+j��Zp�n15�^���zy �rM��6ܳw.�}�^�U����T�?�}/r<
�<ָ�6�E@������emSz���L�k�sVb2����v�מ ���+�<%�ht�e��<3�F�ڂ�rE�g� �̒r
�ffZ!F���
q�n ���.{%�U��
ٜ;?б���r�G��ޔ�g�J�؜Qһ�r��>��6b�5c��
�Lj���x_�"�Ec8wy�}�Ҍ���4��L7��v?�-~�F�	'3��<�XSt�z��0b[^�R�5�
z�cn����'�Y��څ�M�$�T��il�Wdn�r�>t<�����'L�c=�mN�1Lj�4��Ƶ�\�kQJ�+� 8����Mׅ�#��U���ZTc�?&=m�ּ�y'���d��<�_��`6�	�TD�}��rV��S�6�U2<p��§e�r�⪶2�5���T�K��I��\٭Zge.e��D/"�RŞ��
O�8����lo�ct�eFK�F:��)�j�Q��:Y��+��+j���z�f�+*�TƢ�J\�1�Z�_q	)�!�ȋ����	I��]r�2��c[������$�^x^/�,ȬFta�P㯽7>��}�2�D�;XZ��f�'���lc�VKI�`��f����{~�jlX�Z��ע
k1��o��Kp��u��䄢�D�G��\p�n�Rѽ5��><��E�}��o���2C	��n)_�V������	�gy��n���-����[i��.��P�dž���D"
�lE���*��?�ƚO����E�J`f��rs�s{
�1<k� ^�^/�;ϔ寝^�-�˳f{�\��\��j�ϏH�(��#ҰTڈmy�Y���7��}Vf���
�p]s�.��`���
��t�̴-���q"_�Sp�Rɢ�9S��X
Vpf�g��!"���{���e!Zt1���6�ǚz��[-�!�:�f�����Y�/�XKWkpl3��g�~W�=N`���Wem:_�q����z����y��G�=����bZ�g�-�r��UT_�2���70�P�ZT_ �3w���X����������)�F��̒���r��\�6˿�c�-��6�u��x{Sn,�#�T�f�V=�<s���_�&����������|��f�^�R<0Ԓ��CE��v['uYhNTM~u���Қ�5����� �?Kp��	E~S���6{��~@pG17�3\��X�
JLng���/x5��*k��ﶝ��V���`�ջjN���W��*�Ks=7ݷ�F������`Ҹ��o��#$�
k�"����S=��,}d⡢���)w)��?��r��B���^��K~����|�ϝ�$�&�@uq���â��c�L|ڰ�ysa��a�:�{
&�z��5&wox`�EM�&� 4DwL������5L[���[�y&��A�N�5Jm��`k��*2����۷x�6�^�A7<��o�e��'���FK}����m�EGHl	� �f��6��~��!�yw;?+����k7z� �"?�~�����i��Ӣ;�P�d�����-%K�7X�=�Բ�9ճ%� .~9Ȯ?y�����2��#��U������^c���2��� � �Lx�]vӷ��rvAY͵���U�M����j����߃=n� �:���3\��ޜ���b������>B� �\��ػ�m�(yķ�%��ȻD�A#� ��g�q�p����z���پ�3��s�A�+󓊇��I�/�af�:볽�[v�<L� �П�$�P��q�1D��϶����z�� � B��U||��&#�3O��ܡ��� "��	|�'�Y�Q�AAH�;(P�}dq�[� �`���&R�F� ��D��v�5'��A�B��.�-��#� �,5�^e�m���&[� ��Y��|���ئW�]���AqV0盧IF�>+3w9+k[��AA�U����HAE����iVKAAq��&Q0w��EVIEND�B`�PK΍�[{hU
U
images/sparkpost.svgnu�[���<svg width="2500" height="654" viewBox="0 0 512 134" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"><path d="M.643 118.995l7.976-9.648c5.532 4.63 11.32 7.461 18.396 7.461 5.532 0 8.876-2.187 8.876-5.789v-.129c0-3.473-2.058-5.145-12.478-7.847-12.221-3.216-20.326-6.69-20.326-18.91v-.129c0-11.192 9.005-18.653 21.612-18.653 9.006 0 16.595 2.83 22.899 7.847l-7.075 10.163c-5.403-3.73-10.806-6.046-16.08-6.046-5.147 0-7.977 2.444-7.977 5.403v.128c0 4.117 2.702 5.403 13.25 8.105 12.479 3.216 19.554 7.718 19.554 18.524v.129c0 12.221-9.39 19.168-22.64 19.168-9.135 0-18.525-3.216-25.987-9.777zm57.118-52.744h25.214c14.665 0 23.67 8.748 23.67 21.355v.129c0 14.28-11.063 21.74-24.957 21.74H71.397V128H57.761V66.251zm24.313 31.132c6.818 0 10.806-4.117 10.806-9.391v-.129c0-6.046-4.245-9.39-11.063-9.39H71.268v18.91h10.806zm43.74-31.518h12.477L164.792 128h-14.15l-5.661-13.893h-26.115L113.206 128H99.441l26.372-62.135zm14.278 36.278l-8.233-20.069-8.233 20.069h16.466zm31.132-35.892h28.173c7.847 0 13.893 2.187 18.01 6.304 3.473 3.473 5.274 8.233 5.274 14.15v.13c0 9.905-5.403 16.208-13.25 19.167L224.482 128H208.66l-13.25-19.682h-10.677V128h-13.637V66.251h.13zm27.272 29.974c6.561 0 10.42-3.473 10.42-8.748v-.128c0-5.79-4.116-8.877-10.677-8.877h-13.507v17.753h13.764zm96.354-29.974h22.384c13.636 0 22.899 6.947 22.899 18.91v.13c0 12.992-11.192 19.682-24.057 19.682h-16.595V128h-4.63V66.251zm21.484 34.477c11.449 0 19.168-6.047 19.168-15.18v-.129c0-9.777-7.59-14.923-18.654-14.923h-17.495v30.232h16.98zm97.254 18.267l2.959-3.473c6.818 6.303 12.993 9.133 22.126 9.133 9.263 0 15.566-5.145 15.566-12.22v-.13c0-6.56-3.473-10.29-17.495-13.121-14.794-2.959-20.84-7.976-20.84-17.367v-.129c0-9.133 8.361-16.209 19.81-16.209 9.006 0 14.923 2.445 21.098 7.462l-2.959 3.602c-5.789-5.017-11.578-6.947-18.396-6.947-9.133 0-15.051 5.146-15.051 11.578v.129c0 6.56 3.345 10.548 18.01 13.507 14.28 2.959 20.326 7.976 20.326 16.981v.129c0 9.905-8.49 16.852-20.455 16.852-9.776 0-17.366-3.216-24.7-9.777zm71.654-48.499H463.76v-4.245h47.598v4.245h-21.484V128h-4.63V70.496zM245.58 92.237l21.355-25.986h16.595l-25.086 29.33L285.331 128h-17.496l-22.255-27.658v27.53h-13.508v-61.75h13.508v26.115z" fill="#55555A"/><path d="M399.437 52.23c-6.818 5.145-8.233 14.279-8.362 20.453-10.806-12.607 20.069-49.527-15.05-72.297 21.74 28.173-31.004 55.96-31.004 97.511 0 16.338 10.163 30.618 32.547 35.635 21.87-4.631 32.804-19.297 32.804-35.635-.129-24.313-15.309-32.418-10.935-45.668zm-21.87 67.923c-11.963 0-21.611-9.648-21.611-21.612 0-11.964 9.648-21.612 21.612-21.612 11.964 0 21.612 9.648 21.612 21.612 0 11.964-9.777 21.612-21.612 21.612z" fill="#FA6423"/></svg>PK΍�[i���images/smtpcom.svgnu�[���<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 403.5 76.8"><g data-name="Layer 2"><g data-name="Layer 1"><path d="M0 0h105.7v76.6a16.4 16.4 0 01-1.9.2H0zm102.6 73.7V4.6l-96 69a11.2 11.2 0 001.2.2H43a5.2 5.2 0 002.7-1l12.5-9 18.5-13.3 1.8 2.5-28.7 20.7zM3.2 4.5v67.8l47.4-34zm4.3-1.3a6 6 0 00.7.8L52 35.2c1.4 1 2.2.4 3.2-.3L96.8 4.6c.5-.3.9-.8 1.6-1.4zm198.3 22.6v49.8h-15V1.8l2.6-.1h14a3.6 3.6 0 014 2.3c5.6 12.1 11.4 24.2 17.2 36.2L230 43l1.6-3 17.6-36a3.3 3.3 0 013.5-2.3h16.9v74h-15V26.1l-.7-.2-1.2 2.1c-5.5 10.3-11 20.6-16.3 31a3.1 3.1 0 01-3.4 2c-2.6-.3-5.8.7-7.8-.5s-2.7-4.4-4-6.7l-13.7-26c-.3-.8-.8-1.5-1.2-2.2zm155.8 49.9h-15.3V1.9a6.7 6.7 0 011.3-.2c10.7 0 21.4 0 32.2.3a28 28 0 018.2 1.7 22.2 22.2 0 0115.4 23.9c-.7 10-8 18-18.7 20.3a55.8 55.8 0 01-9.4 1c-4.5.2-9 0-13.7 0zm0-38.2h13.6a22.9 22.9 0 004.2-.4c5.1-1 8.4-5 8.8-10.6.4-5.8-2.4-11-7.4-12.4-6.3-1.8-12.7-.6-19.1-.8zm-186.5-32l-3.8 12.8-4.8-2.2A37.4 37.4 0 00147 13c-5.5.6-8.8 4-8.6 8.8a7.5 7.5 0 004.6 6.6c4 1.9 8.1 3.2 12.2 4.9 5 2 10.1 3.7 14.7 6.5a18.9 18.9 0 018.5 21.7 17.8 17.8 0 01-8.5 10.8 30.8 30.8 0 01-13.9 4.4c-11.8.9-23.2-.7-34-5.8l-1-.6 3-12.9a42.7 42.7 0 0018.8 6.8 77.6 77.6 0 0012.6.2c3.6-.2 6.9-1.7 8-5.6s-.3-7.6-4.3-10c-3-1.7-6.5-2.8-9.8-4.1-5.2-2.2-10.7-4-15.7-6.7s-9-6.9-10-12.8c-1.5-8 1.2-14.3 7.8-19a30.5 30.5 0 0116-5.3 59.3 59.3 0 0127.8 4.8zm125.3 7.8h-21.5V2.8c0-.4 1.3-1 2-1 4-.2 7.9-.1 11.8-.1h44.5v11.5h-21.5v62.4h-15.3z"/><path d="M7.5 3.2h90.9l-1.6 1.4-41.6 30.3c-1 .7-1.9 1.3-3.2.3L8.2 4a6 6 0 01-.7-.8z" fill="#21b193"/><path d="M361.7 37.5V13.2c6.4.3 12.8-1 19.1.9 5 1.4 7.8 6.6 7.4 12.4-.4 5.5-3.7 9.5-8.8 10.6a22.9 22.9 0 01-4.2.4h-13.5z" fill="#fff"/></g></g></svg>PK΍�[��{��images/gmail.svgnu�[���<svg height="2500" width="2500" xmlns="http://www.w3.org/2000/svg" viewBox="0 49.4 512 399.4200000000001"><g fill="none" fill-rule="evenodd"><g fill-rule="nonzero"><path d="M34.91 448.818h81.454V251L0 163.727V413.91c0 19.287 15.622 34.91 34.91 34.91z" fill="#4285f4"/><path d="M395.636 448.818h81.455c19.287 0 34.909-15.622 34.909-34.909V163.727L395.636 251z" fill="#34a853"/><path d="M395.636 99.727V251L512 163.727v-46.545c0-43.142-49.25-67.782-83.782-41.891z" fill="#fbbc04"/></g><path d="M116.364 251V99.727L256 204.455 395.636 99.727V251L256 355.727z" fill="#ea4335"/><path d="M0 117.182v46.545L116.364 251V99.727L83.782 75.291C49.25 49.4 0 74.04 0 117.18z" fill="#c5221f" fill-rule="nonzero"/></g></svg>PK΍�[+�L�images/facebook.pngnu�[����PNG


IHDR  szz��IDATx�ŗ{PU�#��C�i
�f�xXd�ь��#A�"zrQ@������d�cT��$��7Tr/��R�DtL�a 5+v;�g��=��޻՝���g�����{�����<I�>4-84	@�": �7ģ��t%�;����y��q���G~�1`=i]3L������t�!IG-F	�:z��D���a	 ��M����J�믝��y
��*9��&���4`�Wf�\�R
�3�΂�~�d��zۏ�f���������!��;y�i���T6\�#-W��
 g�|����
�Ղ,q%"��Bf�c��e�U��6��p~	��t9H�r�D@�:��,�>�
%���^�I�ֲ�.J.�qT�c_&c�׋�jxR���.�	�ԗ�D�q�F�H�5w]���k�
�;�U
XU��=g�g�.0���^�8�G��3�a{�Y���B�_�����.0��9�O�ss����^��_e��s�
׸{xm�i���I��a
��oσ�qՕaӞT���S`���)�@�
����a�.hޛ�R>�B�"�CL���mYaD0��|�d���?���;�l���4�^r�{����c��:�.43��񂲢�̖�L�Z�Ƈ6�>�X9�4p'+20@��2�.O���C�ʣ�eW��*�7%�u_&Hz��m
D��-q��FoCJA�.�:�B��X^�؅#�~��;dz�����AD��X����7o�e�^�9��`�W7��\V-����0���AJ��@]ˀk�g�	׶�]�l}�R��}�W?M�膺�瘭,.�8�*��K�45����" 6�a�������
+p��1���F}
��q(H������j���c��^�����b�hf�k`6�GC\�`)k�ڦLa���v�uT�1@������ 2�A|�L���SP�x���>R��p�չ !�Fx(č�@|�,`Oi�Ʌ�16�2@��`���q(|�Y
`�n�Ӆ^��W���\סu`�:9�|
3c��y���Ps�ϳ8y��<��>��^ɮE��U�	�)~>d�6����3B��&;m��@>X�u��Y���慆d�zj�����O�ӉC���p����hq����~G�1���Z�n��І��m:�@�����[c���Y6.���*��Ͽ@��j�OIEND�B`�PKЍ�[���images/sendinblue.svgnu�[���<svg version="1.1" id="Layer_1" xmlns:x="ns_extend;" xmlns:i="ns_ai;" xmlns:graph="ns_graphs;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 225.6 95" style="enable-background:new 0 0 225.6 95;" xml:space="preserve">
 <style type="text/css">
  .st0{fill:#0B996E;}
	.st1{fill-rule:evenodd;clip-rule:evenodd;}
 </style>
 <metadata>
  <sfw xmlns="ns_sfw;">
   <slices>
   </slices>
   <sliceSourceBounds bottomLeftOrigin="true" height="95" width="225.6" x="19.5" y="-219">
   </sliceSourceBounds>
  </sfw>
 </metadata>
 <g>
  <path class="st0" d="M185,41.3c0-10.1,6.4-17.2,15.5-17.2c9.1,0,15.6,7.1,15.6,17.2s-6.5,16.8-15.6,16.8
		C191.4,58.1,185,51.1,185,41.3z M175.6,41.3c0,14.9,10.4,25.4,25,25.4s25.1-10.5,25.1-25.4s-10.4-25.8-25.1-25.8
		C185.8,15.5,175.6,26.2,175.6,41.3z M127.1,16.1l19.6,50h9.2l19.6-50h-9.9l-14.2,38.6h-0.2L137,16.1H127.1z M89.1,39.5
		c0.6-9.2,6.7-15.4,15-15.4c7.2,0,12.6,4.6,13.4,11.5h-16.6c-5.9,0-9.1,0.7-11.5,3.9L89.1,39.5L89.1,39.5z M79.6,41
		c0,14.9,10.5,25.7,25,25.7c9.8,0,18.4-5,22.1-12.9l-8-4c-2.8,5.2-8.2,8.3-14.1,8.3c-7.1,0-13.5-5.4-13.5-10.6
		c0-2.7,1.8-3.9,4.4-3.9h31.7v-2.7c0-15-9.6-25.4-23.4-25.4S79.6,26.2,79.6,41 M52.4,66.1h9V35.4c0-6.6,4.1-11.3,9.8-11.3
		c2.4,0,4.9,0.8,6.1,1.9c0.9-2.4,2.3-4.8,4.4-7.2c-2.4-2-6.5-3.3-10.5-3.3c-11,0-18.8,8.2-18.8,19.9V66.1L52.4,66.1z M9,33V8.6h14.8
		c5,0,8.3,2.9,8.3,7.3c0,5-4.3,8.8-13.1,11.7c-6,1.9-8.7,3.5-9.7,5.4L9,33z M9,57.5V47.3c0-4.5,3.8-8.9,9.1-10.6
		c4.7-1.6,8.6-3.2,11.9-4.9c4.4,2.6,7.1,7.1,7.1,11.8c0,8-7.6,13.9-17.9,13.9H9z M0,66.1h20c15.2,0,26.6-9.5,26.6-22.1
		c0-6.9-3.5-13.1-9.7-17.1c3.2-3.2,4.7-6.9,4.7-11.4C41.5,6.2,34.9,0,24.8,0H0V66.1z">
  </path>
  <path d="M0,91.2h1.6v-6h6.8v-1.5H1.6V79h7.6v-1.5H0V91.2z">
  </path>
  <path d="M15.6,91.5c2.8,0,5.3-2.1,5.3-5.4c0-3.3-2.5-5.3-5.3-5.3c-2.8,0-5.3,2.1-5.3,5.3C10.3,89.4,12.9,91.5,15.6,91.5z M12,86.1
		c0-2.4,1.5-3.9,3.7-3.9c2.2,0,3.7,1.5,3.7,3.9c0,2.5-1.5,4-3.7,4C13.5,90.1,12,88.6,12,86.1z">
  </path>
  <path d="M23.3,91.2h1.6v-3.6c0-1.9,0.3-3.3,1.2-4.2c0.7-0.7,1.7-1,3.1-1.1v-1.4c-2.5,0-3.8,1.1-4.2,3.3h-0.1l-0.1-3.1h-1.5V91.2z">
  </path>
  <path d="M31,91.2h1.6v-5.3c0-2.4,1.3-3.7,2.9-3.7c1.5,0,2.5,1.1,2.5,2.8v6.2h1.6V86c0-2.3,1.2-3.8,2.9-3.8c1.5,0,2.5,1.1,2.5,2.8
		v6.2h1.6v-6.7c0-2.2-1.4-3.7-3.5-3.7c-1.7,0-3,1-3.5,2.8h-0.1c-0.3-1.7-1.6-2.8-3.4-2.8c-1.7,0-2.9,1-3.4,2.8h-0.1l-0.1-2.5H31
		L31,91.2z">
  </path>
  <path d="M54,91.5c2.5,0,4.4-1.5,4.7-3.9h-1.6c-0.3,1.4-1.4,2.5-3.1,2.5c-2,0-3.4-1.3-3.5-3.7h8.2c0-0.3,0-0.5,0-0.7
		c0-2.9-2-4.9-4.8-4.9c-2.9,0-5,1.9-5,5.3C49,89.8,51.1,91.5,54,91.5z M50.6,85.3c0.1-2.1,1.5-3.2,3.4-3.2c1.9,0,3.1,1.3,3.2,3.2
		H50.6z">
  </path>
  <path d="M61.2,91.2h1.6v-3.6c0-1.9,0.3-3.3,1.2-4.2c0.7-0.7,1.7-1,3.1-1.1v-1.4c-2.5,0-3.8,1.1-4.2,3.3h-0.1l-0.1-3.1h-1.5V91.2z">
  </path>
  <path d="M68.8,77.5v13.7h1.6V77.5H68.8z">
  </path>
  <path d="M73.8,95c1.7,0,2.7-1.2,3.6-3.4l4.3-10.5H80l-1.7,4.5c-0.5,1.2-1,2.5-1.5,3.8h-0.1c-0.4-1.3-0.9-2.6-1.4-3.8l-1.6-4.5H72
		l3.9,10.1l-0.4,0.9c-0.5,1.2-1,1.5-2,1.5c-0.3,0-0.7-0.1-1.2-0.2v1.3C72.9,94.9,73.4,95,73.8,95z">
  </path>
  <path class="st1" d="M157.5,75c-0.3-0.3-0.7-0.4-1.1-0.4c-0.4,0-0.8,0.1-1.1,0.4c-0.3,0.3-0.5,0.7-0.5,1.1c0.1,0.9,0.8,1.5,1.6,1.5
		c0.8,0,1.5-0.7,1.6-1.5C158,75.7,157.8,75.2,157.5,75z M149.2,91.9h2.4l0-17H149v6.8c-0.8-1.4-2.8-2.1-4.3-2.1
		c-3.6,0-6.2,2.2-6.2,6.3c0,4,2.7,6.3,6.3,6.3c1.7,0.1,3.3-0.8,4.3-2.2L149.2,91.9z M101.7,81.7c-1.6,0-2.6,0.5-2.6,1.5
		c0,1,1.1,1.4,2.7,1.5c2.3,0.2,5.2,0.6,5.2,3.7c0,2.2-2.1,3.8-5.2,3.8c-2,0-3.9-0.4-5.6-2.2l1.3-1.8c1.1,1.1,2.7,1.8,4.2,1.8
		c1.4,0,2.7-0.4,2.7-1.5c0-1.1-1-1.5-2.9-1.7c-2.3-0.2-5-0.9-5-3.6c0-2.7,2.8-3.7,5.1-3.7c1.7,0,3.4,0.5,4.7,1.6l-1.3,1.6
		C104.1,82,102.9,81.6,101.7,81.7z M115.5,89.9c1.3,0,2.8-0.4,3.6-1.3l1.7,1.6c-1.3,1.4-3.4,2-5.3,2c-4,0-6.6-2.5-6.6-6.3
		c0-3.7,2.7-6.3,6.6-6.3c3.6,0,6.1,2.1,6.1,6.2c0,0.3,0,0.7-0.1,1.1h-10C111.7,88.7,113.2,89.9,115.5,89.9z M111.5,84.8
		c0.4-1.9,2-2.9,3.9-2.9c2.1,0,3.4,1,3.6,2.9H111.5z M133.4,85.1c0-2.1-1.2-3.3-3.3-3.3c-0.9,0-1.8,0.4-2.5,1.1
		c-0.7,0.7-1,1.6-1,2.6v6.4H124v-12h2.3l0.2,1.7c1-1.3,2.5-2,4.1-2c3,0,5.3,1.8,5.3,5.6v6.8h-2.6L133.4,85.1z M141.1,85.9
		c0,2.4,1.7,4,3.9,4c2.1,0,3.8-1.8,3.8-4s-1.7-4-3.8-4C142.8,81.9,141.1,83.4,141.1,85.9z M157.7,91.9h-2.6v-12h2.6V91.9z
		 M167.2,81.9c2.1,0,3.3,1.2,3.3,3.3l0,6.8h2.6v-6.8c0-3.8-2.3-5.6-5.3-5.6c-1.6,0-3.1,0.7-4.1,2l-0.2-1.7h-2.3v12h2.6v-6.4
		c0-1,0.3-1.9,1-2.6C165.3,82.3,166.2,81.9,167.2,81.9z M178.9,81.8c0.8-1.4,2.8-2.3,4.3-2.3c3.5,0,6.2,2.2,6.2,6.3
		c0,4-2.9,6.3-6.3,6.3c-1.5,0-3.3-0.7-4.3-2.2l-0.1,1.9h-2.4v-17h2.6L178.9,81.8z M180.2,88.7c-0.7-0.8-1.2-1.8-1.1-2.9
		c0-1.1,0.4-2.1,1.2-2.8c0.7-0.7,1.7-1.1,2.8-1.1c2.2,0,3.9,1.5,3.9,3.9c0,2.4-1.6,4-3.9,4C182,89.9,181,89.5,180.2,88.7z
		 M194.9,91.9h-2.6v-17h2.6V91.9z M204.2,89.9c-2.2,0-3.3-1.4-3.3-3.5l0-6.6h-2.6v6.6c0,3.6,2.2,5.8,5.2,5.8
		c1.6,0.1,3.2-0.7,4.2-1.9l0.2,1.7h2.3v-12h-2.6v6.4c0,1-0.3,1.9-0.9,2.6C206,89.5,205.1,89.9,204.2,89.9z M219.6,89.9
		c1.3,0,2.8-0.4,3.6-1.3l1.7,1.6c-1.3,1.4-3.4,2-5.3,2c-4,0-6.6-2.5-6.6-6.3c0-3.7,2.7-6.3,6.6-6.3c3.6,0,6.1,2.1,6.1,6.2
		c0,0.3,0,0.6,0,0.9c0,0.1,0,0.1,0,0.2h-10C215.8,88.7,217.3,89.9,219.6,89.9z M215.6,84.8c0.4-1.9,2-2.9,3.9-2.9
		c2.1,0,3.4,1,3.6,2.9H215.6z">
  </path>
 </g>
</svg>PKЍ�[��jH��images/sendlayer.svgnu�[���<svg width="334" height="70" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M68.286 50.59s5.078 5.663 14.3 5.663c8.64 0 13.66-5.546 13.66-12.142 0-13.25-19.496-11.44-19.496-18.795 0-2.919 2.743-4.962 6.245-4.962 5.195 0 9.165 3.62 9.165 3.62l3.269-6.13s-4.203-4.436-12.375-4.436c-7.939 0-13.893 5.137-13.893 12.025 0 12.724 19.555 11.44 19.555 18.854 0 3.385-2.86 5.02-6.013 5.02-5.837 0-10.331-4.378-10.331-4.378l-4.086 5.662zm30.453-9.923c0 8.464 6.129 15.586 15.994 15.586 7.413 0 11.966-4.261 11.966-4.261l-2.86-5.312s-3.795 3.269-8.581 3.269c-4.436 0-8.464-2.685-8.931-7.88h20.547s.175-1.985.175-2.86c0-7.88-4.611-14.127-13.192-14.127-8.872 0-15.118 6.421-15.118 15.585zm7.822-3.677c.7-3.852 3.327-6.187 7.121-6.187 3.269 0 5.779 2.16 5.895 6.187h-13.016zm24.849 18.562h7.413V41.893c0-1.4.117-2.743.526-3.969 1.109-3.56 4.027-6.07 7.996-6.07 3.795 0 4.729 2.451 4.729 6.07v17.628h7.354V36.406c0-7.88-3.735-11.324-10.331-11.324-6.013 0-9.281 3.678-10.566 6.188h-.116s.116-.934.116-2.043v-3.444h-7.121v29.77zm31.004-14.885c0 9.223 5.137 15.586 13.192 15.586 6.83 0 9.339-5.079 9.339-5.079h.117s-.117.818-.117 1.927v2.451h7.005V14.108h-7.413v13.076c0 .934.058 1.692.058 1.692h-.116s-2.043-3.794-8.581-3.794c-7.88 0-13.484 6.13-13.484 15.585zm7.472 0c0-5.895 3.385-9.222 7.471-9.222 4.962 0 7.413 4.553 7.413 9.164 0 6.596-3.619 9.398-7.471 9.398-4.378 0-7.413-3.677-7.413-9.34zm29.672 14.885h25.45v-6.479h-17.921V14.108h-7.529v41.444zm27.037-8.58c0 5.954 4.786 9.28 10.098 9.28 6.771 0 9.106-5.253 9.048-5.253h.117s-.117.934-.117 2.102v2.451h6.829v-18.62c0-7.53-4.553-11.85-12.374-11.85-7.063 0-11.675 3.678-11.675 3.678l2.802 5.311s3.911-2.86 8.172-2.86c3.269 0 5.72 1.343 5.72 5.254v.408h-.992c-4.845 0-17.628.642-17.628 10.099zm7.472-.35c0-4.145 6.129-4.67 9.923-4.67h1.284v.7c0 3.62-2.802 7.822-6.713 7.822-3.035 0-4.494-1.868-4.494-3.853zm19.44 19.262s2.627 1.926 6.187 1.926c4.495 0 8.639-2.335 10.741-7.763l13.309-34.264h-8.114l-5.837 17.278c-.526 1.576-.993 3.91-.993 3.91h-.116s-.526-2.451-1.109-4.027l-6.246-17.161h-8.347l12.55 29.302-1.109 2.627c-1.109 2.627-3.094 3.853-5.137 3.853-1.693 0-3.327-1.226-3.327-1.226l-2.452 5.545zm29.615-25.217c0 8.464 6.129 15.586 15.994 15.586 7.413 0 11.966-4.261 11.966-4.261l-2.86-5.312s-3.794 3.269-8.581 3.269c-4.436 0-8.464-2.685-8.931-7.88h20.547s.175-1.985.175-2.86c0-7.88-4.611-14.127-13.192-14.127-8.872 0-15.118 6.421-15.118 15.585zm7.822-3.677c.7-3.852 3.327-6.187 7.121-6.187 3.269 0 5.779 2.16 5.896 6.187h-13.017zm24.849 18.562h7.414v-11.79c0-1.752.175-3.386.642-4.846 1.401-4.436 4.961-6.245 8.113-6.245.993 0 1.751.116 1.751.116v-7.296s-.642-.117-1.342-.117c-4.553 0-8.114 3.386-9.456 7.647h-.117s.117-.992.117-2.102v-5.136h-7.122v29.77z" fill="#09092C"/><path d="M41.895 7.266a6.384 6.384 0 013.296 5.587v44.294a6.384 6.384 0 01-3.296 5.587l-10.327 5.71c-4.255 2.352-9.473-.726-9.473-5.588V7.144c0-4.862 5.218-7.94 9.474-5.588l10.326 5.71zM16.784 12.48c.244.451.37.956.37 1.47v42.064c0 .512-.127 1.017-.37 1.469-1.526 2.831-5.823 1.747-5.823-1.47V13.95c0-3.217 4.297-4.3 5.823-1.469zM5.823 20.853c.243.451.37.956.37 1.469V47.71c0 .513-.127 1.018-.37 1.47C4.297 52.01 0 50.926 0 47.71V22.322c0-3.217 4.297-4.301 5.823-1.47z" fill="#211FA6"/></svg>PKЍ�[�g51�!�!images/smtp2go.svgnu�[���<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="353" height="143">
<path d="M0 0 C116.49 0 232.98 0 353 0 C353 47.19 353 94.38 353 143 C236.51 143 120.02 143 0 143 C0 95.81 0 48.62 0 0 Z " fill="#FDFDFD" transform="translate(0,0)"/>
<path d="M0 0 C2.1171875 1.13671875 2.1171875 1.13671875 4.0625 2.375 C4.66320312 2.75269531 5.26390625 3.13039063 5.8828125 3.51953125 C15.86957425 10.93123111 20.81434758 23.37718089 22.79003906 35.27050781 C23.61500478 41.6425548 23.47990222 47.97747774 23.0625 54.375 C22.99160156 55.47714844 22.92070312 56.57929687 22.84765625 57.71484375 C21.20405129 72.95050772 15.98713425 88.31221694 10.0625 102.375 C11.43921875 101.57835938 11.43921875 101.57835938 12.84375 100.765625 C30.86529714 90.375 30.86529714 90.375 34.0625 90.375 C33.78535156 89.84390625 33.50820312 89.3128125 33.22265625 88.765625 C32.67931641 87.70601562 32.67931641 87.70601562 32.125 86.625 C31.58552734 85.58085937 31.58552734 85.58085937 31.03515625 84.515625 C27.47070275 76.67096429 27.73940046 65.43245524 29.8984375 57.1796875 C32.59099513 51.27051739 36.45951234 47.5601881 42.0625 44.375 C42.95388672 43.86646484 42.95388672 43.86646484 43.86328125 43.34765625 C53.86961817 38.69803074 66.95263713 41.00504571 77.0625 44.375 C76.63655412 45.81596586 76.19623367 47.25268712 75.75 48.6875 C75.50636719 49.48800781 75.26273437 50.28851563 75.01171875 51.11328125 C74.02067977 53.47464573 72.98175057 54.71379993 71.0625 56.375 C70.11375 56.045 69.165 55.715 68.1875 55.375 C62.12714263 53.67859165 56.37799427 53.28040271 50.625 56 C46.98525521 59.373422 45.31815292 61.99245679 44.78125 66.99609375 C44.6021985 72.49446689 44.8119719 76.73138843 48.0625 81.375 C51.21838081 84.28432763 53.56999946 84.80997021 57.8125 85.0625 C58.79734375 85.12824219 59.7821875 85.19398437 60.796875 85.26171875 C61.54453125 85.29910156 62.2921875 85.33648437 63.0625 85.375 C63.0625 82.405 63.0625 79.435 63.0625 76.375 C60.0925 76.375 57.1225 76.375 54.0625 76.375 C54.0625 72.745 54.0625 69.115 54.0625 65.375 C61.9825 65.375 69.9025 65.375 78.0625 65.375 C78.0625 75.275 78.0625 85.175 78.0625 95.375 C63.68333493 98.69326886 63.68333493 98.69326886 57.0625 98.8125 C33.847797 99.79131533 12.55596731 115.11703277 -3.2265625 131.29296875 C-6.53553827 133.83430028 -8.80131212 134.25320413 -12.9375 134.375 C-15.375 132.75 -15.375 132.75 -16.9375 130.375 C-17.67295438 125.56495928 -15.50282213 122.49371036 -13.0625 118.5625 C-0.51661811 97.23122641 9.18415971 72.05510067 9.3125 47.125 C9.333125 46.13886719 9.35375 45.15273438 9.375 44.13671875 C9.43138003 33.43860809 6.93685726 24.68856999 0.0625 16.375 C-3.51907372 12.9600111 -6.36311214 12.06891172 -11.1875 11.75 C-20.37243659 12.14772391 -26.05471283 17.29803415 -32.1875 23.6875 C-32.95578125 24.54988281 -33.7240625 25.41226562 -34.515625 26.30078125 C-37.39105209 28.76344542 -39.1857015 29.2310954 -42.9375 29.375 C-45.3125 27.8125 -45.3125 27.8125 -46.9375 25.375 C-47.2845599 22.04863365 -47.33435009 20.06199426 -45.64453125 17.13671875 C-34.15716991 4.55983448 -17.6172886 -7.22218178 0 0 Z " fill="#ABD3FE" transform="translate(210.9375,5.625)"/>
<path d="M0 0 C5.9648095 4.22507339 8.82099124 9.06613438 11 16 C12.37432304 25.03881689 12.50910249 35.10191551 7.53515625 43.0546875 C2.11735716 49.91999017 -3.35515088 52.54903097 -12 54 C-21.47404205 54.9611347 -29.43264397 52.79770707 -37 47 C-42.41034571 41.58965429 -44.35356491 34.81712608 -44.46801758 27.35253906 C-44.45794678 26.59682617 -44.44787598 25.84111328 -44.4375 25.0625 C-44.43065186 24.27198242 -44.42380371 23.48146484 -44.41674805 22.66699219 C-44.25336579 16.73627738 -43.39987341 11.98352779 -40 7 C-39.42185547 6.12988281 -39.42185547 6.12988281 -38.83203125 5.2421875 C-30.91544062 -5.36450675 -11.09205562 -6.12921836 0 0 Z " fill="#221E1F" transform="translate(340,50)"/>
<path d="M0 0 C6.93 0 13.86 0 21 0 C26.445 17.82 26.445 17.82 32 36 C34.47685135 33.52314865 34.75371992 31.77941989 35.62109375 28.3984375 C35.91693359 27.26792969 36.21277344 26.13742188 36.51757812 24.97265625 C36.82115234 23.78542969 37.12472656 22.59820312 37.4375 21.375 C38.03651945 19.04848575 38.63930205 16.72293673 39.24609375 14.3984375 C39.51091553 13.36380371 39.7757373 12.32916992 40.04858398 11.26318359 C41.16225668 7.44348914 42.60297286 3.72540571 44 0 C50.93 0 57.86 0 65 0 C65 18.15 65 36.3 65 55 C60.38 55 55.76 55 51 55 C50.67 42.46 50.34 29.92 50 17 C49.113125 20.3 48.22625 23.6 47.3125 27 C44.76352527 36.41343604 41.97854631 45.71394387 39 55 C34.38 55 29.76 55 25 55 C22.1462234 47.79804013 19.98273933 40.43211786 17.8125 33 C16.554375 28.71 15.29625 24.42 14 20 C13.67 31.22 13.34 42.44 13 54 C8.71 54 4.42 54 0 54 C0 36.18 0 18.36 0 0 Z " fill="#221E1F" transform="translate(50,48)"/>
<path d="M0 0 C-0.42594588 1.44096586 -0.86626633 2.87768712 -1.3125 4.3125 C-1.55613281 5.11300781 -1.79976563 5.91351563 -2.05078125 6.73828125 C-3.04182023 9.09964573 -4.08074943 10.33879993 -6 12 C-6.94875 11.67 -7.8975 11.34 -8.875 11 C-14.93535737 9.30359165 -20.68450573 8.90540271 -26.4375 11.625 C-30.07724479 14.998422 -31.74434708 17.61745679 -32.28125 22.62109375 C-32.4603015 28.11946689 -32.2505281 32.35638843 -29 37 C-25.84411919 39.90932763 -23.49250054 40.43497021 -19.25 40.6875 C-17.77273438 40.78611328 -17.77273438 40.78611328 -16.265625 40.88671875 C-15.51796875 40.92410156 -14.7703125 40.96148437 -14 41 C-14 38.03 -14 35.06 -14 32 C-16.97 32 -19.94 32 -23 32 C-23 28.37 -23 24.74 -23 21 C-15.08 21 -7.16 21 1 21 C1 30.9 1 40.8 1 51 C-6.39500238 52.64333386 -12.17377124 53.36533521 -19.5625 53.375 C-20.55185547 53.39949219 -21.54121094 53.42398438 -22.56054688 53.44921875 C-29.98014988 53.47875931 -35.22750691 52.11286267 -40.98828125 47.359375 C-41.42527344 46.82828125 -41.86226562 46.2971875 -42.3125 45.75 C-42.76238281 45.22921875 -43.21226562 44.7084375 -43.67578125 44.171875 C-47.382971 38.09164639 -48.56049275 32.181479 -48.5 25.125 C-48.49355469 24.33706055 -48.48710937 23.54912109 -48.48046875 22.73730469 C-48.24560563 15.23713628 -46.59326107 9.577938 -41.16796875 4.17578125 C-39.18850169 2.56331597 -37.2179601 1.26086662 -35 0 C-34.40574219 -0.33902344 -33.81148437 -0.67804687 -33.19921875 -1.02734375 C-23.19288183 -5.67696926 -10.10986287 -3.36995429 0 0 Z " fill="#221E1F" transform="translate(288,50)"/>
<path d="M0 0 C27 0 27 0 35 3 C40.53515198 8.77069036 41.36139766 12.09381708 41.27734375 19.8828125 C40.88630927 24.27781977 39.73380812 27.53048817 37 31 C29.79738264 36.73269545 23.91311927 36.08824871 15 36 C15 42.27 15 48.54 15 55 C10.05 55 5.1 55 0 55 C0 36.85 0 18.7 0 0 Z " fill="#1F1B1C" transform="translate(170,48)"/>
<path d="M0 0 C-0.55105909 3.9492568 -1.38935371 7.34920174 -3 11 C-3.53367188 10.855625 -4.06734375 10.71125 -4.6171875 10.5625 C-10.50228763 9.09631589 -15.95009776 8.77265503 -22 9 C-22.15115585 11.36522297 -22.15115585 11.36522297 -21 14 C-18.42268862 15.88008658 -15.57319438 17.15792686 -12.6875 18.5 C-6.56866942 21.38845547 -2.1564819 23.6870362 1 30 C1.55362612 35.91954086 1.58317919 41.0297837 -2 46 C-8.36528627 52.04533802 -15.70536028 53.41606859 -24.2578125 53.26953125 C-29.32733177 52.77124517 -34.10153281 51.3670141 -39 50 C-39 45.71 -39 41.42 -39 37 C-30.27560718 38.92449842 -30.27560718 38.92449842 -27.9609375 39.55859375 C-24.12069235 40.4230314 -19.55052775 40.77526387 -16 39 C-16 37.35 -16 35.7 -16 34 C-17.08539062 33.50371094 -18.17078125 33.00742188 -19.2890625 32.49609375 C-33.74506059 25.70475301 -33.74506059 25.70475301 -38 19 C-39.52802021 14.0045493 -39.79918999 9.66497915 -37.5 4.875 C-28.06643895 -5.97359521 -12.64203132 -5.61868059 0 0 Z " fill="#242021" transform="translate(41,51)"/>
<path d="M0 0 C14.19 0 28.38 0 43 0 C43 3.96 43 7.92 43 12 C38.38 12 33.76 12 29 12 C29 26.19 29 40.38 29 55 C24.05 55 19.1 55 14 55 C14 40.81 14 26.62 14 12 C9.38 12 4.76 12 0 12 C0 8.04 0 4.08 0 0 Z " fill="#201C1D" transform="translate(120,48)"/>
<path d="M0 0 C4.31095268 2.31180759 6.52770426 5.39572969 8 10 C8.86116941 17.25985837 8.57756306 24.02926558 4 30 C-0.24150524 32.82767016 -4.02064595 32.77156125 -9 32 C-13.22662109 29.00614339 -14.97491898 26.03221591 -16 21 C-16.52382524 14.73280519 -16.76504714 9.32299769 -13 4 C-9.24255138 -0.07951564 -5.40652433 -1.22731276 0 0 Z " fill="#F9F9F9" transform="translate(328,59)"/>
<path d="M0 0 C7.35678392 -0.36180905 7.35678392 -0.36180905 10 1.125 C11.47901666 3.89815624 11.38601984 5.91184125 11 9 C10 10.8125 10 10.8125 8 12 C5.31884069 12.53940483 2.7366901 12.77568114 0 13 C0 8.71 0 4.42 0 0 Z " fill="#F1F0F0" transform="translate(185,60)"/>
</svg>
PKЍ�[�3Dccimages/smtp.svgnu�[���<svg xmlns="http://www.w3.org/2000/svg" width="181" height="60"><defs><style>.cls-1{fill:#ccc;fill-rule:evenodd}</style></defs><path id="Rounded_Rectangle_1" data-name="Rounded Rectangle 1" class="cls-1" d="M47.12 46.08h34.3a4.28 4.28 0 110 8.56h-34.3a4.28 4.28 0 110-8.56z"/><path id="Rounded_Rectangle_1-2" data-name="Rounded Rectangle 1" class="cls-1" d="M25.7 26.78h55.7a4.28 4.28 0 014.3 4.28v.02a4.28 4.28 0 01-4.3 4.28H25.7a4.28 4.28 0 01-4.28-4.28v-.02a4.28 4.28 0 014.29-4.28z"/><path id="Rounded_Rectangle_1-3" data-name="Rounded Rectangle 1" class="cls-1" d="M4.28 6.42h77.13a4.28 4.28 0 014.28 4.28v.02A4.28 4.28 0 0181.41 15H4.28A4.28 4.28 0 010 10.72v-.02a4.28 4.28 0 014.28-4.28z"/><path id="_" data-name="" d="M178.88 57.78a6.91 6.91 0 01-5.19 2.2h-68.95a6.9 6.9 0 01-5.19-2.2 7.32 7.32 0 01-2.11-5.26v-44a7.33 7.33 0 012.11-5.27 6.91 6.91 0 015.19-2.2h68.95a6.92 6.92 0 015.19 2.2 7.34 7.34 0 012.11 5.27v44a7.33 7.33 0 01-2.11 5.26zm-8.84-49.45L139.31 33 108.58 8.33q-2.7-2.3-4.8-.39a2.67 2.67 0 00-.77 2.2 3.33 3.33 0 00.96 1.82l19.98 18.37-19.21 19.9a1.74 1.74 0 00-.2 2.48 1.4 1.4 0 001.26.58 2.53 2.53 0 001.44-.39l21.5-18.17 10.57 9.37 10.37-9.38L171.2 52.9a2.54 2.54 0 001.44.38 1.96 1.96 0 001.44-.57q.96-1.15-.38-2.49l-19.21-19.9 19.97-18.36a4.02 4.02 0 001.06-1.82 2.27 2.27 0 00-.87-2.2q-1.92-1.9-4.6.39z" fill="#819eaf" fill-rule="evenodd"/></svg>PKЍ�[N7�ɠ�images/maileroo.svgnu�[���<svg width="163" height="48" viewBox="0 0 163 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="48.0382" height="48" rx="10" fill="#F46A25"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M21.6215 14.7526L22.8223 8.06765V8.0672C28.1854 14.3871 25.4239 20.143 24.7828 21.479C24.7478 21.5521 24.719 21.612 24.6983 21.658L21.6215 14.7526ZM24.4394 34.9432L31.1791 34.4204C34.4378 34.1353 37.5756 30.7808 38.0365 28.1683L34.1614 27.4856C32.8265 27.2152 31.053 26.3432 30.0938 25.3772C29.6022 24.8806 29.1145 24.458 28.5128 24.1177C27.9115 23.7774 27.1957 23.5196 26.2472 23.3521L23.8577 22.9313L17.2397 8.07874C12.3183 13.624 14.7654 20.6962 18.4382 23.3926L14.1125 47.9999H33.6209L29.9507 39.7648C28.9095 37.4284 26.8949 35.6661 24.4394 34.9437V34.9432ZM26.9448 26.2025C27.3967 26.2474 27.7622 26.6126 27.8072 27.0642C27.8679 27.6748 27.3593 28.1839 26.7478 28.1238C26.2954 28.0792 25.929 27.7136 25.8844 27.2611C25.8242 26.6501 26.3337 26.1419 26.9448 26.2025Z" fill="#FEF8F5"/>
<path d="M67.7621 33H64.0381V15H69.302L73.7471 27.2727L73.8056 27.1558L78.2346 15H83.8071V33H80.0638V21.8527V20.9026L75.7357 33H71.7946L67.7621 21.695V21.8527V33Z" fill="#281001"/>
<path d="M90.6789 32.9999C89.7579 32.9999 88.95 32.8301 88.2553 32.4905C87.5767 32.1509 87.0515 31.698 86.6799 31.132C86.3245 30.5498 86.1467 29.9029 86.1467 29.1913C86.1467 27.9622 86.583 26.9757 87.4555 26.2317C88.328 25.4878 89.5882 25.1158 91.2363 25.1158H93.9507V24.8975C93.9507 24.3638 93.773 23.9272 93.4175 23.5875C93.0782 23.2317 92.6339 23.0538 92.0846 23.0538C91.5837 23.0538 91.1878 23.1671 90.897 23.3935C90.6062 23.6037 90.3961 23.8544 90.2669 24.1455H86.6799C86.7607 23.4662 87.0192 22.8193 87.4555 22.2048C87.9079 21.5902 88.5219 21.097 89.2974 20.725C90.0891 20.3369 91.0182 20.1428 92.0846 20.1428C93.1994 20.1428 94.1689 20.353 94.9929 20.7735C95.8331 21.194 96.4794 21.7681 96.9318 22.4959C97.3842 23.2075 97.6104 24.008 97.6104 24.8975V32.9999H94.1931V31.69C93.9184 32.0296 93.3529 32.3369 92.7389 32.6118C92.1411 32.8706 91.4544 32.9999 90.6789 32.9999ZM91.4787 30.1617C92.2542 30.1617 92.8601 29.9514 93.2964 29.5309C93.7326 29.1104 93.9507 28.6753 93.9507 27.5417H91.721C91.0909 27.5417 90.6142 27.663 90.2911 27.9056C89.9841 28.132 89.8306 28.4474 89.8306 28.8517C89.8306 29.256 89.9679 29.5794 90.2426 29.822C90.5335 30.0485 90.9455 30.1617 91.4787 30.1617Z" fill="#281001"/>
<rect x="106.032" y="15" width="3.74324" height="18" fill="#281001"/>
<rect x="99.9497" y="20.1429" width="3.74324" height="12.8571" fill="#281001"/>
<rect x="99.9497" y="15" width="3.74324" height="3.74026" fill="#281001"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M142.529 32.9999C146.082 32.9999 148.963 30.1218 148.963 26.5714C148.963 23.021 146.082 20.1428 142.529 20.1428C138.976 20.1428 136.095 23.021 136.095 26.5714C136.095 30.1218 138.976 32.9999 142.529 32.9999ZM142.529 29.7272C144.273 29.7272 145.687 28.3143 145.687 26.5714C145.687 24.8284 144.273 23.4155 142.529 23.4155C140.785 23.4155 139.371 24.8284 139.371 26.5714C139.371 28.3143 140.785 29.7272 142.529 29.7272Z" fill="#281001"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M156.566 32.9999C160.119 32.9999 163 30.1218 163 26.5714C163 23.021 160.119 20.1428 156.566 20.1428C153.013 20.1428 150.133 23.021 150.133 26.5714C150.133 30.1218 153.013 32.9999 156.566 32.9999ZM156.566 29.7272C158.31 29.7272 159.725 28.3143 159.725 26.5714C159.725 24.8284 158.31 23.4155 156.566 23.4155C154.822 23.4155 153.408 24.8284 153.408 26.5714C153.408 28.3143 154.822 29.7272 156.566 29.7272Z" fill="#281001"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M118.549 32.9999C121.232 32.9999 123.532 31.3586 124.497 29.026H120.534C119.992 29.4645 119.301 29.7272 118.549 29.7272C117.004 29.7272 115.719 28.6195 115.445 27.1559H123.696V27.1558H124.956C124.974 26.9633 124.983 26.7684 124.983 26.5714C124.983 23.021 122.102 20.1428 118.549 20.1428C114.996 20.1428 112.115 23.021 112.115 26.5714C112.115 30.1218 114.996 32.9999 118.549 32.9999ZM115.664 25.2857H121.434C120.941 24.1836 119.835 23.4155 118.549 23.4155C117.263 23.4155 116.156 24.1836 115.664 25.2857Z" fill="#281001"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M127.322 20.1428H130.598V22.0128L131.65 20.1428H131.651H132.703H134.926V23.8831H134.795C134.792 23.8831 134.788 23.8831 134.785 23.8831H133.78C133.777 23.8831 133.773 23.8831 133.77 23.8831L132.469 23.8831L132.468 23.8831C131.658 23.8837 131.076 24.8584 131.066 26.0695V32.9999H127.322V23.4155H127.322V20.1428Z" fill="#281001"/>
</svg>
PKЍ�[�_v9

images/pagelayer_product.pngnu�[����PNG


IHDR@< ٓ�sRGB��,	pHYs��7PLTE�������������������������������������������������U�������������������������������������������������������������������q���������������������������������������������������������������������������������f�����������������������������������������������������������������������������������������������������m����������������������������������������|aY^�tRNS
.Ng��y]?-r���Mf�����Ip�&�Tݬ
���4��8�� p@�i��(�ϯ��	P�����`��Q��*�2b֊��+z0�E߈��%��e0���`D����"\O�[����ktPu����6�� ܐ{3�X�dz�}�!���=��$�o�1�m/V��aB����RH)z�xx	�IDATx����LJ D]d��"����*��R҇ګfaP�;�����&��M4�ѐx������]���oU��ә����VUW���z�jh�Т�->f��T�?���*|TD�NX�Z�O�M��\5�V����֌ڲo�֞�C
>��z�B�:my�L����c��3��^65j�X�7���v{�Yg��̱��9�.�/��M�6tL��ǵ˟Ԗ�Fm�Xj�[{�7>
3ը�Z�d�W~)��p�V'���.��w~���
,[�q=�?=N7]��v��KH�3P�߸�cp�R��.�29�ӹ횬��`��
[=>篸RA4�m٦�O��ٹn����I����3�$h7Lp|^�G�w��e����)��z���x��oӸY�����7�D���L7ٗ��S1�lv�78[o�Qʬ�9
�!H�X���F����_��O%�����)�bQl��q8{&s���e��_�rw�\`���#4�(v�ȴtf~��x��X��&?-`�t ��(Ik�hjdU�6�4-D	f�h�F�Z.��˪�j�ߏc�;Wj�pm���8�U�N�b�ny��D�Z��;�(kg(���d~"�u�.)G	x������8MHd~�b�ߍ��Մiwa72A;���D���ⅿ)�m)==
�_0��Hց�s5�lH��Ma��^�~%s~��������˄?܍���`@�A �|��v��m`��-���mG��P��›Ҭ�r��G[!��%[
�������oK������)���.ш
���c�2���w-`�./d�1}����,�������c3�5y�����MK@so�6�F���QV�t2��t�4L��\�����u��K��	����~i���9���2ζ�2D��s��#6��u�&�#��k��E����8�(���"(���ʴ����a?���E�r��=�`�L��I�nA.���Q4r[؅X��������L���G���eレ�D"���s�|n��&�w�.�[�mV4P&q#>��h���tܡ�T��L���=��-��@����@�,,�V�m0�M:4��E]�0��~#mÚ�pPab(d>��	��'�"��H=�_��?��� 9��8����C��f�m��z�����^�-���c5�|J��B�&�o>� R��e�oF\.��w`����x�M�e3�`���BS�.\R�f���Er�c�q#»�r��MX�@����IhŤ��p�@QHVa��0��92��E�Z���yC��s���:��\-@�)�A.�(O��J�����۟�W�ԯ��
��IeK�X*���%�R���Bz�	?���s"�^������X-��)rZ��P.s7�F:��1tb�l��=��,KJS�F���
e��a�v���C��E��)R�Ֆ#�1̴�eeȅ�^ɭnd_|�,���/�k��|$0� �=�y=9�tB��L�`�ra�������{e�īe� 8��t�V$�h�e��:á ���6:��I��]H	WG��d���$��^���b�@�g8��@�@@���MXʳŎ�(Ѡu�:���:�WP٬qf���8��)GlЩ�gH��r��!.�xK��a|_�~�vF����,��%?�aBe� @��/��{��؄����:��r̭^�yKqL��:���53Ь�L�
L����-z�S<j�{������M�=0� \��|�\�s/���4��0D
/paf�!
V�;&=sK�wZVT^J
ࢷ�0��A�yQ5����oӎ�.Ȋ�Ix�b[��P�����<"+�š�l̏���_���M�â)jb>\�2�6��q��L���{��ՄrQɄ�HK�����xX^~�6���A�l�D"\��T�t�F�	�wny��ko�VÐ�6[ �||l�k���-&h�riE:�|<뎗�c��p�B���ë)�v��G������qB�����b�c;�ϊ��n�c;��'�Ry�h�L����ݵ~ˑ<L��s����NE���&Q��Y��{ѽ���ndv�_��b��Q�W��4[f�H�V؃�@��Rm=��?X�&Sc��(d(�k�m��a/8eWX������舕�M�#UT�B�L�<<��>��[��fpH���o��嗆zQ�3Xq��Ї�aV{��	p�gC^����q��)6�u�Q�0I���n��O������Do�袼tu�"�/��TW�@��6ƍ80����3�0��{q��2�.\ze�H���{8�dg]=�Y��;fGi���+���\]�m}�
�+��u�pǮ��?��i�
DqFtJ��IEND�B`�PKэ�[�̧�..images/twitter.pngnu�[����PNG


IHDR  szz��IDATx�ŗ[pU��ͥWZJ���Щ�dF|�j��D��K�;P];�cĪ(U����J�T��U�a:����i�[z�fϞ�nv7����&sN�ݞ���}���?��x�й����2#
Q��L_!����Z��r�\8��l�G �ED�,Y�ț�g5Db�(Q�.��s]���m�x(��_��dz+Z4�QD\�63���e�V����9�������{���[���p�B#����̽7��0@��HLQ��u��Ϸ�P��"�b�w2��~L�A�:K�xA��@��fW �g�l��M��>��%V��RT�$�G.��?.`i��
��=P>z�@x����w2X�à�"�d0n��&�k�l�5.^7�Lp�������}�Pa�؜����f��C8r�Gϰ�ɧjc��Ui$Z&���Af���?���"	���_I����2��t� 1t�h�cܯ����%�	���}�^NԎp�.�v�2����,��&~r�λ������ij%9l�LI�v���xu�)���%��FD�OWZa�`
7O���@6*�0'�osc�x���#a�]��4g����2�Q`F�ŔP ��s���@P���J%����3BM���Z�$,�_��\z�)@�z��	
@&i*;V$�=�3�����yoTG$���J��,��������I�|�����&���
ea�vm�W��n�c��6��7)���~Z�:q��/�Yx�}�V����-OE�<����q�At��b<��}�1���1Z��
�l[��y��=Sx���(��!<��	��F5e�~��X�H��̙�adJ@���R:_���(X$�tb$&��7Y�DU:�L\�i�u��7�zy�}�ح��mÍS�����UE6,˷�I�Gy4u
�_�v�ޫ���a��^�d�PcO���),y�%�_�x���5J;��[M� �\x���w8�-XY`C�+R��aK�o�ǹk���b�:F�}�x���@��9+���$
�.��E�<���ׇ[Q��!l��@_�����c��
�eK���g=HtPqs��I&��-�%�珹w��ᆽO�w���{��֊&
P�η��UwvcIBO��6�q�(�Ł+�?�W�hxrD��ջ�3��*k�o��j���.���{wV��z/}��~ݸ�a��9�����l�eR�IEND�B`�PKэ�[a�NTTimages/mailgun.svgnu�[���<svg height="723" viewBox="-2.71170543 1.623 258.71170543 70.67" width="2500" xmlns="http://www.w3.org/2000/svg"><g fill="none"><path d="m196.146 25.96h-6.85v3.426c-2.344-2.704-5.77-4.147-9.375-4.147-8.113 0-14.062 6.67-14.062 16.046 0 9.014 5.95 15.504 13.882 15.504 3.786 0 6.67-1.262 9.374-4.327v4.146c0 6.31-2.523 9.375-7.571 9.375-2.705 0-5.409-1.262-6.67-3.425-.722-1.262-.902-2.344-1.082-4.868h-6.67c0 9.014 5.588 14.603 14.422 14.603 5.048 0 9.555-1.983 12.079-5.77 1.983-2.884 2.523-5.408 2.523-11.357zm-14.963 5.229c5.048 0 8.293 3.966 8.293 9.555 0 5.769-3.425 9.735-8.293 9.735-5.048 0-8.293-3.786-8.293-9.555 0-5.77 3.245-9.735 8.293-9.735z" fill="#c02428"/><path d="m63.099 25.96v29.927h6.85v-15.324c0-6.31 1.623-9.014 5.589-9.014 3.065 0 4.507 2.524 4.507 7.933v16.586h6.85v-15.324c0-6.31 1.623-9.014 5.59-9.014 3.245 0 4.507 2.163 4.507 7.932v16.586h6.85v-18.93c0-8.112-3.425-12.259-10.096-12.259-3.605 0-6.67 1.623-8.833 4.327-1.803-2.885-4.688-4.327-7.933-4.327-2.884 0-4.507.721-7.03 3.606v-2.705zm66.524 0v3.426c-3.065-3.065-5.59-4.327-9.375-4.327-8.113 0-14.062 6.67-14.062 15.504 0 9.375 5.95 16.045 14.242 16.045 3.606 0 5.95-1.081 9.195-3.966v3.065h6.85v-29.746zm-8.113 5.229c5.048 0 8.473 3.966 8.473 9.555 0 5.769-3.425 9.735-8.473 9.735-4.868 0-8.293-3.966-8.293-9.735 0-5.409 3.606-9.555 8.293-9.555zm27.403-5.229h-6.851v29.927h6.85zm-3.426-16.766a4.463 4.463 0 0 0 -4.507 4.507c0 2.524 1.983 4.507 4.507 4.507s4.507-1.983 4.507-4.507a4.463 4.463 0 0 0 -4.507-4.507zm9.736-7.571h6.85v54.084h-6.85z" fill="#525357"/><path d="m207.144 25.96h-6.851v17.308c0 4.687.901 7.21 3.065 9.735 2.343 2.524 5.769 3.786 9.555 3.786 3.966 0 7.21-1.262 9.735-3.786 2.344-2.524 3.065-5.048 3.065-9.735v-17.308h-6.851v17.126c0 5.048-1.803 7.392-5.95 7.392-3.966 0-5.768-2.344-5.768-7.392zm23.256 0v29.927h6.85v-14.422c0-7.392 1.623-10.096 6.31-10.096 4.327 0 5.59 1.983 5.59 7.752v16.766h6.85v-18.387c0-8.293-3.425-12.44-10.817-12.44-3.245 0-5.408.902-8.113 3.606v-2.706zm-202.456 2.344c-5.77 0-10.637 4.688-10.637 10.637 0 5.95 4.687 10.636 10.637 10.636 5.769 0 10.636-4.687 10.636-10.636 0-5.95-4.867-10.637-10.636-10.637zm-16.586 10.457c0-9.015 7.391-16.406 16.405-16.406s16.407 7.391 16.407 16.405c0 .54 0 1.262-.18 1.802-.18 1.623 1.081 2.885 2.704 2.885 2.704 0 3.065-3.425 3.065-4.687 0-12.08-9.916-21.995-21.995-21.995-12.078 0-21.994 9.916-21.994 21.995 0 12.078 9.916 21.994 21.994 21.994 6.49 0 12.26-2.704 16.226-7.211l4.507 3.786c-4.868 5.769-12.44 9.374-20.552 9.374a27.853 27.853 0 0 1 -27.945-27.942c0-15.324 12.44-27.944 27.944-27.944 15.324 0 27.763 12.62 27.763 27.944 0 6.13-2.884 11.177-8.834 11.177-2.524 0-4.146-1.262-5.048-2.524-2.884 4.687-8.112 7.752-14.062 7.752-9.014 0-16.405-7.211-16.405-16.405zm16.586-4.868a4.847 4.847 0 0 1 4.867 4.868 4.847 4.847 0 0 1 -4.867 4.867 4.847 4.847 0 0 1 -4.868-4.867 4.847 4.847 0 0 1 4.868-4.868z" fill="#c02428"/></g></svg>PKэ�[�v
X((images/elasticemail.svgnu�[���<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.1" id="Warstwa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 width="161px" height="21px" viewBox="0 0 161 21" style="enable-background:new 0 0 161 21;" xml:space="preserve">
<style type="text/css">
	.st0{fill:#2D2F7A;}
</style>
<g id="Logo_snow_horizontal_00000147916422978495224490000005528841737374562441_">
	<path id="Path_25663_00000126282172213158504070000003751816366060796300_" class="st0" d="M0,2.707
		c0-0.609,0.494-1.103,1.103-1.103l0,0h8.875c0.482,0,0.873,0.391,0.873,0.873v0.53c0,0.482-0.391,0.873-0.873,0.873H2.594v5.85
		h5.849c0.482,0,0.874,0.391,0.874,0.873l0,0v0.529c0,0.482-0.391,0.873-0.873,0.873c0,0,0,0-0.001,0H2.594v6.008h7.835
		c0.482,0,0.873,0.391,0.874,0.873c0,0,0,0,0,0.001v0.53c0,0.482-0.391,0.873-0.874,0.873l0,0H1.103C0.494,20.291,0,19.797,0,19.188
		l0,0V2.707z"/>
	<path id="Path_25664_00000136375431759307399090000010214091568496731027_" class="st0" d="M16.621,19.49
		c0,0.582-0.291,0.873-0.874,0.873h-0.82c-0.582,0-0.874-0.291-0.874-0.873V1.191c0-0.582,0.291-0.873,0.874-0.873h0.82
		c0.582,0,0.874,0.291,0.874,0.873V19.49z"/>
	<path id="Path_25665_00000159448133085771947830000006377461180566514600_" class="st0" d="M31.223,6.898h-0.635
		c-0.582,0-0.873,0.247-0.874,0.741v0.666c0.002,0.176,0.02,0.352,0.053,0.525h-0.053c-0.198-0.428-0.487-0.808-0.847-1.112
		c-0.386-0.324-0.819-0.587-1.284-0.781c-0.652-0.259-1.35-0.381-2.051-0.357c-3.571,0-5.982,2.542-5.982,7.129
		c0,4.218,2.376,6.974,5.759,6.974c1.812,0,3.784-0.754,4.405-2.276h0.053c-0.028,0.18-0.045,0.361-0.053,0.542v0.674
		c0,0.494,0.291,0.741,0.874,0.741h0.635c0.582,0,0.873-0.291,0.874-0.873V7.771C32.096,7.189,31.805,6.898,31.223,6.898z
		 M25.852,18.459c-2.253,0-3.68-2.117-3.68-4.856c0-2.568,1.03-4.8,3.797-4.8c2.122,0,3.614,1.881,3.614,4.802
		C29.582,16.503,28.072,18.459,25.852,18.459z"/>
	<path id="Path_25666_00000029011115918308878810000013362810777625360008_" class="st0" d="M35.298,19.152
		c-0.204-0.104-0.343-0.302-0.37-0.53c-0.012-0.235,0.053-0.467,0.185-0.661l0.265-0.371c0.121-0.193,0.318-0.328,0.542-0.37
		c0.238-0.004,0.472,0.06,0.675,0.185c0.41,0.254,0.834,0.484,1.27,0.688c0.632,0.282,1.32,0.417,2.012,0.396
		c0.582,0.026,1.158-0.136,1.641-0.463c0.42-0.301,0.659-0.794,0.635-1.31c0.012-0.416-0.181-0.812-0.516-1.059
		c-0.396-0.295-0.827-0.539-1.284-0.729c-0.512-0.221-1.063-0.432-1.654-0.635c-0.581-0.198-1.136-0.464-1.654-0.794
		c-0.501-0.316-0.937-0.725-1.284-1.204c-0.365-0.547-0.545-1.196-0.516-1.853c-0.012-0.583,0.12-1.16,0.384-1.681
		c0.249-0.478,0.607-0.89,1.046-1.204c0.47-0.331,0.994-0.578,1.548-0.729c0.607-0.17,1.235-0.254,1.866-0.251
		c0.788-0.025,1.574,0.101,2.316,0.371c0.479,0.185,0.944,0.406,1.389,0.661c0.214,0.086,0.376,0.267,0.437,0.49
		c0.038,0.235-0.014,0.476-0.146,0.675l-0.238,0.397c-0.247,0.441-0.636,0.538-1.165,0.291c-0.355-0.192-0.722-0.36-1.099-0.502
		c-0.521-0.188-1.073-0.278-1.628-0.265c-0.564-0.019-1.121,0.128-1.601,0.424c-0.429,0.276-0.677,0.761-0.648,1.27
		c-0.01,0.42,0.182,0.818,0.516,1.072c0.392,0.301,0.824,0.546,1.284,0.729c0.512,0.212,1.063,0.424,1.654,0.635
		c0.576,0.205,1.13,0.466,1.654,0.781c0.506,0.304,0.943,0.709,1.283,1.191c0.363,0.553,0.544,1.205,0.516,1.866
		c0.005,0.544-0.113,1.082-0.344,1.575c-0.23,0.486-0.565,0.915-0.98,1.256c-0.451,0.368-0.967,0.646-1.522,0.821
		c-0.638,0.201-1.303,0.299-1.972,0.291c-0.52,0.004-1.039-0.045-1.549-0.146c-0.429-0.086-0.849-0.21-1.256-0.371
		c-0.342-0.136-0.673-0.295-0.993-0.477C35.755,19.477,35.521,19.323,35.298,19.152z"/>
	<path id="Path_25667_00000112619326121509345980000010863846588563669172_" class="st0" d="M57.437,4.224
		c-0.582,0-0.873-0.291-0.873-0.873V2.477c0-0.582,0.291-0.873,0.873-0.873h0.9c0.582,0,0.873,0.291,0.873,0.873V3.35
		c0,0.582-0.291,0.873-0.873,0.873L57.437,4.224L57.437,4.224z M56.59,7.771c0-0.582,0.291-0.873,0.874-0.873h0.82
		c0.582,0,0.874,0.291,0.874,0.873V19.49c0,0.582-0.291,0.873-0.874,0.873h-0.82c-0.582,0-0.874-0.291-0.874-0.873V7.771z"/>
	<path id="Path_25668_00000178886769002573360420000012074080390813509787_" class="st0" d="M72.313,18.901
		c0.167,0.344,0.034,0.758-0.303,0.94c-1.001,0.519-2.115,0.782-3.242,0.766c-4.765,0-6.778-3.582-6.778-7.014
		c0-3.366,2.135-7.014,6.668-7.014c1.071-0.017,2.13,0.227,3.086,0.711c0.347,0.179,0.484,0.604,0.309,0.952l-0.327,0.653
		C71.56,9.232,71.16,9.38,70.815,9.233c-0.603-0.271-1.255-0.417-1.916-0.43c-2.778,0-4.291,1.503-4.291,4.764
		c0,2.787,1.46,4.817,4.344,4.817c0.736-0.005,1.464-0.164,2.135-0.467c0.348-0.15,0.752,0.002,0.915,0.344
		C72.104,18.469,72.215,18.698,72.313,18.901z"/>
	<path id="Path_25669_00000032627202794029584500000012430923526327012002_" class="st0" d="M51.109,19.49
		c0,0.482-0.391,0.873-0.874,0.873l0,0h-0.82c-0.482,0-0.874-0.391-0.874-0.873l0,0V9.121h-1.385c-0.565,0-0.847-0.291-0.847-0.873
		V7.764c0-0.406,0.329-0.735,0.735-0.735h1.551V4.092c0-0.482,0.391-0.873,0.874-0.873l0,0h0.767c0.482,0,0.874,0.391,0.874,0.873
		l0,0V7.03h2.467c0.406,0,0.735,0.329,0.735,0.735v0.483c0,0.582-0.282,0.873-0.847,0.873H51.11L51.109,19.49z"/>
	<path id="Path_25670_00000070116681951445890010000014353524067631435448_" class="st0" d="M98.803,2.707
		c0-0.609,0.494-1.103,1.103-1.103l0,0h8.876c0.482,0,0.873,0.391,0.873,0.873v0.53c0,0.482-0.391,0.873-0.873,0.873h-7.385v5.85
		h5.849c0.482,0,0.873,0.391,0.873,0.873v0.529c0,0.482-0.391,0.873-0.873,0.873l0,0h-5.849v6.008h7.834
		c0.482,0,0.873,0.391,0.873,0.873l0,0v0.53c0,0.482-0.391,0.873-0.873,0.873h-9.325c-0.609,0-1.103-0.494-1.103-1.103l0,0V2.707z"
		/>
	<path id="Path_25671_00000094588989320089469910000006015720709932780955_" class="st0" d="M112.804,7.771
		c0-0.582,0.291-0.873,0.873-0.873h0.741c0.582,0,0.874,0.291,0.873,0.873v1.191c0,0.178-0.018,0.355-0.053,0.53
		c-0.018,0.078-0.027,0.158-0.026,0.238h0.053c0.176-0.416,0.412-0.805,0.701-1.152c0.313-0.384,0.679-0.722,1.085-1.005
		c0.419-0.293,0.872-0.534,1.35-0.715c0.486-0.185,1.002-0.28,1.522-0.278c2.206,0,3.547,1.015,4.023,3.044H124
		c0.192-0.412,0.442-0.796,0.741-1.138c0.318-0.372,0.683-0.701,1.085-0.98c0.416-0.287,0.87-0.514,1.35-0.675
		c0.503-0.169,1.031-0.254,1.562-0.251c1.535,0,2.656,0.428,3.361,1.284c0.706,0.856,1.059,2.139,1.059,3.851v7.775
		c0,0.582-0.291,0.873-0.873,0.873h-0.82c-0.582,0-0.873-0.291-0.873-0.873v-7.22c0.002-0.443-0.029-0.885-0.093-1.323
		c-0.05-0.371-0.167-0.729-0.344-1.059c-0.168-0.3-0.415-0.547-0.715-0.715c-0.372-0.191-0.787-0.282-1.204-0.265
		c-0.585-0.009-1.162,0.142-1.667,0.437c-0.497,0.294-0.925,0.691-1.256,1.165c-0.353,0.503-0.617,1.062-0.781,1.654
		c-0.176,0.611-0.265,1.243-0.265,1.879v5.446c0,0.582-0.282,0.873-0.847,0.873h-0.847c-0.565,0-0.847-0.291-0.847-0.873V12.27
		c0.001-0.425-0.026-0.849-0.08-1.27c-0.043-0.373-0.15-0.736-0.317-1.072c-0.159-0.308-0.402-0.565-0.701-0.741
		c-0.378-0.202-0.803-0.298-1.231-0.278c-0.6-0.01-1.191,0.146-1.708,0.45c-0.501,0.299-0.934,0.7-1.27,1.178
		c-0.352,0.503-0.616,1.062-0.781,1.654c-0.174,0.602-0.263,1.226-0.265,1.853v5.446c0,0.582-0.291,0.873-0.873,0.873h-0.82
		c-0.582,0-0.873-0.291-0.873-0.873L112.804,7.771z"/>
	<path id="Path_25672_00000026133633037356597820000013734099904446296767_" class="st0" d="M153.007,4.224
		c-0.582,0-0.873-0.291-0.873-0.873V2.477c0-0.582,0.291-0.873,0.873-0.873h0.9c0.582,0,0.873,0.291,0.873,0.873V3.35
		c0,0.582-0.291,0.873-0.873,0.873L153.007,4.224L153.007,4.224z M152.161,7.771c0-0.582,0.291-0.873,0.873-0.873h0.82
		c0.582,0,0.873,0.291,0.873,0.873V19.49c0,0.582-0.291,0.873-0.873,0.873h-0.82c-0.582,0-0.873-0.291-0.873-0.873V7.771z"/>
	<path id="Path_25673_00000017484786187155741190000005032498006062797480_" class="st0" d="M161,19.49
		c0,0.582-0.291,0.873-0.873,0.873h-0.82c-0.582,0-0.873-0.291-0.873-0.873V1.191c0-0.582,0.291-0.873,0.873-0.873h0.82
		c0.582,0,0.873,0.291,0.873,0.873V19.49z"/>
	<path id="Path_25674_00000072278418634207953630000001762271726106261127_" class="st0" d="M147.555,6.897h-0.635
		c-0.582,0-0.873,0.247-0.873,0.741v0.666c0.002,0.176,0.02,0.352,0.053,0.525h-0.053c-0.198-0.428-0.487-0.808-0.847-1.112
		c-0.386-0.324-0.819-0.587-1.284-0.781c-0.652-0.259-1.35-0.381-2.051-0.357c-3.571,0-5.982,2.542-5.982,7.129
		c0,4.218,2.376,6.974,5.759,6.974c1.812,0,3.784-0.754,4.405-2.276h0.053c-0.028,0.18-0.045,0.361-0.053,0.542v0.674
		c0,0.494,0.291,0.741,0.873,0.741h0.635c0.582,0,0.873-0.291,0.873-0.873V7.77C148.429,7.188,148.138,6.897,147.555,6.897z
		 M142.184,18.459c-2.253,0-3.68-2.117-3.68-4.856c0-2.568,1.03-4.8,3.797-4.8c2.122,0,3.614,1.881,3.614,4.802
		C145.914,16.502,144.405,18.459,142.184,18.459z"/>
	<g id="Logo_snow_vertical_00000034779629700984351950000000336178371209917078_" transform="translate(292.212 9.805)">
		<path id="Path_25675_00000116954367185104789880000015221468865428290998_" class="st0" d="M-199.398,1.115
			c-0.581-0.754-1.435-1.249-2.378-1.379c-0.145-0.023-0.291-0.034-0.438-0.035h-1.304c-0.223-0.001-0.405,0.179-0.406,0.402v0.002
			l0,0v0.659c0.001,0.223,0.182,0.403,0.405,0.402h0.001h1.075c0.078,0,0.157,0.004,0.234,0.012
			c0.069,0.004,0.137,0.014,0.204,0.029c0.536,0.104,1.01,0.415,1.32,0.864c0.301,0.44,0.429,0.976,0.361,1.505
			c-0.068,0.533-0.335,1.021-0.746,1.368c-0.208,0.176-0.45,0.306-0.712,0.382c-0.297,0.065-0.601,0.094-0.904,0.087h-9.762
			c-0.337-0.004-0.669-0.078-0.977-0.216c-0.481-0.251-0.847-0.678-1.02-1.193c-0.173-0.504-0.156-1.053,0.047-1.545
			c0.312-0.781,1.068-1.293,1.909-1.293h4.506l-1.329,1.464c-0.122,0.134-0.112,0.342,0.022,0.464l0,0l0,0l0.01,0.009l0.433,0.359
			c0.146,0.121,0.363,0.101,0.484-0.045l2.124-2.558c0.206-0.247,0.206-0.607,0-0.854l-2.123-2.557
			c-0.121-0.146-0.338-0.166-0.484-0.045l0,0l-0.434,0.36c-0.139,0.116-0.158,0.323-0.042,0.463l0.009,0.01l1.329,1.464h-4.506
			c-0.463-0.003-0.923,0.075-1.359,0.231c-0.894,0.331-1.624,0.998-2.035,1.859c-0.406,0.876-0.439,1.878-0.092,2.779
			c0.35,0.888,1.036,1.602,1.909,1.988c0.422,0.205,0.884,0.314,1.353,0.32h10.024c0.435,0.006,0.869-0.031,1.296-0.11
			c0.455-0.118,0.883-0.32,1.263-0.596c1.592-1.154,1.948-3.38,0.794-4.973C-199.357,1.17-199.378,1.143-199.398,1.115
			L-199.398,1.115z"/>
	</g>
</g>
</svg>
PKэ�[/��%��images/sendgrid.svgnu�[���<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 733.7 128.8" width="2500" height="439"><style>.st0{fill:#fff}.st1{opacity:.4;fill:#00b2e3}.st2{fill:#243746}.st3{fill:#1a82e2}.st4{fill:#00b2e3}</style><path class="st0" d="M127.3 0H42.4v42.4H0v84.9h84.9V84.9h42.4z"/><path class="st1" d="M0 42.4v42.5h42.4v42.4h42.5V42.4z"/><path class="st2" d="M151.1 109.7l18.5-14.5c5.2 9 13.5 14.2 23 14.2 10.3 0 15.8-6.7 15.8-14 0-8.7-10.6-11.5-21.9-15-14.2-4.4-30.1-9.9-30.1-30.2 0-17 14.8-30.5 35.3-30.5 17.3 0 27.2 6.5 35.8 15.4l-16.7 12.6c-4.4-6.5-10.6-10-18.9-10-9.4 0-14.5 5.1-14.5 11.8 0 8.1 10.2 10.9 21.5 14.7 14.4 4.7 30.7 11 30.7 31.4 0 16.9-13.4 33.1-36.8 33.1-19.3.1-32.1-8.1-41.7-19zm162.6-55.1h19.8v8.1c4.7-6 11.8-9.6 20.1-9.6 17.1 0 27.5 11 27.5 29.8v44.3h-20.2V85.6c0-9.7-4.5-15.4-13.4-15.4-7.6 0-13.8 5.2-13.8 17.4v39.7h-19.9V54.6zM385.6 91c0-25.7 18.9-37.8 35.3-37.8 9.4 0 16.9 3.5 21.7 8.6V21.2h19.9v106.1h-19.9v-8.1c-4.8 5.7-12.5 9.6-21.9 9.6-15.4 0-35.1-12.3-35.1-37.8zm57.6-.2c0-10.8-7.8-19.5-18.6-19.5-11 0-19.5 8.3-19.5 19.5s8.4 19.6 19.5 19.6c10.7 0 18.6-8.8 18.6-19.6zm24-16.5c0-30.2 22.8-54.5 54.2-54.5 15.7 0 28.9 5.7 38.5 14.7 3.9 3.7 7.2 7.9 9.8 12.5L552 57.8c-6.5-12.1-16.6-18.3-30.4-18.3-19.3 0-34.3 15.8-34.3 34.9 0 19.5 14.7 34.9 35 34.9 15.4 0 26.3-8.7 30.1-22.2h-33.3V67.6h55.1v8.1c0 28.5-20.3 53-51.9 53-33.2.1-55.1-25.1-55.1-54.4zm112-19.7H599v11.9c3.6-7.6 10.2-11.9 20.1-11.9h8L619.8 74h-5.4c-10.6 0-15.3 5.5-15.3 19v34.3h-19.9V54.6zm53 0h19.9v72.7h-19.9V74H625l7.2-19.4zm10-11c6.6 0 11.9-5.3 11.9-11.9 0-6.6-5.3-11.9-11.9-11.9-6.6 0-11.9 5.3-11.9 11.9 0 6.5 5.3 11.9 11.9 11.9zM656.8 91c0-25.7 18.9-37.8 35.3-37.8 9.4 0 16.9 3.5 21.7 8.6V21.2h19.9v106.1h-19.9v-8.1c-4.8 5.7-12.5 9.6-21.9 9.6-15.5 0-35.1-12.3-35.1-37.8zm57.6-.2c0-10.8-7.8-19.5-18.6-19.5-11 0-19.5 8.3-19.5 19.5s8.4 19.6 19.5 19.6c10.7 0 18.6-8.8 18.6-19.6zm-405.4 0c0-20.9-15.3-37.6-37.5-37.6-20.9 0-37.8 16.9-37.8 37.8s15.7 37.8 38.4 37.8c15.7 0 27-7.6 33.3-18.4l-15.8-9.4c-3.3 6.4-9.8 10.4-17.4 10.4-10.5 0-17-5.2-19.3-13.2H309v-7.4zm-55.2-8.7c3.1-6.8 9.4-11.5 17.9-11.5 8.4 0 14.7 3.9 17.3 11.5h-35.2z"/><path class="st3" d="M0 84.9h42.4v42.4H0z"/><path class="st4" d="M84.9 42.4V0H42.4v84.9h84.9V42.4z"/><path class="st3" d="M84.9 0h42.4v42.4H84.9z"/></svg>PKэ�[X��>�
�
images/postmark.svgnu�[���<svg width="490" height="79" xmlns="http://www.w3.org/2000/svg"><g fill="#22252B" fill-rule="evenodd"><g opacity=".2"><path d="M164.5 13c-8.8 8.4-25.7 14.1-45.2 14.1-14.5 0-27.6-3.2-37-8.3C71.5 12.9 56.6 4.7 37.1 4.7 22.6 4.7 9.5 7.9.1 13V9C9.5 3.9 22.6.7 37.1.7c19.5 0 34.4 8.2 45.2 14.1 9.4 5.1 22.5 8.3 37 8.3 19.5 0 36.4-5.7 45.2-14.1v4z"/><path d="M164.5 30c-8.8 8.4-25.7 14.1-45.2 14.1-14.5 0-27.6-3.2-37-8.3-10.8-5.9-25.7-14.1-45.2-14.1-14.5 0-27.6 3.2-37 8.3v-4c9.4-5.1 22.5-8.3 37-8.3 19.5 0 34.4 8.2 45.2 14.1 9.4 5.1 22.5 8.3 37 8.3 19.5 0 36.4-5.7 45.2-14.1v4z"/><path d="M164.5 47c-8.8 8.4-25.7 14.1-45.2 14.1-14.5 0-27.6-3.2-37-8.3-10.8-5.9-25.7-14.1-45.2-14.1-14.5 0-27.6 3.2-37 8.3v-4c9.4-5.1 22.5-8.3 37-8.3 19.5 0 34.4 8.2 45.2 14.1 9.4 5.1 22.5 8.3 37 8.3 19.5 0 36.4-5.7 45.2-14.1v4z"/><path d="M164.5 64c-8.8 8.4-25.7 14.1-45.2 14.1-14.5 0-27.6-3.2-37-8.3-10.8-5.9-25.7-14.1-45.2-14.1-14.5 0-27.6 3.2-37 8.3v-4c9.4-5.1 22.5-8.3 37-8.3 19.5 0 34.4 8.2 45.2 14.1 9.4 5.1 22.5 8.3 37 8.3 19.5 0 36.4-5.7 45.2-14.1v4z"/></g><path d="M76.9 10.4h-8.5V1.9h30.1c18.8 0 22.7 12.4 22.7 21 0 6.9-2.8 12.2-5.7 15.1-4.7 4.7-11.1 5.8-20.8 5.8h-7.6v17.5H96v8.5H68.4v-8.5h8.5V10.4zm18.7 25.2c12.5 0 15.2-5.8 15.2-12.8 0-8-4.5-12.4-12-12.4H87.1v25.2h8.5zm53.8-14.4c14.2 0 24.8 10.7 24.8 25s-10.7 25-24.9 25-24.8-10.7-24.8-25 10.6-25 24.9-25zm-.1 41c8.5 0 14.9-6.8 14.9-16 0-9.1-6.4-16-14.9-16-8.4 0-14.8 6.9-14.8 16 0 9.2 6.4 16 14.8 16zm32.8-8.6h8.3v1.6c.8 4.7 5.1 7.6 11.3 7.6 5.9 0 9.7-2.3 9.7-5.9 0-8.8-16.6-3.2-25.6-12.2-2.2-2.2-3.7-5.5-3.7-9 0-8.1 7-13.9 16.6-13.9 4.3 0 8.4 1 11.5 2.7v-1.9h8.2v15.6h-8.2v-2.9c-2.7-4-6.2-5.8-11-5.8-5 0-8.3 2.3-8.3 5.8 0 7.9 18.2 3.3 26 11.1 2.8 2.8 4 6.5 4 9.8 0 8.6-7.3 14.4-18.1 14.4-5.1 0-9-1.1-12.4-3.4v2.6h-8.3V53.6zm44.7-31h6.1v-7.3l9.4-8.5v15.8h8.7v8.2h-8.7v27.3c0 4.6 4.1 4.4 8.7 2.8v8.4c-2.2.7-4.7 1.3-6.9 1.3-6.6 0-11.2-3-11.2-11.2V30.8h-6.1v-8.2zm38.6 8.2h-7.9v-8.2h17.3v5.9c5.5-4.4 10.8-6.7 16-6.7 5.3 0 9.4 2.6 11.4 7.4 6.8-5.3 11.6-7.4 17-7.4 7.8 0 12.6 4.8 12.6 13v26.8h8.1v8.2h-17.5V36.9c0-4.6-2.1-6.9-5.7-6.9-3.8 0-8.7 2.3-13.4 6.2v25.4h8.1v8.2h-17.5V37.1c0-5-2.8-6.7-5.8-6.7-3.4 0-7.6 1.8-13.3 5.8v25.4h8.1v8.2h-26.1v-8.2h8.6V30.8zm127.1 39h-16.4V64c-5.9 4.8-10 6.6-15.2 6.6-9 0-16-6.6-16-15 0-8.6 7.5-15.3 17.2-15.3 4.2 0 9.1 1.5 12.9 4v-6.2c0-6.7-4.9-9.1-10.5-9.1-4.5 0-8 1.9-10.1 5.6l-8.9-2.4c4-7.3 10.8-11 20.4-11 13.8 0 18.5 6.9 18.5 14.5v25.9h8.1v8.2zM375 52.2c-4-3.1-8.2-4.7-12.2-4.7-5.2 0-9 3.4-9 8.1 0 4.6 3.5 7.8 8.5 7.8 4.2 0 8.9-2.1 12.7-5.6v-5.6zm30.3-21.4h-9.5v-8.2h16.9v10.6h.2c3-7.9 9-11.4 14.9-11.4h6.1v9.4h-5c-10.9 0-14.2 6.1-14.2 16.9v13.5h10.2v8.2H396v-8.2h9.3V30.8zm38.9-20.7h-8.5V1.9h17.9v42.4l17.7-13.9v-.2h-7.9v-7.6h26.2v7.6h-7.3l-17.7 14.7 16.7 16.7h8.1v8.2h-12L453.6 46v15.6h7v8.2h-25v-8.2h8.6V10.1z"/></g></svg>PKэ�[�J[��
readme.txtnu�[���=== GoSMTP - SMTP for WordPress ===
Contributors: softaculous, pagelayer
Tags: smtp, wordpress smtp, gmail smtp, sendgrid smtp, aws smtp, gmail, outlook, zoho, aws, postmark, sparkpost, mail, mailer, phpmailer, wp_mail, email, mailgun, sendgrid, gmail, sendinblue, wp smtp, sendlayer
Requires at least: 5.5
Tested up to: 6.9
Requires PHP: 5.5
Stable tag: 1.1.6
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Send emails from your WordPress site using your preferred SMTP provider like Gmail, Outlook, AWS, Zoho, SMTP.com, Brevo (formerly Sendinblue), Mailgun, Postmark, Sendgrid, Sparkpost, Sendlayer or any custom SMTP provider.

== Description ==

GoSMTP allows you to send emails from your WordPress over SMTP or many of the popular email sending services. Many web hosting companies have strict mail sending rules and limitations which restrict email deliverability. With GoSMTP, you will not be using your hosting providers PHP email but rather sending emails over SMTP or using API's of various email providers.

GoSMTP supports many of your preferred SMTP provider(s) :
1) SMTP.com
2) Sendinblue
3) Mailgun, Postmark
4) Sendgrid
5) Sparkpost
6) Sendlayer
7) Maileroo
8) ElasticEmail (Pro)
9) SMTP2Go (Pro)
10) Gmail, Gsuite, Google Workspace (Pro)
11) Outlook / Office 365 (Pro)
12) AWS (Pro)
13) Zoho (Pro)
14) Or any custom SMTP provider

WordPress uses the PHP mail function to send emails generated by WordPress. The PHP mail function sends emails over the IP of your hosting provider's servers which can have a bad reputation and be blacklisted by many email providers like Gmail, Yahoo, Office 365, Zoho, etc. causing your WordPress originated emails to land in the SPAM folder of your users. By using GoSMTP you ensure that your emails reach the inbox of your user(s).

You can find our [official documentation](https://gosmtp.net/docs) on our Website [GoSMTP.net](https://gosmtp.net/) We are also active in our community support forums on wordpress.org if you are one of our free users. Our Premium Support Ticket System is at [https://softaculous.deskuss.com/open.php?topicId=17](https://softaculous.deskuss.com/open.php?topicId=17)

[Home Page](https://gosmtp.net "GoSMTP Homepage") | [Support](https://softaculous.deskuss.com/open.php?topicId=17 "GoSMTP Support") | [Documents](http://gosmtp.net/docs "Documents")

== GoSMTP PRO ==

GoSMTP Pro has many other powerful features and services. [Click here to purchase now !](https://gosmtp.net/pricing  "Pricing") :

=== Email Logs ===

With Email Logging you view all emails sent from your site. This is necessary to keep email records and for auditing outgoing emails. Its also helpful to debug any outgoing email issues.

=== Resend Emails ===

You can resend any email, from the email log wizard. You can also resend multiple emails in bulk.

=== Premium Features ===
- Forward Emails
- Email Reports

=== Coming Soon ===
- Backup Email Logs
- Track Email Views
- Track Clicks
- Print Emails
- Multi Email Provider Support
- Multisite Support

== Credits ==
GoSMTP's Mailer API connecters are derived from Fluent SMTP [https://wordpress.org/plugins/fluent-smtp/](https://wordpress.org/plugins/fluent-smtp/)

== Frequently Asked Questions ==

Do you have questions related to GoSMTP ? Use the following links :

1. [Docs](https://gosmtp.net/docs)
3. [Help Desk](https://gosmtp.deskuss.com)
2. [Support Forum](http://wordpress.org/support/plugin/gosmtp)

== How to install GoSMTP ==
Go To your WordPress install -> Plugins -> Add New Button -> In Search Box search For GoSMTP -> Click on Install.

== Screenshots ==

1. **Dashboard** of GoSMTP.
2. **Settings** has all options to set your SMTP / Email provider.
3. **Test Email Wizard** you can also send a test Email.
4. **Email Logs Wizard** check the emails sent with this wizard.

== Changelog ==

= 1.1.6 (Nov 17, 2025) =
* [Improvement Pro] Added option to select Additional Connections for testing when sending a Test Mail.
* [Improvement Pro] Added option to send a message in HTML format instead of a custom message when sending a Test Mail.
* [Improvement Pro] Email Logs are provided for default PHP Mailer.
* [Bug-Fix] Email Logs were not deleted even after the set expiry period. This is fixed.

= 1.1.5 (Sep 22, 2025) =
* [Feature] Support for email provider Maileroo has been added.
* [Improvement Pro] Charts are added in Email Reports.
* [Task] Sanitized Email Response.
* [Bug-Fix] Email Reports showed new logs on the end. This is fixed.
* [Bug-Fix] Postmark Mailer was not sending email in HTML format properly. This is fixed.
* [Bug-Fix] SendGrid Mailer was not sending email in HTML format properly. This is fixed.
* [Bug-Fix] SendGrid Mailer was returning a null Message ID. This is fixed.

= 1.1.4 (Jul 24, 2025) =
* [Feature Pro] Support for email providers ElasticEmail and SMTP2Go have been added.
* [Task] Sendinblue will now be shown as Brevo, as Sendinblue changed its branding from Sendinblue to Brevo.

= 1.1.2 (Jul 18, 2025) =
* [Task] Tested with WordPress 6.8.2.
* [Bug-Fix] In certain case, Other SMTP was not working properly. This is fixed.

= 1.1.1 (Nov 18, 2024) =
* [Task] Licensing functionality has been further improved.

= 1.1.0 (Oct 29, 2024) =
* [Bug-Fix] In some cases, license loading was not working properly. This is fixed.

= 1.0.9 (Oct 21, 2024) =
* [Task] Licensing functionality has been further improved

= 1.0.8 (September 26, 2024) =
* [Task] Minor structural improvements.
* [Task] Improved License handling.

= 1.0.7 (July 17, 2024) =
* [Task] Structural changes in the plugin.
* [Task] Tested with WordPress 6.6.

= 1.0.6 (April 20, 2023) =
* [Task] Tested compatibility with WordPress 6.5. The plugin is fully compatible with WordPress 6.5.
* [Task] Changed the plugins License to GNU GPLv3 or later.

= 1.0.5 (Nov 29, 2023) =
* [Task] Tested compatibility with WordPress 6.4. The plugin is fully compatible with WordPress 6.4.
* [Bug-Fix] Outlook mailer error handling has been further improved.

= 1.0.4 (Aug 10, 2023) =
* [Bug-Fix] In some cases, the recipients email was not configured properly with SendLayer Mailer. This is fixed.
* [Bug-Fix] In some cases, the AmazonSES mailer secret key was not implemented correctly. This is fixed.

= 1.0.3 (June 30, 2023) =
* [Pro-Feature] Added option of additional connections in setting page, now users can add multiple connections and set them as secondary (backup) email.
* [Bug-Fix] In some cases, emails were failing when sending emails from the default PHP. This is fixed.
* [Bug-Fix] Changed the "Client Secret" field of Zoho Mailer from a text field to a password field.
* [Bug-Fix] The authentication process for Outlook Mailer has been further improved.
* [Bug-Fix] In some cases emails were not being sent properly from SMTP.com mailer. This is fixed.

= 1.0.2 (Apr 21, 2023) =
* [Pro-Feature] Added option to export email logs.
* [Pro-Feature] Added option to send weekly email report via email to admin email.
* [Bug-Fix] The email body with the HTML content type was showing in plain text when viewing email details in the email log. This is fixed.

= 1.0.1 (March 09, 2023) =
* [Pro-Feature] Added option to enable email log, now you can store email log and also manage email log.
* [Pro-Feature] Added Email Report page. Now you can easily track your email status.
* [Bug-Fix] The mailer error handler has been further improved.

= 1.0.0 (FEB 21, 2023) =
* Released Plugin


PKҍ�[0A��88
gosmtp.phpnu�[���<?php
/*
Plugin Name: GoSMTP
Plugin URI: https://gosmtp.net
Description: Send emails from your WordPress site using your preferred SMTP provider like Gmail, Outlook, AWS, Zoho, SMTP.com, Brevo (formerly Sendinblue), Mailgun, Postmark, Sendgrid, Sparkpost, Sendlayer or any custom SMTP provider.
Version: 1.1.6
Author: Softaculous Team
Author URI: https://softaculous.com
Text Domain: gosmtp
*/

/*
* GoSMTP
* https://gosmtp.net
* (c) GoSMTP Team
*/

/*
GoSMTP's Mailer API connecters are derived from Fluent SMTP:
https://wordpress.org/plugins/fluent-smtp/
(C) FluentSMTP & WPManageNinja Team

FluentSMTP is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.	
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
*/

// We need the ABSPATH
if (!defined('ABSPATH')) exit;

if(!function_exists('add_action')){
	echo 'You are not allowed to access this page directly.';
	exit;
}

$gosmtp_tmp_plugins = get_option('active_plugins', []);

if(!defined('SITEPAD') && in_array('gosmtp-pro/gosmtp-pro.php', $gosmtp_tmp_plugins)){

	// Was introduced in 1.0.7
	$gosmtp_pro_info = get_option('gosmtp_pro_version');
	
	if(!empty($gosmtp_pro_info) && version_compare($gosmtp_pro_info, '1.0.7', '>=')){
		// Let GoSMTP load
	
	// Lets check for older versions
	}else{

		if(!function_exists('get_plugin_data')){
			include_once ABSPATH . 'wp-admin/includes/plugin.php';
		}

		$gosmtp_pro_info = get_plugin_data(WP_PLUGIN_DIR . '/gosmtp-pro/gosmtp-pro.php');
		
		if(!empty($gosmtp_pro_info) && version_compare($gosmtp_pro_info['Version'], '1.0.7', '<')){
			return;
		}
	}
}

// If GOSMTP_VERSION exists then the plugin is loaded already !
if(defined('GOSMTP_VERSION')) {
	return;
}

define('GOSMTP_FILE', __FILE__);

include_once(dirname(__FILE__).'/init.php');
PKҍ�[=g�M�M�license.txtnu�[���                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

                            Preamble

  The GNU General Public License is a free, copyleft license for
software and other kinds of works.

  The licenses for most software and other practical works are designed
to take away your freedom to share and change the works.  By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.  We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors.  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.

  To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights.  Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received.  You must make sure that they, too, receive
or can get the source code.  And you must show them these terms so they
know their rights.

  Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.

  For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software.  For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.

  Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so.  This is fundamentally incompatible with the aim of
protecting users' freedom to change the software.  The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable.  Therefore, we
have designed this version of the GPL to prohibit the practice for those
products.  If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.

  Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary.  To prevent this, the GPL assures that
patents cannot be used to render the program non-free.

  The precise terms and conditions for copying, distribution and
modification follow.

                       TERMS AND CONDITIONS

  0. Definitions.

  "This License" refers to version 3 of the GNU General Public License.

  "Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.

  "The Program" refers to any copyrightable work licensed under this
License.  Each licensee is addressed as "you".  "Licensees" and
"recipients" may be individuals or organizations.

  To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy.  The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.

  A "covered work" means either the unmodified Program or a work based
on the Program.

  To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy.  Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.

  To "convey" a work means any kind of propagation that enables other
parties to make or receive copies.  Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.

  An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License.  If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.

  1. Source Code.

  The "source code" for a work means the preferred form of the work
for making modifications to it.  "Object code" means any non-source
form of a work.

  A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.

  The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form.  A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.

  The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities.  However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work.  For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.

  The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.

  The Corresponding Source for a work in source code form is that
same work.

  2. Basic Permissions.

  All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met.  This License explicitly affirms your unlimited
permission to run the unmodified Program.  The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work.  This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.

  You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force.  You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright.  Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.

  Conveying under any other circumstances is permitted solely under
the conditions stated below.  Sublicensing is not allowed; section 10
makes it unnecessary.

  3. Protecting Users' Legal Rights From Anti-Circumvention Law.

  No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.

  When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.

  4. Conveying Verbatim Copies.

  You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

  You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

  5. Conveying Modified Source Versions.

  You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified
    it, and giving a relevant date.

    b) The work must carry prominent notices stating that it is
    released under this License and any conditions added under section
    7.  This requirement modifies the requirement in section 4 to
    "keep intact all notices".

    c) You must license the entire work, as a whole, under this
    License to anyone who comes into possession of a copy.  This
    License will therefore apply, along with any applicable section 7
    additional terms, to the whole of the work, and all its parts,
    regardless of how they are packaged.  This License gives no
    permission to license the work in any other way, but it does not
    invalidate such permission if you have separately received it.

    d) If the work has interactive user interfaces, each must display
    Appropriate Legal Notices; however, if the Program has interactive
    interfaces that do not display Appropriate Legal Notices, your
    work need not make them do so.

  A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit.  Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.

  6. Conveying Non-Source Forms.

  You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:

    a) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by the
    Corresponding Source fixed on a durable physical medium
    customarily used for software interchange.

    b) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by a
    written offer, valid for at least three years and valid for as
    long as you offer spare parts or customer support for that product
    model, to give anyone who possesses the object code either (1) a
    copy of the Corresponding Source for all the software in the
    product that is covered by this License, on a durable physical
    medium customarily used for software interchange, for a price no
    more than your reasonable cost of physically performing this
    conveying of source, or (2) access to copy the
    Corresponding Source from a network server at no charge.

    c) Convey individual copies of the object code with a copy of the
    written offer to provide the Corresponding Source.  This
    alternative is allowed only occasionally and noncommercially, and
    only if you received the object code with such an offer, in accord
    with subsection 6b.

    d) Convey the object code by offering access from a designated
    place (gratis or for a charge), and offer equivalent access to the
    Corresponding Source in the same way through the same place at no
    further charge.  You need not require recipients to copy the
    Corresponding Source along with the object code.  If the place to
    copy the object code is a network server, the Corresponding Source
    may be on a different server (operated by you or a third party)
    that supports equivalent copying facilities, provided you maintain
    clear directions next to the object code saying where to find the
    Corresponding Source.  Regardless of what server hosts the
    Corresponding Source, you remain obligated to ensure that it is
    available for as long as needed to satisfy these requirements.

    e) Convey the object code using peer-to-peer transmission, provided
    you inform other peers where the object code and Corresponding
    Source of the work are being offered to the general public at no
    charge under subsection 6d.

  A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

  A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling.  In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage.  For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product.  A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

  "Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source.  The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

  If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information.  But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).

  The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed.  Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.

  Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.

  7. Additional Terms.

  "Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law.  If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.

  When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it.  (Additional permissions may be written to require their own
removal in certain cases when you modify the work.)  You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.

  Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the
    terms of sections 15 and 16 of this License; or

    b) Requiring preservation of specified reasonable legal notices or
    author attributions in that material or in the Appropriate Legal
    Notices displayed by works containing it; or

    c) Prohibiting misrepresentation of the origin of that material, or
    requiring that modified versions of such material be marked in
    reasonable ways as different from the original version; or

    d) Limiting the use for publicity purposes of names of licensors or
    authors of the material; or

    e) Declining to grant rights under trademark law for use of some
    trade names, trademarks, or service marks; or

    f) Requiring indemnification of licensors and authors of that
    material by anyone who conveys the material (or modified versions of
    it) with contractual assumptions of liability to the recipient, for
    any liability that these contractual assumptions directly impose on
    those licensors and authors.

  All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10.  If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term.  If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.

  If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.

  Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.

  8. Termination.

  You may not propagate or modify a covered work except as expressly
provided under this License.  Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).

  However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.

  Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.

  Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License.  If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.

  9. Acceptance Not Required for Having Copies.

  You are not required to accept this License in order to receive or
run a copy of the Program.  Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance.  However,
nothing other than this License grants you permission to propagate or
modify any covered work.  These actions infringe copyright if you do
not accept this License.  Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.

  10. Automatic Licensing of Downstream Recipients.

  Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License.  You are not responsible
for enforcing compliance by third parties with this License.

  An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations.  If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.

  You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License.  For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.

  11. Patents.

  A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based.  The
work thus licensed is called the contributor's "contributor version".

  A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version.  For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.

  Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.

  In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement).  To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.

  If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients.  "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.

  If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.

  A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License.  You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.

  Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.

  12. No Surrender of Others' Freedom.

  If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all.  For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.

  13. Use with the GNU Affero General Public License.

  Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work.  The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.

  14. Revised Versions of this License.

  The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

  Each version is given a distinguishing version number.  If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation.  If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.

  If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.

  Later license versions may give you additional or different
permissions.  However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.

  15. Disclaimer of Warranty.

  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  16. Limitation of Liability.

  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

  17. Interpretation of Sections 15 and 16.

  If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS

            How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

  If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

  You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.

  The GNU General Public License does not permit incorporating your program
into proprietary programs.  If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library.  If this is what you want to do, use the GNU Lesser General
Public License instead of this License.  But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
PKԍ�[���shhmain/settings.phpnu�[���<?php
/*
* GoSMTP
* https://gosmtp.net
* (c) Softaculous Team
*/

if(!defined('GOSMTP_VERSION')){
	die('Hacking Attempt!');
}
	
// The Gosmtp Header
function gosmtp_page_header($title = 'GoSMTP'){
	
    $promos = apply_filters('gosmtp_review_link', true);
	
	wp_enqueue_style( 'gosmtp-admin' );
	wp_enqueue_script( 'gosmtp-admin' );
	
	echo '
<div class="gosmtp-box-container" style="margin:0">
	<h2>
		<table cellpadding="2" cellspacing="1" width="100%" class="fixed" border="0">
			<tr>
				<td valign="top">
					<h1>'.esc_html($title).'</h1>
				</td>
				'.($promos ? '
				<td align="right"><a target="_blank" class="button button-primary" href="https://wordpress.org/support/view/plugin-reviews/gosmtp">Review GoSMTP</a></td>' : '').'
				<td align="right" width="40"><a target="_blank" href="https://twitter.com/gosmtp"><img src="'.GOSMTP_URL.'/images/twitter.png" /></a></td>
				<td align="right" width="40"><a target="_blank" href="https://www.facebook.com/gosmtp/"><img src="'.GOSMTP_URL.'/images/facebook.png" /></a></td>
			</tr>
		</table>
	</h2>
	'.gosmtp_show_notices().'
	<hr/>
	<!--Main Table-->
	<table cellpadding="8" cellspacing="1" width="100%" class="fixed">
	<tr>
		<td valign="top">';

}

// The Gosmtp Settings footer
function gosmtp_page_footer($no_twitter = 0){
	
	echo '</td>';
	
	$promos = apply_filters('pagelayer_right_bar_promos', true);

	if($promos){

		echo '
	<td width="200" valign="top" id="pagelayer-right-bar">
		<div class="gosmtp-promotion" style="width:100%;" >
			<div class="gosmtp-promotion-content" style="background:white; border:1px solid #c3c4c7; padding:10px 10px 20px 10px; border-radius:6px;">
				<h2 class="gosmtp-promotion-logo">
					<span><a target="_blank" href="https://pagelayer.com/?from=gosmtp-plugin"><img src="'. GOSMTP_URL.'/images/pagelayer_product.png" width="100%"></a></span>
				</h2>
				<div>
					<em>The Best WordPress <b>Site Builder</b> </em>:<br>
					<ul style="font-size:13px;">
						<li>Drag &amp; Drop Editor</li>
						<li>Widgets</li>
						<li>In-line Editing</li>
						<li>Styling Options</li>
						<li>Animations</li>
						<li>Easily customizable</li>
						<li>Real Time Design</li>
						<li>And many more ...</li>
					</ul>
					<center><a class="button button-primary" target="_blank" href="https://pagelayer.com/?from=gosmtp-plugin">Visit Pagelayer</a></center>
				</div>
			</div>

			<div class="gosmtp-promotion-content" style="margin-top: 20px; background:white; border:1px solid #c3c4c7; padding:10px 10px 20px 10px; border-radius:6px;">
				<h2 class="gosmtp-promotion-logo">
					<span><a target="_blank" href="https://loginizer.com/?from=gosmtp-plugin"><img src="'.GOSMTP_URL.'/images/loginizer_product.png" width="100%"></a></span>
				</h2>
				<div>
					<em>Protect your WordPress website from <b>unauthorized access and malware</b> </em>:<br>
					<ul style="font-size:13px;">
						<li>BruteForce Protection</li>
						<li>reCaptcha</li>
						<li>Two Factor Authentication</li>
						<li>Black/Whitelist IP</li>
						<li>Detailed Logs</li>
						<li>Extended Lockouts</li>
						<li>2FA via Email</li>
						<li>And many more ...</li>
					</ul>
					<center><a class="button button-primary" target="_blank" href="https://loginizer.com/?from=gosmtp-plugin">Visit Loginizer</a></center>
				</div>
			</div>
		</div>';
		
	}
	
	echo '</tr>
	</table>
	<br />';
	if(!defined('SITEPAD')){       
		if(empty($no_twitter)){
			echo '
				<div style="width:45%;background:#FFF;padding:15px; margin:20px auto; border:1px solid #c3c4c7;">
					<b>Let your followers know that you use GOSMTP to Sent mail on your website :</b>
					<form method="get" action="https://twitter.com/intent/tweet" id="tweet" onsubmit="return dotweet(this);">
						<textarea name="text" cols="45" row="3" style="resize:none;">I increased email deliverability of my #WordPress #site using @gosmtp</textarea>&nbsp; &nbsp; 
						<input type="submit" value="Tweet!" class="button button-primary" onsubmit="return false;" id="twitter-btn" style="margin-top:20px;"/>
					</form>	
				</div>
				<br/>

				<script>
						function dotweet(ele){
						window.open(jQuery("#"+ele.id).attr("action")+"?"+jQuery("#"+ele.id).serialize(), "_blank", "scrollbars=no, menubar=no, height=400, width=500, resizable=yes, toolbar=no, status=no");
						return false;
					}
				</script>
				
				<a href="'.GOSMTP_WWW_URL.'" target="_blank">GOSMTP</a><span> v'.GOSMTP_VERSION.' You can report any bugs </span><a href="http://wordpress.org/support/plugin/gosmtp" target="_blank">here</a>.
			</div>';
		
		}
	}
}

// GoSMTP Setting page
function gosmtp_settings_page(){

	$action = gosmtp_optget('auth');
	$state = gosmtp_optget('state');
	$code = gosmtp_optget('code');
	
	// For authentication of Gmail, Zoho and Outlook
	if(!empty($action) && !empty($state) && !empty($code)){
	
		$resp = explode('-',$state);

		$uri = admin_url().'admin.php?page=gosmtp&auth_code='.$code.'&auth='.$action;

		if(!empty($resp[1])){
			$uri.='&type=edit&&conn_id='.$resp[1].'#gosmtp-connections-settings';
		}
	
		echo '<script>window.location.href="'.$uri.'";</script>';
		return;
	}
	
	if(defined('GOSMTP_PREMIUM')){
		include_once GOSMTP_PRO_DIR .'/main/settings.php';
	}
	
	$all_mailers = gosmtp_load_mailer_list();
	$options = get_option('gosmtp_options', array());
	
	//do_action('gosmtp_before_settings_page_load');
	
	// Save SMTP details
	if (isset($_REQUEST['save'])) {
		
		// Check nonce
		check_admin_referer('gosmtp-options');

		$force_from_email = !empty($_REQUEST['force_from_email']) ? 1 : '';
		$force_from_name = !empty($_REQUEST['force_from_name']) ? 1 : '';
		$return_path = !empty($_REQUEST['return_path']) ? 1 : '';

		$save_mailer = gosmtp_optreq('mailer');
		$option['mail_type'] = $save_mailer;
		
		if(isset($_REQUEST['nickname'])){
			$option['nickname'] = gosmtp_optreq('nickname');
		}

		if(isset($_REQUEST['backup_mailer'])){
			$option['backup_connection'] = gosmtp_optreq('backup_mailer');
		}
		
		if(!isset($options['mailer'])){
			$options['mailer'] = [];
		}
		
		$mailer_id = 0;
		$redirect = false;
	
		// Update fields of mailer
		if(!empty($save_mailer) && !method_exists($all_mailers[$save_mailer], 'save_option')){
			
			// Set for primary email
			if(!isset($options['mailer'][0]) || (isset($_REQUEST['conn_id']) && is_numeric($_REQUEST['conn_id']) && $_REQUEST['conn_id'] == 0)){
				$options['from_email'] = gosmtp_optreq('from_email');
				$options['force_from_email'] = $force_from_email;
				$options['from_name'] = gosmtp_optreq('from_name');
				$options['force_from_name'] = $force_from_name;
				$options['return_path'] = $return_path;	
				$options['mailer'][0] = $all_mailers[$save_mailer]->save_options($option);
			}else{
			
				if(!empty($_REQUEST['conn_id'])){
					$mailer_id = $_REQUEST['conn_id'];
				}else{
					$redirect = true;
					$mailer_id = gosmtp_RandomId();
				}
				
				$option['from_email'] = gosmtp_optreq('from_email');
				$option['force_from_email'] = $force_from_email;
				$option['from_name'] = gosmtp_optreq('from_name');
				$option['force_from_name'] = $force_from_name;
				$option['return_path'] = $return_path;
				$options['mailer'][$mailer_id] = $all_mailers[$save_mailer]->save_options($option);
			}
		}

		$options = apply_filters( 'gosmtp_save_options', $options );
		
		if(update_option( 'gosmtp_options', $options )){
			$msg['success'] = 1;
			
			if($redirect){
				$uri = admin_url().'admin.php?page=gosmtp&type=edit&conn_id='.$mailer_id.'#gosmtp-connections-settings';
				echo '<script>window.location.href="'.$uri.'";</script>';
			}
		}
	}

	if(!empty($_REQUEST['delete_connection'])){
	
		// Check nonce
		check_admin_referer('gosmtp-options');

		$options = get_option('gosmtp_options', array());
		$conn_id = gosmtp_optreq('delete_connection');
		
		if(!empty($conn_id)){
			$backup_id = isset($options['mailer'][0]['backup_connection']) ? $options['mailer'][0]['backup_connection'] : '';

			if($backup_id == $conn_id){
				unset($options['mailer'][0]['backup_connection']);
			}

			// Remove connection
			unset($options['mailer'][$conn_id]);

			if(update_option( 'gosmtp_options', $options )){
				$msg['success'] = 1;
			}
		}
	}

	if(!empty($_REQUEST['make_backup_connection'])){
	
		// Check nonce
		check_admin_referer('gosmtp-options');

		$options = get_option('gosmtp_options', array());
		$conn_id = gosmtp_optreq('make_backup_connection');

		$options['mailer'][0]['backup_connection'] = $conn_id;

		if(update_option( 'gosmtp_options', $options )){
			$msg['success'] = 1;
		}
	}

	if(!empty($_REQUEST['clear_backup_connection'])){
	
		// Check nonce
		check_admin_referer('gosmtp-options');

		$options = get_option('gosmtp_options', array());
		$conn_id = gosmtp_optreq('clear_backup_connection');

		if(isset($options['mailer'][0]) && $options['mailer'][0]['backup_connection'] == $conn_id){
			unset($options['mailer'][0]['backup_connection']);
		}

		if(update_option( 'gosmtp_options', $options )){
			$msg['success'] = 1;
		}
	}
	
	// SMTP Settings
	if(isset($_REQUEST['save_settings'])){

		// Check nonce
		check_admin_referer('gosmtp-settings');

		$enable_logs = '';
		if(!empty($_REQUEST['enable_logs'])){
			
			$enable_logs = 1;
			
			if(class_exists('\GOSMTP\Logger')){
				$logger = new \GOSMTP\Logger();
				$logger->create_table();
			}
			
		}
		
		$save_attach = '';
		if(!empty($_REQUEST['log_attachments'])){
			$save_attach = 1;
		}
		
		$ret_period = '';
		if(!empty($_REQUEST['retention_period'])){
			$ret_period = sanitize_text_field($_REQUEST['retention_period']);
			
			// Cron already scheduled?
			if( ! empty($_REQUEST['enable_logs']) && ! wp_next_scheduled( 'gosmtp_log_retention_cron' ) ){
				// Set cron schedule
				wp_schedule_event( time(), 'daily', 'gosmtp_log_retention_cron' );
			}
		}
		
		// Is log retention cron scheduled?
		if(wp_next_scheduled( 'gosmtp_log_retention_cron' ) && (empty($_REQUEST['enable_logs']) || empty($_REQUEST['retention_period']))){
			wp_clear_scheduled_hook('gosmtp_log_retention_cron');
		}
		
		$log_columns = '';
		if(!empty($_REQUEST['log_columns'])){
			$log_columns = maybe_serialize(($_REQUEST['log_columns']));
		}
		
		$enable_weekly_reports = '';
		if(!empty($_REQUEST['enable_weekly_reports'])){
			$enable_weekly_reports = 1;
			
			// Cron already scheduled?
			if(!wp_next_scheduled( 'gosmtp_weekly_email_reports_cron', array(true) ) ){
				// Set cron schedule
				wp_schedule_event( time(), 'daily', 'gosmtp_weekly_email_reports_cron', array(true));
			}
			
		// Is log weekly email cron scheduled?
		}elseif( wp_next_scheduled( 'gosmtp_weekly_email_reports_cron' , array(true) ) ){
			wp_clear_scheduled_hook('gosmtp_weekly_email_reports_cron', array(true));
		}

		$weekday = '';
		$timestamp = '';
		
		if(!empty($_REQUEST['weekday']) && $enable_weekly_reports){
			$weekday = $_REQUEST['weekday'];
			$timestamp = strtotime("next ".$weekday);
		}	
				
		$options['logs'] = [];
		$options['logs']['enable_logs'] = $enable_logs;
		$options['logs']['log_attachments'] = $save_attach;
		$options['logs']['retention_period'] = $ret_period;
		$options['logs']['log_columns'] = $log_columns;
		$options['weekly_reports'] = [];
		$options['weekly_reports']['enable_weekly_reports'] = $enable_weekly_reports;
		$options['weekly_reports']['weekday'] = $weekday;
		$options['weekly_reports']['timestamp'] = $timestamp;
		
		$options = apply_filters( 'gosmtp_save_logs_settings', $options );
		
		if(update_option( 'gosmtp_options', $options )){
			$msg['success'] = 1;
		}
		
	}
	
	$smtp_options = get_option('gosmtp_options', array());
	
	// Default mailer set mail
	if(!isset($smtp_options['mailer']) || !is_array($smtp_options['mailer']) || empty($smtp_options['mailer'][0])){
		$smtp_options['mailer'] = [];
		$smtp_options['mailer'][0]['mail_type'] = 'mail';
	} 

	echo '<div class="wrap">';
	
	gosmtp_page_header();
	
	if(!empty($msg['success'])){
		echo '<div id="message" class="updated notice is-dismissible"><p>'.__('SMTP settings have been saved successfully!', 'gosmtp').'</p></div>';
	}

	if(!empty($send_mail['success'])){
		echo '<div id="message" class="updated notice is-dismissible"><p>'.__('Mail sent successfully!', 'gosmtp').'</p></div>';
	}else if(!empty($send_mail['error'])){
		echo '<div id="message" class="error notice is-dismissible">
		<p>'.( !empty($send_mail['error_msg']) ? wp_kses_post($send_mail['error_msg']) : __('Unable to send mail, Please check your SMTP details', 'gosmtp') ).'</p></div>';
	}
	
	$tabs_nav = array(
		'smtpsetting' => __('SMTP Settings', 'gosmtp'), 
		'test-mail' => __('Test Mail', 'gosmtp')	
	);

	if(!defined('SITEPAD')){
		$tabs_nav['support'] = __('Support', 'gosmtp');
	}
	
	$tabs_nav = apply_filters('gosmtp_settings_tabs_nav', $tabs_nav);
	?>
	<div class="gosmtp-setting-content">
		<div class="tabs-wrapper">
			<h2 class="nav-tab-wrapper gosmtp-wrapper">
				<?php
					foreach($tabs_nav as $id => $title){
						$classes = 'nav-tab';
						
						if($id == 'smtpsetting'){
							$classes .= ' nav-tab-active';
						}
						
						echo '<a href="#'. esc_attr($id) .'" class="'.esc_attr($classes).'">'.esc_html($title).'</a>';
					}
				?>
			</h2>
			<div class="gosmtp-tab-panel" id="smtpsetting">
				<form class="gosmtp-smtp-mail" name="smtp-details" method="post" action="">
					<?php  
						gosmtp_mailer_settings($smtp_options);
					?>
				</form>	
			</div>
			<div class="gosmtp-tab-panel" id="test-mail" style="display:none">
				<form class="gosmtp-smtp-mail" id="smtp-test-mail" name="test-mail" method="post" action="">
					<table class="form-table">
						<tr>
							<th scope="row"><?php _e('To', 'gosmtp'); ?>:</th>
							<td>
								<input type="email" name="reciever_test_email" class="regular-text" placeholder="example@example.com" required />
								<p class="description" id="tagline-description"><?php _e( 'Enter the recipient\'s email address.', 'gosmtp' ); ?></p>
							</td>
						</tr>
						<tr>
							<th scope="row"><?php _e('Subject', 'gosmtp'); ?>:</th>
							<td>
								<input type="text" name="smtp_test_subject" class="regular-text" placeholder="Enter Subject" value="Test Mail" required />
								<p class="description" id="tagline-description"><?php _e( 'Enter a subject for your message.', 'gosmtp' ); ?></p>
							</td>
						</tr>
						<tr class="gosmtp-test-message">
							<th scope="row"><?php _e('Message', 'gosmtp'); ?></th>
							<td>
								<textarea name="smtp_test_message" placeholder="Enter Message" class="regular-text" rows="10"required ><?php _e('This is a test mail!', 'gosmtp'); ?></textarea>
								<p class="description" id="tagline-description"><?php _e( 'Write your email message', 'gosmtp' ); ?> </p>
							</td>
						</tr>
						<?php
						do_action('gosmtp_pro_test_connection_and_template');
						?>
					</table>
					<p>
						<input type="submit" name="send_mail" id="send_mail" class="button button-primary" value="Send Mail">
					</p>
				</form>
			</div>
			<div class="gosmtp-tab-panel" id="support" style="display:none">
				<div style="width:70%; margin:20px auto; display:flex; justify-content:center; flex-direction:column; align-items:center; line-height:1.5;">
					<img src="<?php echo esc_url(GOSMTP_URL) .'/images/gosmtp-text.png'?>" width="200"/>
					<h2><?php esc_html_e('You can contact the GoSMTP Team via email. Our email address is', 'gosmtp'); ?> <a href="mailto:support@gosmtp.net">support@gosmtp.net</a> <?php esc_html_e('or through Our Premium Support Ticket System at', 'gosmtp'); ?> <a href="https://softaculous.deskuss.com" target="_blank"><?php _e('here', 'gosmtp'); ?></a></h2>
				</div>
			</div>
			
			<?php do_action('gosmtp_after_settings_tab_panel')?>
		</div>
	</div>
	<?php gosmtp_page_footer(); ?>
</div>

<script>
	// TODO: move this in init.php
	var gosmtp_ajaxurl = "<?php echo admin_url( 'admin-ajax.php' ) ?>?";
	var gosmtp_ajax_nonce = "<?php echo wp_create_nonce('gosmtp_ajax') ?>";
</script>

<?php

}

function gosmtp_mailer_settings($smtp_options, $is_new_connection = false){
	$all_mailers = gosmtp_load_mailer_list();

	// For default mailer
	$settings = !empty($smtp_options['mailer'][0]) ? $smtp_options['mailer'][0] : array();
	$settings['from_email'] = isset($smtp_options['from_email']) ? $smtp_options['from_email'] : '';
	$settings['force_from_email'] = isset($smtp_options['from_email']) ? $smtp_options['force_from_email'] : '';
	$settings['from_name'] = isset($smtp_options['from_name']) ? $smtp_options['from_name'] : '';
	$settings['force_from_name'] = isset($smtp_options['force_from_name']) ? $smtp_options['force_from_name'] : '';
	$settings['return_path'] = isset($smtp_options['return_path']) ? $smtp_options['return_path'] : '';
	$brand_name = !defined('SITEPAD') ? __('WordPress', 'gosmtp') : BRAND_SM;
	
	// Is new connection?
	if($is_new_connection){
	 	if(empty($smtp_options)){
	 		$smtp_options = [];
	 		$smtp_options['mail_type'] = 'mail';
	 	}

	 	// For backup mailer
		$settings = $smtp_options;
	}

	wp_nonce_field('gosmtp-options'); 
?>
	<table class="form-table">
		<?php
		if($is_new_connection){
		?>
		<tr>
			<th scope="row"><?php _e('Connection Nickname', 'gosmtp'); ?></th>
			<td>
				<input name="nickname" type="text" class="regular-text always_active" placeholder="Default Connection"  value="<?php if(!empty($settings['nickname'])){
					echo esc_attr($settings['nickname']);
				}?>"> 
			</td>
		</tr>
		<?php
		}
		?>
		<tr>
			<th scope="row"><?php _e('From Email', 'gosmtp'); ?></th>
			<td>
				<input name="from_email" type="text" class="regular-text always_active" placeholder="notifications@example.com"  value="<?php if(!empty($settings['from_email'])){
					echo esc_attr($settings['from_email']);
				}?>"> 
				<p class="description" id="tagline-description">
				<?php
					printf(
						__('Set the from email address for your %s emails. If you\'re using an email provider (Gmail, Outlook.com, etc.), this should be your email address for that account', 'gosmtp'),
						esc_html($brand_name)
					);
				?>
				</p>
				<p class="description" id="tagline-description"><i><?php _e("Please note, enable the below setting to apply this setting.", 'gosmtp'); ?></i></p>
				<br>
				<input name="force_from_email" type="checkbox" <?php if(!empty($settings['force_from_email'])){
					echo "checked";
				}?>>
				<label><?php _e('Force From Email', 'gosmtp');?></label>
				<p class="description" id="tagline-description"><?php _e( 'If checked, From email set by other plugins will be ignored and the above Form Email setting will be used.', 'gosmtp'); ?></p>
			
			</td>
		</tr>

		<tr>
			<th scope="row"><?php _e('From Name', 'gosmtp'); ?></th>
			<td>
				<input name="from_name" type="text" class="regular-text always_active" placeholder="My Website"  value="<?php if(!empty($settings['from_name'])){
					echo esc_attr($settings['from_name']);
				}?>"> 
				<p class="description" id="tagline-description"><?php _e( "Set the from name that emails are sent from.", 'gosmtp' ); ?></p>
				<br>
				<input name="force_from_name" type="checkbox" <?php if(!empty($settings['force_from_name'])){
					echo "checked";
				}?>>
				<label><?php _e('Force From Name', 'gosmtp');?></label>
				<p class="description" id="tagline-description"><?php _e( 'If checked, From name set by other plugins will be ignored and the above Form Name setting will be used.', 'gosmtp' ); ?></p>
			
			</td>
		</tr>

		<tr>
			<th scope="row"><?php _e('Return Path', 'gosmtp'); ?></th>
			<td>
				<input class="mail sendlayer mailgun smtp" name="return_path" type="checkbox" <?php if(!empty($settings['return_path'])){
					echo "checked";
				}?>>
				<label><?php _e('Set return-path', 'gosmtp');?></label>
				<p class="description" id="tagline-description"><?php _e( 'Set return-path to match the From Email, the return path indicates where non-delivery receipts or bounce messages are to be sent. If unchecked, non-delivery messages may be lost.', 'gosmtp' ); ?></p>
			</td>
		</tr>

		<tr>
			<th scope="row"><?php _e('Mailer', 'gosmtp'); ?></th>
			<td class="mailer_container">

			<?php
			$mailer_list = gosmtp_get_mailer_list();
			
			foreach($mailer_list as $key => $mailer){
				$is_pro = $disabled = $after_icon = '';
				$active_mailer = (isset($settings['mail_type']) && $settings['mail_type'] == $key) ? 'mail_active' : '';
				$icon = isset($mailer['icon']) ? $mailer['icon'] : GOSMTP_URL .'/images/'.$key.'.svg';

				if(!class_exists($mailer['class'])){
					$is_pro = 'pro';
					$disabled = 'disabled';
					$after_icon='<div class="lock_icon">
						<span class="dashicons dashicons-lock"></span>
					</div>';
				}
				
				echo '<div class="gosmtp-mailer-input always_active '.esc_attr($is_pro).'">
					<label class="label">'. esc_html($mailer['title']) .'</label>
					<div for="'.esc_attr($key).'" class="mailer_label '.esc_attr($active_mailer).'" data-name="'.esc_attr($key).'">
						<img src="'. esc_attr($icon) .'" class="mailer" >
						'.wp_kses_post($after_icon).'
					</div>
					<input id="'.esc_attr($key).'" class="mailer_check" data-name="'.esc_attr($key).'" name="mailer" type="radio" '.esc_attr($disabled).' value="'. esc_attr($key) .'" '. checked( $key, (isset($settings['mail_type'])  ? $settings['mail_type'] : ''),false ).'>
				</div>';
			}
			?>
			</td>
		</tr>
		<?php
		
			foreach($all_mailers as $key => $mailer){
				
				if(!method_exists($mailer, 'load_field')){
					continue;
				}

				echo '<tr>
					<td><h1 class="'.esc_attr($key).' smtp_heading">'. esc_html($mailer->title) .'</h1><td>
				</tr>';
				
				// Load current options
				$mailer->loadOptions();
				
				$conn_id = $is_new_connection ? '' : 0;

				if($is_new_connection){
					$conn_id = gosmtp_optget('conn_id');
				}

				// Set connection id
				$mailer->conn_id = $conn_id;

				echo gosmtp_create_field($mailer->load_field(), $mailer);
			}
		?>
		<?php 
		if(defined('GOSMTP_PREMIUM') && isset($smtp_options['mailer'][0])){
		?>
		<tr class="always_active">
			<th scope="row"><?php _e('Backup Connection', 'gosmtp'); ?></th>
			<td>
				<select name="backup_mailer" class="regular-text">
					<option value=""><?php _e('None', 'gosmtp'); ?></option>
			<?php
			if(count($smtp_options['mailer']) > 1){
			?>
				
				<?php foreach($smtp_options['mailer'] as $key => $mailer){
					if($key === 0){
						continue;
					}
					$con_id = !empty($settings['backup_connection']) ? $settings['backup_connection'] : '';
					$conn_name = !empty($mailer['nickname']) ? $mailer['nickname'] : __('(No Name)', 'gosmtp');
					$conn_type = !empty($mailer['mail_type']) ? ucfirst($mailer['mail_type']) : '';
					echo "<option value='".esc_attr($key)."' ".selected($con_id, $key, true).">".esc_html($conn_name).' - ['.esc_html($conn_type)."]</option>";
				}
			}?>
				</select>
				<p class="description" id="tagline-description"><?php 
					printf(
						'Set backup email address for your %s emails. If primary mailer fails then backup mailer will be used to send the mail.',
						esc_html($brand_name)
					);
				?>
				</p>
			</td>
		</tr>
		<?php
		}
		?>
	</table>
	<p>
		<?php
			if(!empty($smtp_options['mailer'][0]) || !empty($settings['conn_id'])){
		?>
			<input type="hidden" name="conn_id" value="<?php echo esc_attr($is_new_connection && !empty($settings['conn_id']) ? $settings['conn_id'] : 0); ?>">
		<?php
			}
		?>
		<input type="submit" name="save" class="button button-primary" value="Save Changes">
	</p>
<?php
}

function gosmtp_create_field($fields, $mailer){
	$html = '';
	
	if(!is_array($fields)){
		return $html;
	}
	
	foreach($fields as $key => $field){
		
		$attrs = '';
		
		if(!empty($field['attr'])){
			$attrs .= esc_attr($field['attr']);
		}
		
		// Added attributes
		if(!in_array($field['type'], array('button', 'notice'))){
			
			$_type = ($field['type'] == 'copy') ? 'text' : $field['type'];
			
			$attrs .= ' type="'.esc_attr($_type).'"';
			$attrs .= ' name="'.esc_attr($mailer->mailer.'['.$key.']').'"';
		}
		
		// Added Classes
		$classes = esc_attr($mailer->mailer);
		
		if(!empty($field['class'])){
			$classes .= ' '.esc_attr($field['class']);
		}
		
		// Get value
		$val = $mailer->getOption($key, $mailer->mailer);
		
		if(empty($val)){
			$val = isset($field['default']) ? $field['default'] : '';
		}
		
		$placeholder = empty($field['place_holder']) ? '' : esc_attr($field['place_holder']);
		$list = empty($field['list']) ? array() : $field['list'];
		
		$input_html = '';
		
		switch($field['type']){
			case 'radio':
			
				foreach($list as $list_key => $list_value){
					$input_html .= '<input class="'.$classes.'" value="'.esc_attr($list_key).'" '.$attrs.''.checked($list_key, $val, false).'>
					<label>'.esc_html($list_value).'</label>';
				}
				
				break;

			case 'checkbox':
				
				$input_html .= '<input value="1" class="regular-text '.$classes.'" '.$attrs.' '.checked('1', $val, false).'>';
				
				break;

			case 'button':
			
				$href = empty($field['href']) ? '#' : esc_url($field['href']);
				
				$input_html .= '<a href="'.$href.'"class="button '.$classes.'" '.$attrs.'>'.esc_html($val).'</a>';
				
				break;
				
			case 'notice':

				$input_html .= '<div id="message" class="notice_container '.$classes.'">'.esc_html($val).'</div>';
				
				break;

			case 'select':

				$input_html .='<select class="regular-text '.$classes.'" '.$attrs.'>';
				
				foreach($list as $list_key => $list_value){
					$input_html .= '<option value="'.esc_attr($list_key).'" '.selected($list_key, $val, false).'>'.esc_html($list_value).'</option>';
				}
				
				$input_html .='</select>';
				
				break;
			
			 case 'copy':
			 
				$id = empty($field['id']) ? '' : esc_attr($field['id']);
				
				$input_html .= '<input class="regular-text gosmtp_copy '.$classes.'" placeholder="'.$placeholder.'" id="'.$id.'" value="'.esc_attr($val).'" '.$attrs.'>
				<span class="dashicons dashicons-admin-page " title="Copy" onclick="gosmtp_copy_url(\''.$id.'\')"></span>
				<p class="gosmtp_copy_message '.$id.'">'. __('Message coppied Successfully', 'gosmtp') .'.</p>';
				
				break;


			default:
			
				$input_html .= '<input class="regular-text '.$classes.'" placeholder="'.$placeholder.'" value="'.esc_attr($val).'" '.$attrs.'>';
				break;
		}
		
		$description = empty($field['desc']) ? '' : wp_kses_post($field['desc']);
		
		$html .= '<tr class='.(empty($field['tr_class']) ? '' : esc_attr($field['tr_class'])).'>
			<th scope="row">'.esc_html($field['title']).'</th>
			<td>
				'.$input_html.'
				<p class="description" id="tagline-description">'.wp_kses_post($description).'</p>
			</td>
		</tr>';
	}
	
	return $html;
}PK׍�[lq�0��main/functions.phpnu�[���<?php
/*
* GoSMTP
* https://gosmtp.net
* (c) Softaculous Team
*/

if(!defined('GOSMTP_VERSION')){
	die('Hacking Attempt!');
}

// Load mailer list
function gosmtp_get_mailer_list(){
	
	$list = array(
		'mail' => [ 'title' => __('Mail', 'gosmtp'), 'class' => 'GOSMTP\Mailer\Mail'],
		'smtp' => [ 'title' => __('Other SMTP', 'gosmtp'), 'class' => 'GOSMTP\Mailer\SMTP'],
		'amazonses' => [ 'title' => __('AmazonSES', 'gosmtp'), 'class' => 'GOSMTP\Mailer\AmazonSES\AmazonSES'],
		'gmail' => [ 'title' => __('Gmail', 'gosmtp'), 'class' => 'GOSMTP\Mailer\Gmail\Gmail'],
		'outlook' => [ 'title' => __('Outlook', 'gosmtp'), 'class' => 'GOSMTP\Mailer\Outlook\Outlook'],
		'zoho' => [ 'title' => __('Zoho', 'gosmtp'), 'class' => 'GOSMTP\Mailer\Zoho'],
		'sendlayer' => [ 'title' => __('Sendlayer', 'gosmtp'), 'class' => 'GOSMTP\Mailer\Sendlayer'],
		'smtpcom' => [ 'title' => __('SMTPcom', 'gosmtp'), 'class' => 'GOSMTP\Mailer\SMTPcom'],
		'sendinblue' => [ 'title' => __('Brevo', 'gosmtp'), 'class' => 'GOSMTP\Mailer\Sendinblue'],
		'mailgun' => [ 'title' => __('Mailgun', 'gosmtp'), 'class' => 'GOSMTP\Mailer\Mailgun'],
		'postmark' => [ 'title' => __('Postmark', 'gosmtp'), 'class' => 'GOSMTP\Mailer\Postmark'],
		'sendgrid' => [ 'title' => __('Sendgrid', 'gosmtp'), 'class' => 'GOSMTP\Mailer\Sendgrid'],
		'sparkpost' => [ 'title' => __('Sparkpost', 'gosmtp'), 'class' => 'GOSMTP\Mailer\Sparkpost'],
		'elasticemail' => [ 'title' => __('Elastic Email', 'gosmtp'), 'class' => 'GOSMTP\Mailer\ElasticEmail'],
		'smtp2go' => [ 'title' => __('SMTP2Go', 'gosmtp'), 'class' => 'GOSMTP\Mailer\SMTP2Go'],
		'maileroo' => [ 'title' => __('Maileroo', 'gosmtp'), 'class' => 'GOSMTP\Mailer\Maileroo'],
	);
	
	return apply_filters( 'gosmtp_get_mailer_list', $list );
}

// Load mailer list
function gosmtp_load_mailer_list(){
	
	$list = gosmtp_get_mailer_list();
	
	$gosmtpmailer = array();
	
	foreach($list as $key => $mailer){
		
		$class = $mailer['class'];
		
		if(!class_exists($class)){
			continue;
		}
		
		$gosmtpmailer[$key] = new $class();
	}
		
	return apply_filters( 'gosmtp_load_mailer_list', $gosmtpmailer );
}

function gosmtp_clean($var){
	
	if(is_array($var) || is_object($var)){
		return map_deep($var, 'sanitize_text_field');
	}
	
	if(is_scalar($var)){
		return sanitize_text_field($var);
	}

	return '';

}

// Check if a field is posted via GET else return default value
function gosmtp_optget($name, $default = ''){
	
	if(!empty($_GET[$name])){
		return gosmtp_clean($_GET[$name]);
	}
	
	return $default;	
}

// Check if a field is posted via POST else return default value
function gosmtp_optpost($name, $default = ''){
	
	if(!empty($_POST[$name])){
		return gosmtp_clean($_POST[$name]);
	}
	
	return $default;	
}

// Check if a field is posted via REQUEST else return default value
function gosmtp_optreq($name, $default = ''){
	
	if(!empty($_REQUEST[$name])){
		return gosmtp_clean($_REQUEST[$name]);
	}
	
	return $default;	
}

// Simply echo and dir
function gosmtp_json_output(&$done){
	echo json_encode($done);
	wp_die();
}

// Generate a random string
function gosmtp_RandomId($length = 10){
	$characters = '0123456789abcdefghijklmnopqrstuvwxyz';
	$charactersLength = strlen($characters);
	$randomString = '';
	for($i = 0; $i < $length; $i++){
		$randomString .= $characters[rand(0, $charactersLength - 1)];
	}
	return $randomString;
}

// Show notice
function gosmtp_show_notices(){
	
	$options = get_option('gosmtp_options', array());
	
	if(defined('GOSMTP_PREMIUM') && empty($options['logs']['enable_logs'])){
		echo '<div class="error is-dismissible notice">
			<p>'.__('Email log is disabled. To store and view email logs, please enable email logs from GoSMTP ', 'gosmtp').' <a href="'.admin_url('admin.php?page=gosmtp#logs-settings').'">'.__('settings', 'gosmtp').'</a>.</p>
		</div>';
	}
	
	if(empty($options['mailer']) || empty($options['mailer'][0]) || $options['mailer'][0]['mail_type'] == 'mail'){
		echo '<div class="error is-dismissible notice">
			<p>'.__('It seems that you haven\'t configured GoSMTP mailer yet or it is set to default PHP. You need to setup mailer to send emails via SMTP. To setup the mailer settings click', 'gosmtp').' <a href="'.admin_url('admin.php?page=gosmtp#smtpsetting').'">'.__('here', 'gosmtp').'</a>.</p>
		</div>';
	}
	
	do_action('gosmtp_show_notices');
}
PK׍�[
IC-��main/mailer/smtpcom.phpnu�[���<?php
/**
 * Class GOSMTP_Mailer_SMTPcom.
 *
 * @since 1.0.0
 */

namespace GOSMTP\Mailer;
 
use GOSMTP\Mailer\Loader;

class SMTPcom extends Loader{
	
	var $title = 'SMTP.com';

	var $mailer = 'smtpcom';

	var $url = 'https://api.smtp.com/v4/messages';
	
	public function send(){
		global $phpmailer;

		$phpmailer->isMail();

		if($phpmailer->preSend()){
			$response = $this->postSend();
		 	return $this->handle_response( $response );
		}
		
		return $this->handle_response(new \WP_Error(400, 'Unable to send mail for some reason!', []));
	}

	public function postSend(){		
		global $phpmailer;

		$sender = array(
			'address' => $phpmailer->From,
		);
		
		if(!empty($phpmailer->FromName)){
			$sender['name'] = $phpmailer->FromName;
		}

		$body = array(
			'originator' => [
				'from' => $sender,
			],
			'subject' => $phpmailer->Subject,
			'channel' => $this->getOption('channel', $this->mailer),
			'body' => array(
				'parts' => $this->set_content($phpmailer->Body)
			)
		);
		
		$reply_to = $this->filterRecipientsArray($phpmailer->getReplyToAddresses());
		
		if(!empty($reply_to)){
			$body['originator']['reply_to'] = $reply_to;
		}
		
		$recipients = array(
			'to'  => $this->filterRecipientsArray($phpmailer->getToAddresses()),
			'cc'  => $this->filterRecipientsArray($phpmailer->getCcAddresses()),
			'bcc' => $this->filterRecipientsArray($phpmailer->getBccAddresses())
		);
		
		$body['recipients'] = array_filter($recipients);
		
		$attachments = $phpmailer->getAttachments();
		
		if(!empty($attachments)){
			$body['body']['attachments'] = $this->getAttachments($attachments);
		}
		
		$timeout = (int) ini_get( 'max_execution_time' );

		$api_key = $this->getOption('api_key', $this->mailer);		

		$headers = [
			'Authorization' => 'Bearer ' .$api_key,
			'content-type' => 'application/json',
			'Accept' => 'application/json'
		];

		$custom_headers = $phpmailer->getCustomHeaders();
		$body['custom_headers'] = array_merge($custom_headers,['X-Mailer' => 'GOSMTPMailer - SMTPCom']);

		$params = array(
			'headers' => $headers,
			'body' => wp_json_encode($body),
			'timeout' => $timeout ? $timeout : 30
		);

		// print_r(json_encode($body, JSON_PRETTY_PRINT));

		$response = wp_safe_remote_post($this->url, $params);

		if(is_wp_error($response)){
			$returnResponse = new \WP_Error($response->get_error_code(), $response->get_error_message(), $response->get_error_messages());
		}else{
			$responseBody = wp_remote_retrieve_body($response);
			$responseCode = wp_remote_retrieve_response_code($response);

			$responseBody = \json_decode($responseBody, true);
			
			// TODO: check aginf for error
			if($responseCode == 200) {
				$returnResponse = [
					'status' => true,
					'code' => 200,
					'messageId' => $responseBody['id'],
					'message' => $responseBody['message'], 
				];
			}else{
				$error_text = [''];
				if(!empty($responseBody['data']) ){
					foreach( (array) $responseBody['data'] as $error_key => $error_message ) {
						$error_text[] = $this->message_formatting( $error_message );
					}
				}else{
					$error_text[] = $this->get_response_error_message($response);
				}
				
				$error_msg = implode( '\r\n', array_map( 'esc_textarea', array_filter( $error_text ) ) );
				$returnResponse = new \WP_Error($responseCode, $error_msg, $responseBody);

			}
		}
		
		return $returnResponse;
	}

	public function set_content( $content ){
		global $phpmailer;

		if( empty( $content ) ){
			return;
		}

		$parts = [];

		if( is_array( $content ) ){
			$allowed = [ 'text', 'html' ];

			foreach( $content as $type => $body ){
				if( ! in_array( $type, $allowed, true ) || empty( $body ) ){
					continue;
				}

				$content_type  = 'text/plain';
				$content_value = $body;

				if( $type === 'html' ){
					$content_type = 'text/html';
				}

				$parts[] = [
					'type' => $content_type,
					'content' => $content_value,
					'charset' => $phpmailer->CharSet,
				];
			}
		}else{
			$content_type  = 'text/html';
			$content_value = $content;

			if( $this->phpmailer->ContentType === 'text/plain' ){
				$content_type = 'text/plain';
			}

			$parts[] = [
				'type'    => $content_type,
				'content' => $content_value,
				'charset' => $this->phpmailer->CharSet,
			];
		}
		
		return $parts;

	}

	protected function filterRecipientsArray($args){
		$recipients = [];

		foreach($args as $key => $recip){
			
			$recip = array_filter($recip);

			if(empty($recip) || ! filter_var( $recip[0], FILTER_VALIDATE_EMAIL ) ){
				continue;
			}

			$recipients[$key] = array(
				'address' => $recip[0]
			);

			if(!empty($recip[1])){
				$recipients[$key]['name'] = $recip[1];
			}
		}

		return $recipients;
	}

	public function getAttachments( $attachments ){

		if( empty( $attachments ) ){
			return;
		}

		$data = [];

		foreach( $attachments as $attachment ){
			$file = false;

			try{
				if( $attachment[5] === true ){
					$file = $attachment[0];
				}elseif( is_file( $attachment[0] ) && is_readable( $attachment[0] ) ){
					$file = file_get_contents( $attachment[0] );
				}
			}catch( \Exception $e ){
				$file = false;
			}

			if( $file === false ){
				continue;
			}

			$filetype = str_replace( ';', '', trim( $attachment[4] ) );

			$data[] = [
				'content' => chunk_split( base64_encode( $file ) ),
				'type' => $filetype,
				'encoding' => 'base64',
				'filename' => empty( $attachment[2] ) ? 'file-' . wp_hash( microtime() ) . '.' . $filetype : trim( $attachment[2] ),
				'disposition' => in_array( $attachment[6], [ 'inline', 'attachment' ], true ) ? $attachment[6] : 'attachment',
				'cid' => empty( $attachment[7] ) ? '' : trim( (string) $attachment[7] ),
			];
		}

		return $data;
	}
	
	public function load_field(){

		$fields = array(
			'api_key' => array(
				'title' => __('API Key', 'gosmtp'),
				'type' => 'password',
				'desc' => __( 'Follow this link to get an API Key from SMTP.com: <a href="https://my.smtp.com/settings/api" target="_blank">Get API Key.</a>', 'gosmtp' ),
			),
			'channel' => array(
				'title' => __('Sender Name', 'gosmtp'),
				'type' => 'text',
				'desc' => __( 'Follow this link to get a Sender Name from SMTP.com: <a href="https://my.smtp.com/senders/" target="_blank">Get Sender Name.</a>', 'gosmtp' ),
			),
		);
		
		return $fields;
	}
}
PK؍�[NE8��main/mailer/maileroo.phpnu�[���<?php
/**
 * Class GOSMTP_Mailer_Maileroo.
 *
 * @since 1.1.5
 */

namespace GoSMTP\Mailer;

use GOSMTP\Mailer\Loader;

class Maileroo extends Loader{

	var $title = 'Maileroo';
	var $mailer = 'maileroo';
	var $url = 'https://smtp.maileroo.com/api/v2/emails';

	public function send(){
		global $phpmailer;

		if($phpmailer->preSend()){
			$response = $this->postSend();
			return $this->handle_response($response);
		}

		return $this->handle_response(new \WP_Error(400, 'Unable to send mail for some reason!', []));
	}

	protected function postSend(){
		global $phpmailer;

		try{
			$api_key = $this->getOption('api_key', $this->mailer);

			if(empty($api_key)){
				return new \WP_Error(401, 'Maileroo Sending Key is missing');
			}

			// Maileroo requires subject to be passed
			$subject = $phpmailer->Subject;
			if(empty($subject)){
				$subject = 'Mail sent from: '. site_url();
			}

			//Prepare Maileroo v2 API JSON Payload
			$payload = [
				'from' => [
					'address' => $phpmailer->From,
					'display_name' => $phpmailer->FromName,
				],
				'to' => [],
				'subject' => $subject,
				'text' => '',
				'html' => '',
				'attachments' => $this->getAttachments(),
			];

			foreach($this->filterRecipientsArray($phpmailer->getToAddresses()) as $to){
				$payload['to'][] = ['address' => $to];
			}

			foreach($this->filterRecipientsArray($phpmailer->getCcAddresses()) as $cc){
				$payload['cc'][] = ['address' => $cc];
			}

			foreach($this->filterRecipientsArray($phpmailer->getBccAddresses()) as $bcc){
				$payload['bcc'][] = ['address' => $bcc];
			}

			foreach($this->filterRecipientsArray($phpmailer->getReplyToAddresses()) as $replyTo){
				$payload['reply_to'][] = ['address' => $replyTo];
			}
    
			if(!empty($phpmailer->AltBody)){
				$payload['text'] = $phpmailer->AltBody;
			}

			if(!empty($phpmailer->Body)){
				$payload['html'] = $phpmailer->Body;
			}

			$params = [
				'method'  => 'POST',
				'headers' => $this->getRequestHeaders(),
				'body' => wp_json_encode($payload)
			];

			$response = wp_safe_remote_request($this->url, $params);

			if(is_wp_error($response)){
				return new \WP_Error($response->get_error_code(), $response->get_error_message(), $response->get_error_messages());
			}

			$resp_body = wp_remote_retrieve_body($response);
			$resp_code = wp_remote_retrieve_response_code($response);
			$resp_body = \json_decode($resp_body, true);

			if(200 === $resp_code){
				$msgId = isset($resp_body['data']['reference_id']) ? $resp_body['data']['reference_id'] : '';
				$status = 'Email sent successfully';
				$return_response = [
					'status' => true,
					'code' => $resp_code,
					'messageId' => $msgId,
					'message' => $status
				];
			} else{
				$err_code = $resp_code;
				$error_text = [''];

				if(!empty($resp_body['Error']) && is_array($resp_body['Error'])){
					$message = $resp_body['Error'];
					$code = isset($resp_body['Code']) ? $resp_body['Code'] : '';

					$error_text[] = $this->message_formatting($message, $code);
				} else{
					$error_text[] = $this->get_response_error_message($response);
				}

				$error_msg = implode('\r\n', array_map('esc_textarea', array_filter($error_text)));
				$return_response = new \WP_Error($err_code, $error_msg, $resp_body);
			}
		} catch(\Exception $e){
			return new \WP_Error(423, $e->getMessage(), []);
		}

		return $return_response;
	}

	protected function getRequestHeaders(){
		return [
			'X-Api-Key' => $this->getOption('api_key', $this->mailer),
			'Content-Type'  => 'application/json',
			'Accept' => 'application/json'
		];
	}

	protected function getAttachments(){
		global $phpmailer;

		$attachments_raw = $phpmailer->getAttachments();
		$attachments = [];

		if(!empty($attachments_raw)){
			// Handles multiple filenames
			foreach($attachments_raw as $attachment){
				$file_path = $attachment[0];
				if(file_exists($file_path) && is_file($file_path) && is_readable($file_path)){
					$file_content = file_get_contents($file_path);
					if(empty($file_content)){
						continue;
					}

					$attachments[] = [
						'file_name' => basename($file_path),
						'content_type' => $this->determineMimeContentType($file_path),
						'content' => base64_encode($file_content)
					];
				}
			}
		}

		return $attachments;
	}
	
	protected function filterRecipientsArray($args){
		$recipients = [];
		foreach($args as $key => $recip){
			
			$recip = array_filter($recip);

			if(empty($recip) || ! filter_var($recip[0], FILTER_VALIDATE_EMAIL)){
				continue;
			}
			
			$recipients[] = $recip[0];
		}

		return $recipients;
	}

	protected function determineMimeContentType($filename){

		if(function_exists('mime_content_type')){
			return mime_content_type($filename);
		} elseif(function_exists('finfo_open')){
			$finfo = finfo_open(FILEINFO_MIME_TYPE);
			$mime_type = finfo_file($finfo, $filename);
			finfo_close($finfo);
			return $mime_type;
		}

		return 'application/octet-stream';
	}

	public function load_field(){
		$options = $this->getMailerOption();

		$fields = [
			'api_key' => [
				'title' => __('Sending Key', 'gosmtp'),
				'type' => 'password',
				'desc' => sprintf(__('Follow this link to get a Sending Key from Maileroo: %1$sGet Sending Key%2$s%3$s
						Special Offer: Get 7,000 emails/month for first 4 months! %4$sClaim Offer%5$s', 'gosmtp'),
						'<a href="https://app.maileroo.com/domains/" target="_blank">', '</a>', '<br>', '<a href="https://maileroo.com/?r=gosmtp" target="_blank">', '</a>'
					),
			]
		];

		return $fields;
	}
}PKٍ�[[�N�::main/mailer/postmark.phpnu�[���<?php
/**
 * Class GOSMTP_Mailer_Postmark.
 *
 * @since 1.0.0
 */
 
namespace GOSMTP\Mailer;
 
use GOSMTP\Mailer\Loader;

class Postmark extends Loader{

	var $title = 'Postmark';
	var $mailer = 'postmark';
	var $url = 'https://api.postmarkapp.com/email';

	public function send(){
		global $phpmailer;

		$phpmailer->isMail();

		if ($phpmailer->preSend()) {
			$return_response = $this->postSend();
			return $this->handle_response( $return_response );
		}

		return $this->handle_response(new \WP_Error(400, 'Unable to send mail for some reason!', []));
	}

	public function postSend(){
		global $phpmailer;

		$body = array(
			'From' => $phpmailer->From,
			'To' => $this->getRecipients($phpmailer->getToAddresses()),
			'Subject' => $phpmailer->Subject,
		);
		
		$message_id = $this->getOption('message_stream_id', $this->mailer);
		
		if(!empty($message_id)){
			$body['MessageStream'] = $message_id;
		}
		
		if($replyTo = $this->getRecipients($phpmailer->getReplyToAddresses())){
			$body['ReplyTo'] = $replyTo;
		}

		if($bcc = $this->getRecipients($phpmailer->getBccAddresses())){
			$body['Bcc'] = $bcc;
		}

		if($cc = $this->getRecipients($phpmailer->getCcAddresses())){
			$body['Cc'] = $cc;
		}

		if($phpmailer->ContentType == 'text/plain'){
			$body['TextBody'] = $phpmailer->Body;
		} else {
			$body['HtmlBody'] = $phpmailer->Body;

			// TODO: create stting and if is true then set this to true
			$body['TrackOpens'] = true;

			// TODO: create stting and if is true then set this to HtmlOnly
			$body['TrackLinks'] = 'HtmlOnly';
		}

		if(!empty($phpmailer->AltBody)){
			$body['TextBody'] = $phpmailer->AltBody;
		}

		if(!empty($phpmailer->getAttachments())){
			$body['Attachments'] = $this->getAttachments();
		}

		// Handle apostrophes in email address From names by escaping them for the Postmark API.
		$from_regex = "/(\"From\": \"[a-zA-Z\\d]+)*[\\\\]{2,}'/";

		$args = array(
			'headers' => $this->getRequestHeaders(),
			'body' => preg_replace($from_regex, "'", wp_json_encode($body), 1),
		);

		$response = wp_remote_post($this->url, $args);

		if(is_wp_error($response)){
			$return_response = new \WP_Error($response->get_error_code(), $response->get_error_message(), $response->get_error_messages());
		}else{
			$responseBody = wp_remote_retrieve_body($response);
			$responseCode = wp_remote_retrieve_response_code($response);

			$responseBody = \json_decode($responseBody, true);

			if($responseCode == 200){
				$return_response = [
					'status' => true,
					'code' => $responseCode,
					'id' => $responseBody['MessageID'],
					'message' => $responseBody['Message'],
				];
			}else{
				$error_text = [''];
				if(!empty( $responseBody['Message'])){
					$message = $responseBody['Message'];
					$code = ! empty( $responseBody['ErrorCode'] ) ? $responseBody['ErrorCode'] : '';
					
					$error_text[] = $this->message_formatting( $message, $code );
				}else{
					$error_text[] = $this->get_response_error_message($response);
				}
				
				$error_msg = implode( '\r\n', array_map( 'esc_textarea', array_filter( $error_text ) ) );
				$return_response = new \WP_Error($responseCode, $error_msg, $responseBody);
			}
		}

		return $return_response ;
	}

	public function getRecipients($recipient){
		$recipients = $this->filterRecipientsArray($recipient);

		$array = array_map(function($recipient){
			return isset($recipient['name'])
			? $recipient['name'] . ' <' . $recipient['address'] . '>'
			: $recipient['address'];
			},
			$recipients
		);

		return implode(', ', $array);
	}

	function getRequestHeaders(){
		return array(
			'Accept' => 'application/json',
			'Content-Type' => 'application/json',
			'X-Postmark-Server-Token' => $this->getOption('server_api_token', $this->mailer),
		);
	}

	protected function getAttachments(){
		global $phpmailer;

		$data = [];
		$attachments = $phpmailer->getAttachments();

		foreach($attachments as $attachment){
			$file = false;

			try{
				if(is_file($attachment[0]) && is_readable($attachment[0])){
					$fileName = basename($attachment[0]);
					$file = file_get_contents($attachment[0]);
				}
			}catch(\Exception $e){
				$file = false;
			}

			if($file === false){
				continue;
			}

			$data[] = array(
				'Name'        => $fileName,
				'Content'     => base64_encode($file),
				'ContentType' => $this->determineMimeContentRype($attachment[0])
			);
		}

		return $data;
	}

	protected function determineMimeContentRype($filename){

		if(function_exists('mime_content_type')){
			return mime_content_type($filename);
		}elseif(function_exists('finfo_open')){
			$finfo = finfo_open(FILEINFO_MIME_TYPE);
			$mime_type = finfo_file($finfo, $filename);
			finfo_close($finfo);
			return $mime_type;
		}

		return 'application/octet-stream';
	}

	public function load_field(){

		$fields = array(
			'server_api_token' => array(
				'title' => __('Server API Token', 'gosmtp'),
				'type' => 'password',
				'desc' => __( 'Follow this link to get a Server API Token from Postmark: <a href="https://account.postmarkapp.com/login" target="_blank">Get Server API Token.</a>', 'gosmtp' ),
			),
			'message_stream_id' => array(
				'title' => __('Message Stream ID', 'gosmtp'),
				'type' => 'text',
				'desc' => __( 'Follow this link to get a Server API Token from Postmark: <a href="https://account.postmarkapp.com/login" target="_blank">Get Server API Token.</a>', 'gosmtp' ),
			),
		);
		
		return $fields;
	}
}PKٍ�[W�q]��main/mailer/smtp.phpnu�[���<?php
/**
 * Class GOSMTP_Mailer_SMTP.
 *
 * @since 1.0.0
 */
 
namespace GOSMTP\Mailer;
 
use GOSMTP\Mailer\Loader;

class SMTP extends Loader{
	
	var $title = 'Other SMTP';
	var $mailer = 'smtp';
	
	/**
	 * Override default mail send function.
	 * @since 1.0.0
	 */
	public function send(){
		global $phpmailer;
		
		$phpmailer->isSMTP();
		
		$encryption = $this->getOption('encryption', $this->mailer);
		
		if ( !empty($encryption) && 'none' !== $encryption) {
			$phpmailer->SMTPSecure = $encryption;
		}

		// Set the other options
		$phpmailer->Host = $this->getOption('smtp_host', $this->mailer);
		$phpmailer->Port = $this->getOption('smtp_port', $this->mailer);

		// If we're using smtp auth, set the username & password
		$smtp_auth = $this->getOption('smtp_auth', $this->mailer);
		if(!empty($smtp_auth) && $smtp_auth == 'Yes'){
			$phpmailer->SMTPAuth = true;
			$phpmailer->Username = $this->getOption('smtp_username', $this->mailer);
			$phpmailer->Password = $this->getOption('smtp_password', $this->mailer);
		}
		
		//PHPMailer 5.2.10 introduced this option. However, this might cause issues if the server is advertising TLS with an invalid certificate.
		$phpmailer->SMTPAutoTLS = false;
		
		$ssl_verification = $this->getOption('disable_ssl_verification', $this->mailer);
		
		if(!empty( $ssl_verification )) {
			// Insecure SSL option enabled
			$phpmailer->SMTPOptions = array(
				'ssl' => array(
					'verify_peer'       => false,
					'verify_peer_name'  => false,
					'allow_self_signed' => true,
				),
			);
		}

		//set reasonable timeout
		$phpmailer->Timeout = 10;
		
		if($phpmailer->preSend()){
			try{
				if($phpmailer->postSend()){
					$response = [
						'status' => true,
						'code' => 200,
						'messageId' => '',
						'message' => 'Mail sent successfully',
					];
					return $this->handle_response($response);
				}
			}catch( \Exception $e ){
				return $this->handle_response(new \WP_Error(400,  $e->getMessage(), []));
			}
		}
		return $this->handle_response(new \WP_Error(400, 'Unable to send mail for some reason!', []));
	}
	
	public function load_field(){
		
		$fields = array(
			'smtp_host' => array(
				'title' => __('SMTP Host', 'gosmtp'),
				'type' => 'text',
				'place_holder' => 'smtp.example.com',
				'desc' => __( 'Your mail server', 'gosmtp' ),
			),
			'encryption' => array(
				'title' => __('Type of Encryption', 'gosmtp'),
				'type' => 'radio',
				'desc' => __( 'For most servers TLS is the recommended option. If your SMTP provider offers both SSL and TLS options, we recommend using TLS.', 'gosmtp' ),
				'list' => array(
					'none' => 'None',
					'ssl' => 'SSL',
					'tls' => 'TLS',	
				),
			),
			'smtp_port' => array(
				'title' => __('SMTP Port', 'gosmtp'),
				'type' => 'text',
				'place_holder' => '465',
				'desc' => __( 'The port to your mail server', 'gosmtp' ),
			),
			'smtp_auth' => array(
				'title' => __('SMTP Authentication', 'gosmtp'),
				'type' => 'radio',
				'desc' => __( 'This options should always be checked Yes', 'gosmtp' ),
				'list' => array(
					'No' => 'No',
					'Yes' => 'Yes',
				),
			),
			'smtp_username' => array(
				'title' => __('SMTP Username', 'gosmtp'),
				'type' => 'text',
				'place_holder' => 'admin',
				'tr_class' => 'smtp-authentication',
				'desc' => __( 'The username to login to your mail server', 'gosmtp'),
			),
			'smtp_password' => array(
				'title' => __('SMTP Password', 'gosmtp'),
				'type' => 'password',
				'place_holder' => 'Password',
				'tr_class' => 'smtp-authentication',
				'desc' => __( 'The SMTP Password to login to your mail server. The saved password is not shown for security reasons. You need enter it every time you update the settings.', 'gosmtp'),
			),
			'disable_ssl_verification' => array(
				'title' => __('Disable SSL Certificate Verification', 'gosmtp'),
				'type' => 'checkbox',
				'desc' => __( 'As of PHP 5.6 you will get a warning/error if the SSL certificate on the server is not properly configured. You can check this option to disable that default behaviour. Please note that PHP 5.6 made this change for a good reason. So you should get your host to fix the SSL configurations instead of bypassing it', 'gosmtp'),
			),
		);
		
		return $fields;
	}
}
PKٍ�[ '�<ppmain/mailer/sendlayer.phpnu�[���<?php
/**
 * Class GOSMTP_Mailer_Sendlayer
 *
 * @since 1.0.0
 */
 
namespace GOSMTP\Mailer;
 
use GOSMTP\Mailer\Loader;

class Sendlayer extends Loader{
	
	var $title = 'Sendlayer';
	var $mailer = 'sendlayer';
	var $url = 'https://console.sendlayer.com/api/v1/email';

	public function send(){
		global $phpmailer;
		
		$phpmailer->isMail();
		
		if ($phpmailer->preSend()) {
			$response = $this->postSend();
		 	return $this->handle_response( $response );
		}
		
		return $this->handle_response(new \WP_Error(400, 'Unable to send mail for some reason!', []));
	}

	public function postSend(){		
		global $phpmailer;
		
		$sender = array(
			'name' => $phpmailer->FromName,
			'email' => $phpmailer->From
		);

		$body = array(
			'From' => $sender,
			'subject' => $phpmailer->Subject,
			'to' => $this->filterRecipientsArray($phpmailer->getToAddresses()),
			'cc' => $this->filterRecipientsArray($phpmailer->getCcAddresses()),
			'bcc' => $this->filterRecipientsArray($phpmailer->getBccAddresses())
		);
		
		$body['ReplyTo'] = $this->filterRecipientsArray($phpmailer->getReplyToAddresses());
		
		// Remove empty array values
		$body = array_filter($body);
		
		$content = $phpmailer->Body;
		
		if(!empty($content)){
			if( is_array( $content ) ){
				if( ! empty( $content['text'] ) ){
					$body['ContentType'] = 'plain';
					$body['PlainContent'] = $content['text'];
				}

				if( ! empty( $content['html'] ) ){
					$body['ContentType'] = 'html';
					$body['HTMLContent'] = $content['html'];
				}
			}else{
				if( $phpmailer->ContentType === 'text/plain' ){
					$body['ContentType'] = 'plain';
					$body['PlainContent'] = $content;
				}else{
					$body['ContentType'] = 'html';
					$body['HTMLContent'] = $content;
				}
			}
		}

		$attachments = $phpmailer->getAttachments();
		
		if(!empty($attachments)){
			$body['attachment'] = $this->getAttachments($attachments);
		}

		$custom_headers = $phpmailer->getCustomHeaders();
		
		$body['Headers'] = array_merge($custom_headers, ['X-Mailer' => 'GOSMTPMailer - Sendlayer']);

		$timeout = (int) ini_get( 'max_execution_time' );

		$api_key = $this->getOption('api_key', $this->mailer);

		$headers = array(
			'Authorization' => 'Bearer ' .$api_key,
			'Content-Type' => 'application/json',
			'Accept' => 'application/json'
		);

		$params = array(
			'headers' => $headers,
			'body' => wp_json_encode($body),
			'timeout' => $timeout ? $timeout : 30
		);

		// print_r(json_encode($body, JSON_PRETTY_PRINT));

		$response = wp_safe_remote_post($this->url, $params);

		if(is_wp_error($response)){
			$returnResponse = new \WP_Error($response->get_error_code(), $response->get_error_message(), $response->get_error_messages());
		}else{
			$responseBody = wp_remote_retrieve_body($response);
			$responseCode = wp_remote_retrieve_response_code($response);
			$responseBody = \json_decode($responseBody, true);
			
			if($responseCode == 200){
				$returnResponse = [
					'status' => true,
					'code' => 200,
					'messageId' => $responseBody['id'],
					'message' => $responseBody['message'], 
				];
				
			}else{
				
				$error_text = [''];
				if(!empty($responseBody['Errors']) ){
					foreach ( $responseBody['Errors'] as $error ) {
    					
						if(empty( $error['Message'] )) {
							continue;
						}
						
						$message = $error['Message'];
						$code = !empty($error['Code']) ? $error['Code'] : '';
						
						$error_text[] = $this->message_formatting( $message, $code );
					}
				}else{
					$error_text[] = $this->get_response_error_message($response);
				}
				
				$error_msg = implode( '\r\n', array_map( 'esc_textarea', array_filter( $error_text ) ) );
				$returnResponse = new \WP_Error($responseCode, $error_msg, $responseBody);
			}
		}
		
		return $returnResponse;
	}

	protected function filterRecipientsArray($args){
		$recipients = [];
		foreach($args as $key => $recip){
			
			$recip = array_filter($recip);

			if(empty($recip) || ! filter_var( $recip[0], FILTER_VALIDATE_EMAIL ) ){
				continue;
			}

			$_recip = array(
				'email' => $recip[0]
			);

			if(!empty($recip[1])){
				$_recip['name'] = $recip[1];
			}
			
			$recipients[] = $_recip;
		}

		return $recipients;
	}
	
	private function getAttachments( $attachments ) {

		$data = [];

		foreach( $attachments as $attachment ){
			
			$file = false;

			try{
				if( $attachment[5] === true ){
					$file = $attachment[0];
				}elseif( is_file( $attachment[0] ) && is_readable( $attachment[0] ) ){
					$file = file_get_contents( $attachment[0] );
				}
			}catch( \Exception $e ){ 
				$file = false;
			}
			
			if(false === $file){
				continue;
			}

			$filetype = str_replace( ';', '', trim( $attachment[4] ) );

			$data[] = array(
				'Filename' => empty( $attachment[2] ) ? 'file-' . wp_hash( microtime() ) . '.' . $filetype : trim( $attachment[2] ),
				'Content' => base64_encode( $content ),
				'Type' => $attachment[4],
				'Disposition' => in_array( $attachment[6], [ 'inline', 'attachment' ], true ) ? $attachment[6] : 'attachment',
				'ContentId' => empty( $attachment[7] ) ? '' : trim( (string) $attachment[7] ),
			);
		}

		return $data;
	}
	
	public function load_field(){
		
		$fields = array(
			'api_key' => array(
				'title' => __('API Key', 'gosmtp'),
				'type' => 'password',
				'desc' => __( 'Follow this link to get an API Key from SendLayer: <a href="https://app.sendlayer.com/settings/api/" target="_blank">Get API Key.</a>', 'gosmtp' ),
			),

		);
		
		return $fields;
	}
}PKٍ�[�!:FFmain/mailer/mail.phpnu�[���<?php
/**
 * Class GOSMTP_Mailer_Mail.
 *
 * @since 1.0.0
 */
 
namespace GOSMTP\Mailer;
 
use GOSMTP\Mailer\Loader;

class Mail extends Loader{
	
	var $title = 'Default';
	var $mailer = 'mail';
	
	/**
	 * Override default mail send function.
	 * @since 1.0.0
	 */
	public function send() {
		global $phpmailer;
		
		$phpmailer->isMail();

		if($phpmailer->preSend()){
		    
			try{
				if($phpmailer->postSend()){
					$response = [
						'status' => true,
						'code' => 200,
						'messageId' => '',
						'message' => 'Mail sent successfully',
					];
					
					return $this->handle_response($response);
				}
			}catch( \Exception $e ){
				return $this->handle_response(new \WP_Error(400,  $e->getMessage(), []));
			}

		}
		
		return $this->handle_response(new \WP_Error(400, 'Unable to send mail for some reason!', []));
	}
}
PKٍ�[�(�|MMmain/mailer/mailgun.phpnu�[���<?php
/**
 * Class GOSMTP_Mailer_Mailgun.
 *
 * @since 1.0.0
 */

namespace GOSMTP\Mailer;
 
use GOSMTP\Mailer\Loader;

class Mailgun extends Loader{

	var $title = 'Mailgun';
	
	const API_URL_US = 'https://api.mailgun.net/v3/';
	
	const API_URL_EU = 'https://api.eu.mailgun.net/v3/';
	
	var $url = '';
	
	var $mailer = 'mailgun';
	
	public function send(){
		global $phpmailer;
		
		$phpmailer->isMail();
		
		if ($phpmailer->preSend()) {
			$this->set_API_Url();
			$response = $this->postSend();
			return $this->handle_response( $response );
		}

		return $this->handle_response(new \WP_Error(400, 'Unable to send mail for some reason!', []));
	}
	
	public function postSend(){
		global $phpmailer;
		
		$content_type = $phpmailer->ContentType;
		$reply_to = $phpmailer->getReplyToAddresses();
		
		$body = [
			'from'           => $phpmailer->From,
			'subject'        => $phpmailer->Subject,
			'h:X-Mailer'     => 'GOSMTPMailer - Mailgun',
			'h:Content-Type' => $content_type
		];
		
		if(stripos($content_type, 'html') === false){
			$body['text'] = $phpmailer->Body;
		}else{
			$body['html'] = $phpmailer->Body;
		}

		if(!empty($reply_to)){
			$body['h:Reply-To'] = $reply_to;
		}
			
		$recipients = [
			'to'  => $this->getRecipients($phpmailer->getToAddresses()),
			'cc'  => $this->getRecipients($phpmailer->getCcAddresses()),
			'bcc' => $this->getRecipients($phpmailer->getBccAddresses())
		];

		if ($recipients = array_filter($recipients)) {
			$body = array_merge($body, $recipients);
		}
		
		$timeout = (int) ini_get( 'max_execution_time' );

		$params = array(
				'headers' => array(
					'Authorization' => 'Basic ' . base64_encode('api:' . $this->getOption('api_key', $this->mailer))
				),
				'body' => $body,
				'timeout' => $timeout ? $timeout : 30,
				'httpversion' => '1.1',
				'blocking'    => true
		);

		$attachments = $phpmailer->getAttachments();
		
		if(!empty($attachments)){
			$params = $this->getAttachments($params);
		}

		$response = wp_safe_remote_post($this->url, $params);

		if (is_wp_error($response)) {
			$returnResponse = new \WP_Error($response->get_error_code(), $response->get_error_message(), $response->get_error_messages());
		} else {
			$responseBody = wp_remote_retrieve_body($response);
			$responseCode = wp_remote_retrieve_response_code($response);

			$isOKCode = $responseCode == 200;

			if($isOKCode) {
				$responseBody = \json_decode($responseBody, true);
			}

			if($isOKCode && isset($responseBody['id'])) {
				$returnResponse = [
					'status' => true,
					'code' => $responseCode,
					'messageId' => $responseBody['id'],
					'message' => $responseBody['message'],
				];
			}else{
				if(!empty( $responseBody['message'])){
					$error_text[] = $this->message_formatting( $responseBody['message'] );
				} else {
					$error_text[] = $this->get_response_error_message($response);
				}
				
				$error_msg = implode( '\r\n', array_map( 'esc_textarea', array_filter( $error_text ) ) );
				$returnResponse = new \WP_Error($responseCode, $error_msg, $responseBody);
			}
		}

		return $returnResponse;
	}

	public function getRecipients($recipient){
		$recipients = $this->filterRecipientsArray($recipient);
		
		$array = array_map(function($recipient){
			return isset($recipient['name'])
			? $recipient['name'] . ' <' . $recipient['address'] . '>'
			: $recipient['address'];
		}, $recipients);

		return implode(', ', $array);
	}
	
	public function getAttachments($params){
		global $phpmailer;
		
		$data = [];
		$payload = '';
		$attachments = $phpmailer->getAttachments();

		foreach($attachments as $attachment){
			$file = false;

			try{
				if (is_file($attachment[0]) && is_readable($attachment[0])) {
					$fileName = basename($attachment[0]);
					$file = file_get_contents($attachment[0]);
				}
			}catch(\Exception $e){
				$file = false;
			}

			if($file === false){
				continue;
			}

			$data[] = [
				'content' => $file,
				'name'    => $fileName,
			];
		}

		if(!empty($data)){
			$boundary = hash('sha256', uniqid('', true));

			foreach($params['body'] as $key => $value){
				if(is_array($value)){
					foreach($value as $child_key => $child_value){
						$payload .= '--' . $boundary;
						$payload .= "\r\n";
						$payload .= 'Content-Disposition: form-data; name="' . $key . "\"\r\n\r\n";
						$payload .= $child_value;
						$payload .= "\r\n";
					}
				}else{
					$payload .= '--' . $boundary;
					$payload .= "\r\n";
					$payload .= 'Content-Disposition: form-data; name="' . $key . '"' . "\r\n\r\n";
					$payload .= $value;
					$payload .= "\r\n";
				}
			}

			foreach($data as $key => $attachment){
				$payload .= '--' . $boundary;
				$payload .= "\r\n";
				$payload .= 'Content-Disposition: form-data; name="attachment[' . $key . ']"; filename="' . $attachment['name'] . '"' . "\r\n\r\n";
				$payload .= $attachment['content'];
				$payload .= "\r\n";
			}

			$payload .= '--' . $boundary . '--';

			$params['body'] = $payload;
			$params['headers']['Content-Type'] = 'multipart/form-data; boundary=' . $boundary;

		}

		return $params;
	}
	
	public function set_API_Url(){
		
		$url = self::API_URL_US;
		
		if($this->getOption('region', $this->mailer) == 'eu'){
			$url = self::API_URL_EU;
		}

		$url .= sanitize_text_field($this->getOption('domain_name', $this->mailer) . '/messages');

		return $this->url = $url;
	}

	public function load_field(){
		
		$fields = array(
			'api_key' => array(
				'title' => __('Private API Key', 'gosmtp'),
				'type' => 'password',
				'desc' => __( 'Follow this link to get a Private API Key from Mailgun: <a href="https://app.mailgun.com/app/account/security/api_keys" target="_blank">Get a Private API Key.</a>', 'gosmtp' ),
			),
			'domain_name' => array(
				'title' => __('Domain Name', 'gosmtp'),
				'type' => 'text',
				'desc' => __( 'Follow this link to get a Domain Name from Mailgun: <a href="https://app.mailgun.com/app/domains" target="_blank">Get a Domain Name.</a>', 'gosmtp' ),
			),
			'region' => array(
				'title' => __('Region', 'gosmtp'),
				'type' => 'radio',
				'class' => 'regular-text',
				'list' => array(
					'us' => 'US',
					'eu' => 'EU',
				),
				'desc' => __( 'Define which endpoint you want to use for sending messages.<br>If you are operating under EU laws, you may be required to use EU region. <a href="https://www.mailgun.com/about/regions/" target="_blank">More information</a> on Mailgun.com.', 'gosmtp' ),
			),
		);
		
		return $fields;
	}
}


PKڍ�[B�AZ��main/mailer/sparkpost.phpnu�[���<?php
/**
 * Class GOSMTP_Mailer_Sparkpost.
 *
 * @since 1.0.0
 */

namespace GOSMTP\Mailer;
 
use GOSMTP\Mailer\Loader;

class Sparkpost extends Loader{
	
	var $title = 'Sparkpost';
	
	var $mailer = 'sparkpost';
	
	const API_URL_US = 'https://api.sparkpost.com/api/v1';
	
	const API_URL_EU = 'https://api.eu.sparkpost.com/api/v1';
	
	var $url = '';

	public function send(){
		global $phpmailer;
		
		$phpmailer->isMail();
		
		if($phpmailer->preSend()){
			$this->set_API_Url();
			$response = $this->postSend();
		 	return $this->handle_response( $response );
		}
		
		return $this->handle_response(new \WP_Error(400, 'Unable to send mail for some reason!', []));
	}

	public function postSend(){
		global $phpmailer;
		
		$body = [
			'options' => [
				'open_tracking'  => false,
				'click_tracking' => false,
				'transactional'  => true,
			],
			'content' => [
				'from' => [
					'name' => $phpmailer->FromName,
					'email' => $phpmailer->From
				],
				'subject' => $phpmailer->Subject,
				'headers' => [],
			],
			'recipients' => $this->get_recipients()
		];
		
		$body['content']['headers']['CC'] = implode( ',', array_map( [$phpmailer, 'addrFormat'], $phpmailer->getCcAddresses() ) );
		
		if( $phpmailer->ContentType === 'text/plain' ){
			$body['content']['text'] = $phpmailer->AltBody;
		}else{
			$body['content']['html'] = $phpmailer->Body;
		}
		
		$replyTo = $phpmailer->getReplyToAddresses();	
		
		if(!empty($replyTo)){
			$body['content']['reply_to'] = implode( ',', array_map( [ $phpmailer, 'addrFormat' ], $replyTo ) );
		}
		
		$attachments = $phpmailer->getAttachments();
		
		if(!empty($attachments)){ 
			$body['Content']['Attachments'] = $this->getAttachments($attachments);
		}

		$params = [
			'body' => json_encode($body),
			'headers' => [
				'Content-Type' => 'application/json',
				'Authorization' => $this->getOption('api_key', $this->mailer)
			]
		];

		$params = array_merge($params, $this->getDefaultParams());

		$response = wp_safe_remote_post($this->url, $params);

		if(is_wp_error($response)){
			$returnResponse = new \WP_Error($response->get_error_code(), $response->get_error_message(), $response->get_error_messages());
		}else{
			$responseBody = wp_remote_retrieve_body($response);
			$responseCode = wp_remote_retrieve_response_code($response);

			$isOKCode = $responseCode < 300;

			$responseBody = \json_decode($responseBody, true);

			if($isOKCode){
				$returnResponse = [
					'status' => true,
					'code' => $responseCode,
					'messageId' => $responseBody['id'],
					'message' => $responseBody['message'],
				];
								
			}else{
				$error_text = [''];
				
				if(!empty($responseBody['errors'] ) && is_array( $responseBody['errors'])){

					foreach($responseBody['errors'] as $error){

						if(empty($error['message'])){
							continue;
						}
						
						$code = !empty($error['code']) ? $error['code'] : '';
						$desc = !empty($error['description']) ? $error['description'] : '';
						
						$error_text[] = $this->message_formatting($error['message'], $code, $desc);
					}
				}else{
					$error_text[] = $this->get_response_error_message($response);
				}
			
				$error_message = implode( '\r\n', array_map( 'esc_textarea', array_filter( $error_text ) ) );
				$returnResponse = new \WP_Error($responseCode, $error_message, $responseBody);
			}
		}

		return $returnResponse;

	}

	public function set_API_Url(){

		$url = self::API_URL_US;

		if($this->getOption('region', $this->mailer) == 'eu'){
			$url = self::API_URL_EU;
		}
		
		$url .='/transmissions';
		
		return $this->url = $url;
	}
	
	public function get_recipients(){
		global $phpmailer;
		
		$data = [];
				
		$recipients = [
			'to' => $phpmailer->getToAddresses(),
			'cc' => $phpmailer->getCcAddresses(),
			'bcc' => $phpmailer->getBccAddresses(),
		];
		
		$recipients_to = isset( $recipients['to'] ) && is_array( $recipients['to'] ) ? $recipients['to'] : [];
		$header_to = implode( ',', array_map( [$phpmailer, 'addrFormat'], $recipients_to ) );
				
		foreach( $recipients as $key => $emails ){
			
			if(empty($emails)){
				continue;
			}
			
			foreach( $emails as $email ){
				$holder = [];
				
				$holder['email'] = $email[0];

				if( ! empty( $email[1] ) ){
					$holder['name'] = $email[1];
				}

				if(!empty($header_to) && $key != 'to'){
					$holder['header_to'] = $header_to;
				}

				$data[] = [ 'address' => $holder ];
			}
		}
		
		return $data;
	}
	
	protected function getAttachments($attachments){
		
		$data = [];

		foreach($attachments as $attachment){
			$file = false;

			try{
				if (is_file($attachment[0]) && is_readable($attachment[0])) {
					$fileName = basename($attachment[0]);
					$file = file_get_contents($attachment[0]);
					$mimeType = mime_content_type($attachment[0]);
					$filetype = str_replace(';', '', trim($mimeType));
				}
			} catch (\Exception $e) {
				$file = false;
			}

			if ($file === false) {
				continue;
			}

			$data[] = [
				'name' => $fileName,
				'type' => $filetype,
				'content' => base64_encode($file)
			];
		}

		return $data;
	}

	public function load_field(){
		$fields = array(
			'api_key' => array(
				'title' => __('API Key', 'gosmtp'),
				'type' => 'password',
				'desc' => __( 'Follow this link to get an API Key from SparkPost: <a href="https://app.sparkpost.com/account/api-keys" target="_blank">Get API Key.</a>', 'gosmtp' ),
			),
			'region' => array(
				'title' => __('Region', 'gosmtp'),
				'type' => 'radio',
				'class'=>'regular-text',
				'list'=>array(
					'Us'=>'US',
					'EU'=>'EU',
				),
				'desc' => __( 'Select your SparkPost account region. <a href="https://support.sparkpost.com/docs/getting-started/getting-started-sparkpost" target="_blank">More information </a>on SparkPost.', 'gosmtp' ),
			),
		);
		
		return $fields;
	}
}

PKڍ�[�9w,w,main/mailer/loader.phpnu�[���<?php

namespace GOSMTP\Mailer;

class Loader{
	
	var $options;
	var $mailer = '';
	var $url = '';
	var $conn_id = 0;
	var $parent_log = 0;
	var $last_log = 0;
	var $headers = array();
	
	public function __construct(){
		
		// Load options
		$this->loadOptions();
		
	}
	
	public function loadOptions(){
		$options = get_option('gosmtp_options', array());
		
		$this->options = $options;
	}
	
	public function getMailerOption(){
		
		$mailer = $this->mailer;
		
		if(empty($mailer) || !isset($this->options['mailer'][$this->conn_id])){
			return array();
		}
		
		return $this->options['mailer'][$this->conn_id];
	}
	
	public function getActiveMailer(){
		
		if(!isset($this->options['mailer'][$this->conn_id]) || !isset($this->options['mailer'][$this->conn_id]['mail_type'])){
			return 'mail';
		}
		
		return $this->options['mailer'][$this->conn_id]['mail_type'];
	}
	
	public function getOption($key, $mailer = '', $default = ''){
		
		$options = $this->options;
		
		if(!empty($mailer) && $mailer == $this->getActiveMailer()){
			$options = $this->options['mailer'][$this->conn_id];
		}
		
		if(isset($options[$key])){
			return $options[$key];
		}
		
		return $default;	
	}
	
	public function save_options($options){
		
		if(!method_exists($this, 'load_field')){
			return $options;
		}
		
		$fields = $this->load_field();
		
		foreach($fields as $key => $field){
			
			$val = '';
			
			if(!empty($_REQUEST[$this->mailer]) && isset($_REQUEST[$this->mailer][$key])){
				$val = sanitize_text_field($_REQUEST[$this->mailer][$key]);
			}
			
			$options[$key] = $val;
		}
		
		return $options;	
	}
	
	public function delete_option($key, $mailer = ''){

		if(!empty($mailer) && isset($this->options['mailer'][$this->conn_id][$key])){
			unset($this->options['mailer'][$this->conn_id][$key]);
		}elseif(isset($this->options[$key])){
			unset($this->options[$key]);
		}

		update_option( 'gosmtp_options', $this->options );
	}
	
	public function update_option($key, $val, $mailer=''){
		
		if(!empty($mailer)){
			
			if(!is_array($this->options['mailer'][$this->conn_id])){
				$this->options['mailer'][$this->conn_id] = array();
			}
			
			$this->options['mailer'][$this->conn_id][$key] = $val;
			
		}else{
			$this->options[$key] = $val;
		}
		
		update_option( 'gosmtp_options', $this->options);
	}
	
	protected function filterRecipientsArray($args){
		$recipients = [];

		foreach($args as $key => $recip){
			
			$recip = array_filter($recip);

			if(empty($recip) || ! filter_var( $recip[0], FILTER_VALIDATE_EMAIL ) ){
				continue;
			}

			$recipients[$key] = array(
				'address' => $recip[0]
			);

			if(!empty($recip[1])){
				$recipients[$key]['name'] = $recip[1];
			}
		}

		return $recipients;
	}

	public function setHeaders($headers){

		foreach($headers as $header){
			$name = isset($header[0]) ? $header[0] : false;
			$value = isset($header[1]) ? $header[1] : false;

			if(empty($name) || empty($value)){
				continue;
			}

			$this->setHeader($name, $val);
		}
		
	}

	public function setHeader($name, $val){
		
		$name = sanitize_text_field($name);
		
		$this->headers[$name] = WP::sanitize_value($val);
		
	}

	protected function getDefaultParams(){
		$timeout = (int)ini_get('max_execution_time');

		return [
			'timeout'     => $timeout ?: 30,
			'httpversion' => '1.1',
			'blocking'    => true,
		];
	}

	public function set_from(){
		global $phpmailer, $gosmtp;
		
		$conn_id = $gosmtp->mailer->conn_id;
		
		$from_email = $phpmailer->From;
		$from_name = $phpmailer->FromName;
		
		// Check for force set
		if($conn_id === 0){
			$options = $this->options;
		}else{
			$options = $this->options['mailer'][$conn_id];
		}	
		
		if(!empty($options['force_from_email']) && !empty($options['from_email'])){
			$from_email = $options['from_email'];
		}
		
		if(!empty($options['force_from_name']) && !empty($options['from_name'])){
			$from_name = $options['from_name'];
		}
		
		try {
			$phpmailer->setFrom($from_email, $from_name, false);
		}catch( PHPMailer\PHPMailer\Exception $e ) {
			throw new WP_Error( 'wp_mail_failed', $e->getMessage());
		}
		
	}

	public function get_from($from = ''){
		global $phpmailer, $gosmtp;
		
		$conn_id = $gosmtp->mailer->conn_id;
		
		// Check for force set
		if($conn_id === 0){
			$options = $this->options;
		}else{
			$options = $this->options['mailer'][$conn_id];
		}	
		
		if(!empty($options['force_from_email']) && !empty($options['from_email'])){
			$from = $options['from_email'];
		}
		
		return $from;
	}
	
	public function handle_response($response){
		
		$status = false;
		$message = array();

		if(is_wp_error($response)){

			$code = $response->get_error_code();

			if(!is_numeric($code)) {
				$code = 400;
			}

			$msg = $response->get_error_message();

			$message = array(
				'code'    => $code,
				'message' => $msg
			);
			
			$this->process_response($message, $status);
			
			throw new \PHPMailer\PHPMailer\Exception($msg, $code);
			
			return;
			
		}elseif($response['status'] == true){
			
			unset($response['status']);
			
			$message = $response;
			$status = true;
		
		}else{
			$message = array(
				'code'    => $code,
				'message' => __('Unable to send mail, Please check your SMTP details', 'gosmtp')
			);
		}
		
		return $this->process_response($message, $status);
		
	}
	
	public function get_mailer_source(){
		
		$result = [];
		$backtrace = debug_backtrace( DEBUG_BACKTRACE_IGNORE_ARGS );

		if(empty($backtrace)){
			return false;
		}

		foreach( $backtrace as $i => $item ){
			if( $item['function'] == 'wp_mail' ) {
				$result[] = $backtrace[$i];
			}
		}
		
		if(!isset($result[0]['file'])){
			return false;
		}
		
		return $this->get_plugin_name($result[0]['file']);
	}

	public function process_response($message, $status){
		global $phpmailer, $gosmtp;
		
		if(empty($gosmtp->options['logs']['enable_logs']) || !class_exists('\GOSMTP\Logger')){
			return $status;
		}
		
		$logger = new \GOSMTP\Logger();
		
		$source = $this->get_mailer_source();
		
		if(empty($source)){
			$source = __('NA', 'gosmtp');
		}
		
		$headers = array(
			'Reply-To' => $phpmailer->getReplyToAddresses(),
			'Cc' => $phpmailer->getCcAddresses(),
			'Bcc' => $phpmailer->getBccAddresses(),
			'Content-Type' => $phpmailer->ContentType,
		);
		
		$attachments = $phpmailer->getAttachments();

		if(!empty($gosmtp->options['logs']['log_attachments'])){
			
			$uploads_dir = wp_upload_dir();
			$path = $uploads_dir['basedir'].'/gosmtp-attachments';
			
			if( !file_exists($path) ){
				mkdir($path);
			}

			if(!file_exists($path.'/index.html')){
				file_put_contents($path.'/index.html', '');
			}

			if( count($attachments) > 0 ){

				foreach( $attachments as $key => $file ){
					$name = $file[2];
					$location = $path.'/'.$name;
		
					if(file_exists($file[0])){
						// TODO check the copy function use correct
						if(copy($file[0], $location)){
							$file[0] = $location;
						}	
					}
					
					$attachments[$key] = $file;
				}
			}
		}
		
		$data = array(
			'site_id' => get_current_blog_id(),
			'to' => maybe_serialize($this->sanitize_response($phpmailer->getToAddresses(), 'email')),
			'message_id' => $this->RandomString(16),
			'from' => sanitize_email($phpmailer->From),
			'subject' => sanitize_text_field($phpmailer->Subject),
			'body' => $phpmailer->Body,
			'attachments' => maybe_serialize($this->sanitize_response($attachments)),
			'status' => $status ? 'sent' : 'failed',
			'response' => maybe_serialize($this->sanitize_response($message)),
			'headers' => maybe_serialize($this->sanitize_response($headers)),
			'provider' => sanitize_text_field($this->mailer),
			'source' => sanitize_text_field($source),
			'created_at' => current_time( 'mysql' )
		);
		
		if($gosmtp->mailer->conn_id !== 0 && !empty($gosmtp->mailer->parent_log)){
			$data['parent_id'] = $gosmtp->mailer->parent_log;
			$data['source'] = __('GoSMTP Pro', 'gosmtp');
		}

		if(isset($_POST['gostmp_id'])){
			$id = (int)gosmtp_optpost('gostmp_id');
			$result = $logger->get_logs('records', $id);
			$operation = isset($_POST['operation']) ? gosmtp_optpost('operation') : false;
			
			if(!empty($operation) && !empty($result)){
				
				if($operation == 'resend'){
					$data['resent_count'] = $result[0]->resent_count + 1;
				}else{
					$data['retries'] = $result[0]->retries + 1;
				}
				
				$logger->update_logs($data, $id);
			}
		}else{
			$gosmtp->mailer->last_log = $logger->add_logs($data);
		}

		return $status;
	}

	protected function sanitize_response($data, $field_type = ''){
		if(empty($data)){
			return $data;
		}

		if($field_type == 'email'){
			return map_deep($data, 'sanitize_email');
		}

		foreach($data as $key => $item){
			if(is_array($item)){
				$data[$key] = $this->sanitize_response($item);
			}

			if(is_object($item) || is_resource($item)){
				continue;
			}

			if(is_string($item)){
				if(filter_var($item, FILTER_VALIDATE_EMAIL)){
					$data[$key] = sanitize_email($item);
				} elseif(filter_var($item, FILTER_VALIDATE_URL)){
					$data[$key] = esc_url_raw($item);
				} else{
					$data[$key] = sanitize_text_field($item);
				}
			}
		}
		return $data;
	}

	public function message_formatting($msg, $key = '', $desc = ''){

		$message = '';

		if(!empty($key)){
			$message .= $key.': ';
		}

		if(is_string($msg)){
			$message .= $msg;
		}else{
			$message .= wp_json_encode($msg);
		}

		if(!empty($desc)){
			$message .= PHP_EOL .$desc;
		}

		return $message;
	}
	
	public function get_response_error_message($response){

		if(is_wp_error($response)){
			return '';
		}

		$body = wp_remote_retrieve_body( $response );
		$message = wp_remote_retrieve_response_message( $response );
		$code = wp_remote_retrieve_response_code( $response );
		$desc = '';

		if(!empty($body)){
			$desc = is_string($body) ? $body : wp_json_encode($body);
		}

		return $this->message_formatting( $message, $code, $desc );
	}
		
	// Generate a random string
	public function RandomString($length = 10){
		$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
		$charactersLength = strlen($characters);
		$randomString = '';
		for($i = 0; $i < $length; $i++){
			$randomString .= $characters[rand(0, $charactersLength - 1)];
		}
		return $randomString;
	}

	public function get_plugin_name($file_path = ''){

		if( empty( $file_path ) ){
			return false;
		}
		
		if(!function_exists( 'get_plugins')){
			$plugin_file = ABSPATH . 'site-admin/includes/plugin.php';
			$plugin_file = file_exists($plugin_file) ? $plugin_file : ABSPATH . 'wp-admin/includes/plugin.php';
			require_once( $plugin_file );
		}
		
		$plugins = get_plugins();
		$content_dir = basename( WP_PLUGIN_DIR );
		$separator = defined( 'DIRECTORY_SEPARATOR' ) ? '\\' . DIRECTORY_SEPARATOR : '\/';
		
		preg_match( "/$separator$content_dir$separator(.[^$separator]+)($separator|\.php)/", $file_path , $match );
		
		if(empty($plugins) || empty($match[1])){
			return false;
		}
		
		$slug = $match[1];

		foreach( $plugins as $plugin => $data ){
			if( preg_match( "/^$slug(\/|\.php)/", $plugin ) === 1 && isset( $data['Name'] )) {
				return $data['Name'];
			}
		}
		
		return false;
	}

	public function get_backup_connection(){

		// Is Primary email?
		if($this->conn_id !== 0 || empty($this->options['mailer'][0]['backup_connection'])){
			return false;
		}
		
		return $this->options['mailer'][0]['backup_connection'];
	}
	
	
}
PKڍ�[.ԃ�ttmain/mailer/sendgrid.phpnu�[���<?php
/**
 * Class GOSMTP_Mailer_Sendgrid.
 *
 * @since 1.0.0
 */
 
namespace GOSMTP\Mailer;
 
use GOSMTP\Mailer\Loader;

class Sendgrid extends Loader{

	var $title = 'Sendgrid';
	var $mailer = 'sendgrid';
	var $url = 'https://api.sendgrid.com/v3/mail/send';

	public function send(){
		global $phpmailer;
		
		$phpmailer->isMail();
		
		if ($phpmailer->preSend() ) {
			$response = $this->postSend();
		 	return $this->handle_response( $response );
		}
		
		return $this->handle_response(new \WP_Error(400, 'Unable to send mail for some reason!', []));
	}

	public function postSend(){
		global $phpmailer;
						
		$body = [
			'from' => $this->getFrom(),
			'personalizations' => $this->getRecipients(),
			'subject' => $phpmailer->Subject,
			'content' => $this->getBody() 
		];
		
		if($replyTo = $this->filterRecipientsArray($phpmailer->getReplyToAddresses())){
			$body['ReplyTo'] = $replyTo;
		}

		if(!empty($this->getAttachments())){ 
			$body['Attachments'] = $this->getAttachments();
		}
		
		$params = [
			'body' => json_encode($body),
			'headers' => $this->getRequestHeaders()
		];

		$params = array_merge($params, $this->getDefaultParams());

		$response = wp_safe_remote_post($this->url, $params);

		if(is_wp_error($response)){
			$returnResponse = new \WP_Error($response->get_error_code(), $response->get_error_message(), $response->get_error_messages());
		}else{
			$responseBody = wp_remote_retrieve_body($response);
			$responseCode = wp_remote_retrieve_response_code($response);
			$responseBody = !empty($responseBody) ? \json_decode($responseBody, true) : '';
			$responseHeaders = wp_remote_retrieve_headers($response);
			$messageId = isset($responseHeaders['x-message-id']) ?  $responseHeaders['x-message-id'] : '';
			
			if($responseCode == 202) {

				$returnResponse = [
					'status' => true,
					'code' => 202,
					'messageId' => $messageId,
					'message' => __('Mail Sent successfully', 'gosmtp'),
				];
				
			}else{
				$error_text = [''];
				if(!empty( $responseBody['errors'] ) && is_array( $responseBody['errors'] )){
					foreach ( $responseBody['errors'] as $error ) {
						
						if(empty( $error['message'] )){
							continue;
						}
						
						$message = $error['message'];
						$code = ! empty( $error['field'] ) ? $error['field'] : '';
						$description = ! empty( $error['help'] ) ? $error['help'] : '';
						
						$error_text[] = $this->message_formatting( $message, $code, $description );
					}
				}else{
					$error_text[] = $this->get_response_error_message($response);
				}
			
				$error_msg = implode( '\r\n', array_map( 'esc_textarea', array_filter( $error_text ) ) );
				$returnResponse = new \WP_Error($responseCode, $error_msg, $responseBody);
			}
		}
		
		return $returnResponse;
	}

	protected function getRequestHeaders(){
		return array(
			'Content-Type' => 'application/json',
			'Authorization' => 'Bearer ' . $this->getOption('api_key', $this->mailer)
		);
	}

	protected function getFrom(){
		global $phpmailer;
		
		$from = [
			'email' => $phpmailer->From,
			'name' => $phpmailer->FromName
		];

		return $from;
	}

	protected function getAttachments(){
		global $phpmailer;
		
		$data = [];
		
		foreach ($phpmailer->getAttachments() as $attachment){
			$file = false;
			
			try{
				if (is_file($attachment[0]) && is_readable($attachment[0])) {
					$fileName = basename($attachment[0]);
					$contentId = wp_hash($attachment[0]);
					$file = file_get_contents($attachment[0]);
					$mimeType = mime_content_type($attachment[0]);
					$filetype = str_replace(';', '', trim($mimeType));
				}
			} catch (\Exception $e) {
				$file = false;
			}

			if ($file === false) {
				continue;
			}

			$data[] = [
				'type' => $filetype,
				'filename' => $fileName,
				'disposition' => 'attachment',
				'content_id'  => $contentId,
				'content' => base64_encode($file)
			];
		}

		return $data;
	}

	public function getRecipients(){
		global $phpmailer;
		
		$recipients = [
			'to' => $this->filterRecipientsArray($phpmailer->getToAddresses()),
			'cc' => $this->filterRecipientsArray($phpmailer->getCcAddresses()),
			'bcc' => $this->filterRecipientsArray($phpmailer->getBccAddresses()),
		];

		return array(array_filter($recipients));
	}
	
	protected function filterRecipientsArray($args){
		$recipients = [];
		foreach($args as $key => $recip){
			
			$recip = array_filter($recip);

			if(empty($recip) || ! filter_var( $recip[0], FILTER_VALIDATE_EMAIL ) ){
				continue;
			}

			$_recip = array(
				'email' => $recip[0]
			);

			if(!empty($recip[1])){
				$_recip['name'] = $recip[1];
			}
			
			$recipients[] = $_recip;
		}

		return $recipients;
	}
	
	protected function getBody(){
		global $phpmailer;
		
		$content = array(
			'value' => $phpmailer->Body,
			'type' => $phpmailer->ContentType
		);
		
		if($phpmailer->ContentType !== 'text/plain'){
			$content['type'] = 'text/html';
		}
		
		if(!empty($phpmailer->AltBody)){
			$content[] = [
				'value' => $phpmailer->AltBody,
				'type' => 'text/plain',
			];
		}

		return [$content];
	}

	public function load_field(){

		$fields = array(
			'api_key' => array(
				'title' => __('API Key', 'gosmtp'),
				'type' => 'password',
			),
		);
		
		return $fields;	
	}
}
PKڍ�[!Gkaamain/mailer/sendinblue.phpnu�[���<?php
/**
 * Class GOSMTP_Mailer_Sendinblue.
 *
 * @since 1.0.0
 */
 
namespace GOSMTP\Mailer;
 
use GOSMTP\Mailer\Loader;

class Sendinblue extends Loader{

	var $title = 'Brevo';
	
	var $mailer = 'sendinblue';

	var $url = 'https://api.brevo.com/v3/smtp/email';
	
	
	private $allowed_exts = [ 'xlsx', 'xls', 'ods', 'docx', 'docm', 'doc', 'csv', 'pdf', 'txt', 'gif', 'jpg', 'jpeg', 'png', 'tif', 'tiff', 'rtf', 'bmp', 'cgm', 'css', 'shtml', 'html', 'htm', 'zip', 'xml', 'ppt', 'pptx', 'tar', 'ez', 'ics', 'mobi', 'msg', 'pub', 'eps', 'odt', 'mp3', 'm4a', 'm4v', 'wma', 'ogg', 'flac', 'wav', 'aif', 'aifc', 'aiff', 'mp4', 'mov', 'avi', 'mkv', 'mpeg', 'mpg', 'wmv'];

	public function send(){
		global $phpmailer;

		$phpmailer->isMail();

		if($phpmailer->preSend()){
			$response = $this->postSend();
		 	return $this->handle_response( $response );
		}
		
		return $this->handle_response(new \WP_Error(400, 'Unable to send mail for some reason!', []));
	}

	public function postSend(){
		global $phpmailer;

		$sender = [
			'name' => $phpmailer->FromName,
			'email' => $phpmailer->From
		];

		$body = [
			'sender' => $sender,
			'subject' => $phpmailer->Subject,
			'to' => $this->filterRecipientsArray($phpmailer->getToAddresses()),
			'cc' => $this->filterRecipientsArray($phpmailer->getCcAddresses()),
			'bcc' => $this->filterRecipientsArray($phpmailer->getBccAddresses())
		];
		
		$body = array_filter($body);
			
		$content = $phpmailer->Body;
		
		if(!empty($content)){
			if( is_array( $content ) ){

				if(!empty( $content['text'])){
					$body['textContent'] = $content['text'];
				}

				if(!empty( $content['html'])){
					$body['htmlContent'] = $content['html'];
				}
			}else{
				if($phpmailer->ContentType === 'text/plain' ){
					$body['textContent'] = $content;
				}else{
					$body['htmlContent'] = $content;
				}
			}
		}

		$body = $this->set_replyto( $phpmailer->getReplyToAddresses(), $body );

		$attachments = $phpmailer->getAttachments();
		
		if(!empty($attachments)){
			$body['attachment'] = $this->getAttachments($attachments);
		}

		$timeout = (int) ini_get( 'max_execution_time' );

		$api_key = $this->getOption('api_key', $this->mailer);

		$headers = [ 'Api-Key' => $api_key,
			'Content-Type' => 'application/json',
			'Accept' => 'application/json'
		];

		$params = array(
			'headers' => $headers,
			'body' => json_encode($body),
			'timeout' => $timeout ? $timeout : 30
		);

		$response = wp_safe_remote_post($this->url, $params);

		if(is_wp_error($response)){
			$returnResponse = new \WP_Error($response->get_error_code(), $response->get_error_message(), $response->get_error_messages());
		}else{
			$responseBody = wp_remote_retrieve_body($response);
			$responseCode = wp_remote_retrieve_response_code($response);
			$responseBody = \json_decode($responseBody, true);
			
			// TODO: check the responseCode is 200 is correct
			if($responseCode == 201){
				$returnResponse = [
					'status' => true,
					'code' => $responseCode,
					'messageId' => $responseBody['messageId'],
					'message' => __('Mail Sent successfully', 'gosmtp'),

				];
				
			}else{
				$error_text = [''];
				if(!empty( $responseBody['message'])){
					$error_text[] = $this->message_formatting( $responseBody['message'] );
				}else{
					$error_text[] = $this->get_response_error_message($response);
				}
				
				$error_msg = implode( '\r\n', array_map( 'esc_textarea', array_filter( $error_text ) ) );
				$returnResponse = new \WP_Error($responseCode, $error_msg, $responseBody);
			}
		}
		
		return $returnResponse;
	}

	public function set_replyto( $emails,  $body) {
		
		$data = $this->filterRecipientsArray( $emails );
		
		if(!empty( $data )){
			$body['replyTo'] = $data[0];
		}
		
		return $body;
	}
	
	protected function filterRecipientsArray($args){
		$recipients = [];
		foreach($args as $key => $recip){
			
			$recip = array_filter($recip);

			if(empty($recip) || ! filter_var( $recip[0], FILTER_VALIDATE_EMAIL ) ){
				continue;
			}

			$_recip = array(
				'email' => $recip[0]
			);

			if(!empty($recip[1])){
				$_recip['name'] = $recip[1];
			}
			
			$recipients[] = $_recip;
		}

		return $recipients;
	}

	public function getAttachments($attachments = []){
		$files = [];

		foreach($attachments as $attachment){
			if(is_file($attachment[0]) && is_readable($attachment[0])){
				$ext = pathinfo($attachment[0], PATHINFO_EXTENSION);

				if(in_array($ext, $this->allowed_exts, true)){
					$files[] = [
						'name' => basename($attachment[0]),
						'content' => base64_encode(file_get_contents($attachment[0]))
					];
				}
			}
		}

		return $files;
	}
	
	public function load_field(){

		$fields = array(
			'api_key' => array(
				'title' => __('API Key', 'gosmtp'),
				'type' => 'password',
				'desc' => __( 'Follow this link to get an API Key: <a href="https://app.brevo.com/settings/keys/api" target="_blank">Get v3 API Key.</a>', 'gosmtp' ),
			)
		);
		
		return $fields;
	}
}

PK܍�[�:V��
�
main/admin.phpnu�[���<?php

if(!defined('ABSPATH')){
	die('HACKING ATTEMPT!');
}


function gosmtp_admin_hooks(){
	
	if(current_user_can('manage_options') && !defined('SITEPAD')){
		// === Plugin Update Notice === //
		$plugin_update_notice = get_option('softaculous_plugin_update_notice', []);
		$available_update_list = get_site_transient('update_plugins'); 
		$plugin_path_slug = 'gosmtp/gosmtp.php';

		if(
			!empty($available_update_list) &&
			is_object($available_update_list) &&
			!empty($available_update_list->response) &&
			!empty($available_update_list->response[$plugin_path_slug]) && 
			(empty($plugin_update_notice) || empty($plugin_update_notice[$plugin_path_slug]) || (!empty($plugin_update_notice[$plugin_path_slug]) &&
			version_compare($plugin_update_notice[$plugin_path_slug], $available_update_list->response[$plugin_path_slug]->new_version, '<')))
		){
			add_action('admin_notices', 'gosmtp_plugin_update_notice');
			add_filter('softaculous_plugin_update_notice', 'gosmtp_plugin_update_notice_filter');
		}
		// === Plugin Update Notice === //
	}
}

function gosmtp_plugin_update_notice_filter($plugins = []){
	$plugins['gosmtp/gosmtp.php'] = 'GoSMTP';
	return $plugins;
}

function gosmtp_plugin_update_notice(){
	if(defined('SOFTACULOUS_PLUGIN_UPDATE_NOTICE')){
		return;
	}

	$to_update_plugins = apply_filters('softaculous_plugin_update_notice', []);

	if(empty($to_update_plugins)){
		return;
	}

	/* translators: %1$s is replaced with a "string" of name of plugins, and %2$s is replaced with "string" which can be "is" or "are" based on the count of the plugin */
	$msg = sprintf(__('New versions of %1$s %2$s available. Updating ensures better performance, security, and access to the latest features.', 'gosmtp'), '<b>'.esc_html(implode(', ', $to_update_plugins)).'</b>', (count($to_update_plugins) > 1 ? 'are' : 'is')) . ' <a class="button button-primary" href='.esc_url(admin_url('plugins.php?plugin_status=upgrade')).'>Update Now</a>';

	define('SOFTACULOUS_PLUGIN_UPDATE_NOTICE', true); // To make sure other plugins don't return a Notice
	echo '<div class="notice notice-info is-dismissible" id="gosmtp-plugin-update-notice">
		<p>'.$msg. '</p>
	</div>';

	wp_register_script('gosmtp-update-notice', '', ['jquery'], '', true);
	wp_enqueue_script('gosmtp-update-notice');
	wp_add_inline_script('gosmtp-update-notice', 'jQuery("#gosmtp-plugin-update-notice").on("click", function(e){
		let target = jQuery(e.target);

		if(!target.hasClass("notice-dismiss")){
			return;
		}

		var data;
		
		// Hide it
		jQuery("#gosmtp-plugin-update-notice").hide();
		
		// Save this preference
		jQuery.post("'.admin_url('admin-ajax.php?action=gosmtp_close_update_notice').'&security='.wp_create_nonce('gosmtp_promo_nonce').'", data, function(response) {
			//alert(response);
		});
	});');
}PK܍�[^>�	h	h	
main/ajax.phpnu�[���<?php
/*
* GoSMTP
* https://gosmtp.net
* (c) Softaculous Team
*/

if(!defined('GOSMTP_VERSION')){
	die('Hacking Attempt!');
}

add_action('wp_ajax_gosmtp_test_mail', 'gosmtp_test_mail');
function gosmtp_test_mail(){
	
	global $phpmailer;

	// Check nonce
	check_admin_referer( 'gosmtp_ajax' , 'gosmtp_nonce' );

	$to = gosmtp_optpost('reciever_test_email');
	$subject = gosmtp_optpost('smtp_test_subject');
	$body = gosmtp_optpost('smtp_test_message');
	$use_template = gosmtp_optpost('use_html_template');
	
	// TODO: send debug param
	if(isset($_GET['debug'])){
		// show wp_mail() errors
		add_action( 'wp_mail_failed', function( $wp_error ){
			echo "<pre>";
			print_r($wp_error);
			echo "</pre>";
		}, 10, 1 );
	}
	
	$msg = array();
	$headers = [];
	
	// TODO check for mailer
	if(!get_option('gosmtp_options')){
		$msg['error'] = __('You have not configured SMTP settings yet !', 'gosmtp');
	}else{
		
		if(!empty($use_template) && function_exists('gosmtp_pro_test_html_template')){
			$body = gosmtp_pro_test_html_template();
			$headers = ['Content-Type: text/html; charset=UTF-8'];
		}

		$result = wp_mail($to, $subject, $body, $headers);

		if(!$result){
			$msg['error'] = __('Unable to send mail !', 'gosmtp').(empty($phpmailer->ErrorInfo) ? '' : ' '.__('Error : ', 'gosmtp').$phpmailer->ErrorInfo);
		}else{
			$msg['response'] = __('Message sent successfully !', 'gosmtp');
		}
	}
	
	gosmtp_json_output($msg);
}

function gosmtp_close_update_notice(){

	if(!wp_verify_nonce($_GET['security'], 'gosmtp_promo_nonce')){
		wp_send_json_error('Security Check failed!');
	}

	if(!current_user_can('manage_options')){
		wp_send_json_error('You don\'t have privilege to close this notice!');
	}

	$plugin_update_notice = get_option('softaculous_plugin_update_notice', []);
	$available_update_list = get_site_transient('update_plugins');
	$to_update_plugins = apply_filters('softaculous_plugin_update_notice', []);

	if(empty($available_update_list) || empty($available_update_list->response)){
		return;
	}

	foreach($to_update_plugins as $plugin_path => $plugin_name){
		if(isset($available_update_list->response[$plugin_path])){
			$plugin_update_notice[$plugin_path] = $available_update_list->response[$plugin_path]->new_version;
		}
	}

	update_option('softaculous_plugin_update_notice', $plugin_update_notice);
}
add_action('wp_ajax_gosmtp_close_update_notice', 'gosmtp_close_update_notice');

PK͍�[��'j/d/djs/admin.jsnu�[���PK͍�[�/|v|v
jdcss/admin.cssnu�[���PK͍�[����8#8##�init.phpnu�[���PK͍�[O�������images/zoho.svgnu�[���PK΍�[G$χXXWimages/loginizer_product.pngnu�[���PK΍�[C�KK�+images/mail.svgnu�[���PK΍�[��6iL
L
�0images/amazonses.svgnu�[���PK΍�[�y8�

;images/outlook.svgnu�[���PK΍�[�MT�5�5lHimages/gosmtp-text.pngnu�[���PK΍�[{hU
U
@~images/sparkpost.svgnu�[���PK΍�[i���وimages/smtpcom.svgnu�[���PK΍�[��{����images/gmail.svgnu�[���PK΍�[+�L���images/facebook.pngnu�[���PKЍ�[���	�images/sendinblue.svgnu�[���PKЍ�[��jH���images/sendlayer.svgnu�[���PKЍ�[�g51�!�!��images/smtp2go.svgnu�[���PKЍ�[�3Dcc��images/smtp.svgnu�[���PKЍ�[N7�ɠ�P�images/maileroo.svgnu�[���PKЍ�[�_v9

3�images/pagelayer_product.pngnu�[���PKэ�[�̧�..�images/twitter.pngnu�[���PKэ�[a�NTTimages/mailgun.svgnu�[���PKэ�[�v
X((�images/elasticemail.svgnu�[���PKэ�[/��%���9images/sendgrid.svgnu�[���PKэ�[X��>�
�
Cimages/postmark.svgnu�[���PKэ�[�J[��
ANreadme.txtnu�[���PKҍ�[0A��88
3lgosmtp.phpnu�[���PKҍ�[=g�M�M��tlicense.txtnu�[���PKԍ�[���shh-�main/settings.phpnu�[���PK׍�[lq�0���fmain/functions.phpnu�[���PK׍�[
IC-���wmain/mailer/smtpcom.phpnu�[���PK؍�[NE8��u�main/mailer/maileroo.phpnu�[���PKٍ�[[�N�::M�main/mailer/postmark.phpnu�[���PKٍ�[W�q]��ϻmain/mailer/smtp.phpnu�[���PKٍ�[ '�<pp��main/mailer/sendlayer.phpnu�[���PKٍ�[�!:FFk�main/mailer/mail.phpnu�[���PKٍ�[�(�|MM��main/mailer/mailgun.phpnu�[���PKڍ�[B�AZ����main/mailer/sparkpost.phpnu�[���PKڍ�[�9w,w,�main/mailer/loader.phpnu�[���PKڍ�[.ԃ�ttFCmain/mailer/sendgrid.phpnu�[���PKڍ�[!GkaaXmain/mailer/sendinblue.phpnu�[���PK܍�[�:V��
�
�kmain/admin.phpnu�[���PK܍�[^>�	h	h	
�vmain/ajax.phpnu�[���PK**�
��

F1le Man4ger