The next generation of the Teknik Services. Written in ASP.NET. Fork for blog tags.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Mail.cshtml 6.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. @model Teknik.Areas.Help.ViewModels.HelpViewModel
  2. @using Teknik.Utilities
  3. <div class="container">
  4. <ol class="breadcrumb">
  5. <li><a href="@Url.SubRouteUrl("help", "Help.Index")">Help Index</a></li>
  6. <li class="active"><a href="#">Mail Server</a></li>
  7. </ol>
  8. <div class="row">
  9. <h2><b>Mail</b></h2>
  10. <hr>
  11. <h3>Mail Server Settings</h3>
  12. <p>
  13. At registration, each user is given an email address with <b>1 GB</b> of storage space.
  14. You can either access your email via the <a href="@Url.SubRouteUrl("mail", "Mail.Index")" target="_blank">Web Client</a> or by using a client of your choosing.
  15. </p>
  16. <div class="row">
  17. <div class="col-sm-6 col-sm-offset-3">
  18. <ul class="list-group">
  19. <li class="list-group-item">SMTP:<div class="pull-right"><b>25 | 465 [SSL/TLS] | 587 [STARTTLS]</b></div></li>
  20. <li class="list-group-item">POP3:<div class="pull-right"><b>110 [STARTTLS Optional] | 995 [SSL/TLS]</b></div></li>
  21. <li class="list-group-item">IMAP:<div class="pull-right"><b>143 [STARTTLS Optional] | 993 [SSL/TLS]</b></div></li>
  22. </ul>
  23. </div>
  24. </div>
  25. <div class="row">
  26. <div class="col-sm-12">
  27. <ul class="list-group">
  28. <li class="list-group-item text-center"><h4>Outlook</h4></li>
  29. <br />
  30. <div class="col-sm-6">
  31. <ul class="list-group">
  32. <li class="list-group-item text-center">User Information</li>
  33. <li class="list-group-item">Email Address:<div class="pull-right"><b>@string.Format("[username]@{0}", Model.Config.EmailConfig.Domain)</b></div></li>
  34. <li class="list-group-item text-center">Server Information</li>
  35. <li class="list-group-item">Incoming Server:<div class="pull-right"><b>@Model.Config.EmailConfig.MailHost</b></div></li>
  36. <li class="list-group-item">Outgoing Server:<div class="pull-right"><b>@Model.Config.EmailConfig.MailHost</b></div></li>
  37. </ul>
  38. </div>
  39. <div class="col-sm-6">
  40. <ul class="list-group">
  41. <li class="list-group-item text-center">Logon Information</li>
  42. <li class="list-group-item">Username:<div class="pull-right"><b>@string.Format("[username]@{0}", Model.Config.EmailConfig.Domain)</b></div></li>
  43. <li class="list-group-item">Password:<div class="pull-right"><b>[password]</b></div></li>
  44. <li class="list-group-item text-center">More Settings</li>
  45. <li class="list-group-item">Requires Authentication:<div class="pull-right"><b>Both</b></div></li>
  46. <li class="list-group-item">Incoming Server:<div class="pull-right"><b>[IMAP] 143/993 | [POP3] 110/995</b></div></li>
  47. <li class="list-group-item">Outgoing Server (SMTP):<div class="pull-right"><b>25/465/587</b></div></li>
  48. </ul>
  49. </div>
  50. </ul>
  51. </div>
  52. </div>
  53. <div class="row">
  54. <div class="col-sm-12">
  55. <ul class="list-group">
  56. <li class="list-group-item text-center"><h4>Thunderbird</h4></li>
  57. <br />
  58. <div class="col-sm-6">
  59. <ul class="list-group">
  60. <li class="list-group-item text-center">Server Settings</li>
  61. <li class="list-group-item">Server Name:<div class="pull-right"><b>@Model.Config.EmailConfig.MailHost</b></div></li>
  62. <li class="list-group-item">Port:<div class="pull-right"><b>[IMAP] 143/993 | [POP3] 110/995</b></div></li>
  63. <li class="list-group-item">User Name:<div class="pull-right"><b>@string.Format("[username]@{0}", Model.Config.EmailConfig.Domain)</b></div></li>
  64. <li class="list-group-item">Connection Security:<div class="pull-right"><b>None/SSL/TLS</b></div></li>
  65. <li class="list-group-item">Authentication method:<div class="pull-right"><b>Normal Password</b></div></li>
  66. </ul>
  67. </div>
  68. <div class="col-sm-6">
  69. <ul class="list-group">
  70. <li class="list-group-item text-center">Outgoing Server (SMTP)</li>
  71. <li class="list-group-item">Server Name:<div class="pull-right"><b>@Model.Config.EmailConfig.MailHost</b></div></li>
  72. <li class="list-group-item">Port:<div class="pull-right"><b>25/465/587</b></div></li>
  73. <li class="list-group-item">User Name:<div class="pull-right"><b>@string.Format("[username]@{0}", Model.Config.EmailConfig.Domain)</b></div></li>
  74. <li class="list-group-item">Connection Security:<div class="pull-right"><b>None/SSL/TLS</b></div></li>
  75. <li class="list-group-item">Authentication method:<div class="pull-right"><b>Normal Password</b></div></li>
  76. </ul>
  77. </div>
  78. </ul>
  79. </div>
  80. </div>
  81. <div class="row">
  82. <div class="col-sm-12">
  83. <ul class="list-group">
  84. <li class="list-group-item text-center"><h4>Mutt</h4></li>
  85. <br />
  86. <div class="col-sm-10 col-sm-offset-1">
  87. <pre>#You can set your editor of preference here
  88. set editor=vim
  89. #It's important to set your real name and from email address to avoid SMTP errors.
  90. set realname="My Name"
  91. set from=example@teknik.io
  92. set use_from=yes
  93. set imap_user=example@teknik.io
  94. #Don't set your password here, mutt will prompt you for it.
  95. #set imap_pass=lulpasshere
  96. #This is an example IMAP configuration.
  97. set folder="imaps://mail.teknik.io/"
  98. set spoolfile=+INBOX
  99. set record="Sent"
  100. set postponed="Drafts"
  101. #This is to send email, uses your imap user to send.
  102. #Again, mutt will prompt you for your teknik email password.
  103. set smtp_url="smtps://$imap_user@mail.teknik.io/"
  104. #Miscellaneous configuration, check mutt man pages or online documentation to see what they do.
  105. set ssl_starttls=yes
  106. unset imap_passive
  107. set imap_check_subscribed
  108. set net_inc=5
  109. set mail_check = 360</pre>
  110. </div>
  111. </ul>
  112. </div>
  113. </div>
  114. </div>
  115. </div>