Skip to content

Commit

Permalink
Added Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
maestropanel2 committed Oct 12, 2016
1 parent 3019e60 commit 5f8c862
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 10 deletions.
5 changes: 5 additions & 0 deletions ImportEmail.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImportEmail", "ImportEmail\ImportEmail.csproj", "{311F60BD-AB4D-4AD4-91FF-B5E0EBD81472}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{4248D9BC-C1E2-4DFC-BEE6-D3EEC3B83764}"
ProjectSection(SolutionItems) = preProject
README.md = README.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down
2 changes: 1 addition & 1 deletion ImportEmail/ImportEmail.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ImportEmail</RootNamespace>
<AssemblyName>ImportEmail</AssemblyName>
<AssemblyName>importemail</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
Expand Down
15 changes: 6 additions & 9 deletions ImportEmail/Program.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
using MpMigrate.MaestroPanel.Api;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ImportEmail
namespace ImportEmail
{
using MpMigrate.MaestroPanel.Api;
using System;
using System.IO;
using System.Linq;

class Program
{
private static ApiClient _client;
Expand Down
48 changes: 48 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#MaestroPanel Import Email
Virgül ile ayrılmış dosyada tutulan eposta adreslerini MaestroPanel'e aktarmanızı sağlar.

## Download
https://github.com/maestropanel/ImportEmail/releases

## Parametreler

**--host**

MaestroPanel'in çalıştığı sunucu IP adresi veya host adı.

**--apikey**

MaestroPanel'de oluşturduğunuz admin veya reseller haklarına sahip API anahtarı. (*MaestroPanel'de nasıl API key oluşturulacağına dair dokümanımızı inceleyiniz https://wiki.maestropanel.com/maestropanelde-api-anahtari-olusturma/*)

**--port**

MaestroPanel'in çalıştığı port numarası. Varsayılan olarak 9715 olarak kabul edilir.

# Kullanım

importemail.exe dosyasının bulunduğu dizinde Emails.txt dosyasını oluşturun.
Emails.txt dosyasının içine MaestroPanel'e eklemek istediğiniz eposta adreslerini aşağıdaki formata göre ekleyin.

[Eposta Sahibinin İsmi], [Eposta Adresinin Tamamı], [Eposta Parolası], [Eposta'nın Kotası]

*Not: Köşeki parantezler daha iyi okunabilsin diye eklenmiştir. Gerçek dosyada köşeli parantez eklemenize gerek yoktur.*

**Örnek Dosya İçeriği:**

Sarı Çizmeli, saric@deneme.com, 12345Osman, 100
Mehmet Ağa, maga@deneme.com, 12345Osman, 150
Patron Super, psuper@deneme.com, 12345Osman, 200


**Örnek Kullanım:**

importemail.exe --host=192.168.5.2 --apikey=1_edae6375c0af496691df31dbc036d615

**Özel bir porta kullanıyorsanız:**

importemail.exe --host=192.168.5.2 --apikey=1_edae6375c0af496691df31dbc036d615 --port=443


## İletişim

ping@maestropanel.com

0 comments on commit 5f8c862

Please sign in to comment.