Creating an SMTP server

chrstrbrts

Senior member
Aug 12, 2014
522
3
81
Hello guys,

Any advice on how to set up an SMTP server?

I'm creating a dynamic site and would like to be able to send emails to prospective patrons to verify their email addresses.

I'm using XAMPP for Linux as my development server, but I'm unsure whether XAMPP has native support for such things.

Thanks.
 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
There should be SMTP packages available for your Linux OS, for example Exim. One or more may already be installed just not configured or turned on.

Another approach would be using Amazon SES. There are PHP libraries for connecting to it for sending mail.

If you have shared hosting somewhere your code could also connect to that site's mail server.
 

vipink

Junior Member
Aug 5, 2015
21
0
0
Hello guys,

Any advice on how to set up an SMTP server?

I'm creating a dynamic site and would like to be able to send emails to prospective patrons to verify their email addresses.

I'm using XAMPP for Linux as my development server, but I'm unsure whether XAMPP has native support for such things.

Thanks.
By using PHP script click here and follow
http://stackoverflow.com/questions/14456673/sending-email-with-php-from-an-smtp-server

follow this tutorial and configure for asp.net
http://www.dotnetfox.com/articles/send-mail-how-to-configure-smtp-mail-settings-defined-in-web-config-file-1007.aspx

http://stackoverflow.com/questions/19233108/how-to-configure-smtp-settings-in-web-config
 

xhtmljunkies123

Junior Member
Aug 19, 2015
7
0
16
IIS SMTP Server Setup
Step 1

Open up the Control Panel and click "Programs," or "Programs and Features" if you're in the Classic view.
Step 2

Click "Turn Windows Features On or Off," which is located in the left pane if you're in Classic view. Click "Allow" if you get any security warnings.

Related Reading: Gmail SMTP Server Problems
Step 3

Expand "Internet Information Services" and make sure that the "SMTP Server" is installed. If not, check the box next to it and restart as necessary.
Step 4

Press the Windows key and "R" to open the Run menu. Type "inetmgr" and press "Enter" to open the IIS Manager.
Step 5

Right-click the "Default SMTP Virtual Server" and select "New," then "Virtual Server."
Step 6

Input your SMTP settings within the New Virtual Server Wizard to configure the server.
Step 7

Configure your email clients -- like Outlook Express or Thunderbird -- to use the new SMTP server. Email clients will route to your SMTP server, and your server will route that mail to external addresses.
HMailServer Setup
Step 1

Download hMailServer from the link in Resources. Double-click the "hMailServer-(version)-(build).exe" file and follow the install dialogs.
Step 2

Choose between a compact MySQL (built-in) database and MySQL (or MSSQL, PostgreSQL, external) database and click "Next." If you already have a database installed, you can choose to use it for the mail server or use the bundled compact MySQL that comes with hMailServer.
Step 3

Enter a master password for an administrator account. Remember this password to make future changes to your server.
Step 4

Finish the installation and start hMailServer, then click on the Administrator account and press "Connect."
Step 5

Click the "Add Domain" button in the" hMailServer Administrator - [localhost]" window and type in your domain name, such as "mydomain.com." Click "Save."
Step 6

Click the "Accounts" folder under your domain. Click the "Add..." button on the right and type in the account name. Set your password, then click "Save" to create the new account.
Step 7

Click on "Settings," "Protocols," then "SMTP" in the tree to the left and choose the "Delivery of E-mail" tab. Type in your local host name, which should be something like "mail.mydomain.com."
Step 8

Click on the box labeled "Remote Host Name" under "SMTP Relayer" and type in your relayer if you need one. To test this, press the Windows key and "R," type "cmd" and press "Enter." In the command line, type "telnet mail.hmailserver.com 25" and press "Enter" to see if port 25 is open.
If the command line returns "Could not open connection to the host..." then check with your ISP about opening port 25, or find out the ports that your ISP uses for SMTP (usually smtp.myisp.netort) and enter that information into the SMTP Relayer.
Otherwise, leave this area blank. Do not input "localhost" or "127.0.0.1" as the SMTP Relayer.
Step 9

Open another command prompt or use the same one from before and type "nslookup -type=mx mydomain.com" then press "Enter." A line like this should show up with the rest of the replies:
"Non-authoritative answer: mydomain.com MX preference = 10, mail exchanger = mail.mydomain.com"
If you don't see a line similar to the above, then contact your domain host and ask to set up an MX record for your domain.
Step 10

Set your IP ranges, anti-spam and anti-virus options, new accounts and other configuration settings as required.
Using Your ISP's SMTP
Step 1

Check your ISP's site for its SMTP information. Look for something similar to "mail.myisp.net:465" and any additional settings. Most ISPs give configuration instructions for common email clients, like Thunderbird and Outlook Express.
Step 2

Open your email program and go to your Account Settings or Settings. For example, in Thunderbird, click on "Tools," then "Account Settings."
Step 3

Find your SMTP or "Server Settings" and input the information from your ISP. In Thunderbird, this is the "Server Name" and "Port" under "Server Settings," and "Outgoing Server (SMTP)."
Step 4

Click "OK" or "Apply" to save your changes.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |