Testing mail() function with agrosoft mail server 2
In my last post I have introduce about Agrosoft mail server (AMS) . Since this day isn’t end yet, I’ll start by word “Lets continue today lesson”
I start by opening MS-Frontpage then make simple form mail which generate HTML code for me and I save it as contact.htm
Code in send_mail.php :
<?php
mail(“alamster@localhost”,”Form Mail”,”$message”,”From: tes@localhost”);
echo “Got your message ! Thank You very much “;
?>
Save both file in htdocs or www directory.
Call it from browser :
http://localhost/contact.htm

Ups, I forgot adding two account in AMS , here’s how :
Click AMS icon on the tray then hit CTRL+U
Click on Add New User Icon to add New User
Click Ok after finishing entry user information.
We must tell system about our domain too, type CTRL+O and click Local Domains tab to add “localhost” as our domain.
Now, back to contact page, fill the data and hit submit button.
Login to AMS webmail client , by typing http://localhost:8083
Enter username “alamster” and password “123456″
Click Form Mail subject to see the message
Your first mail script working well , no need to upload to hosting company or connection to internet .
If you want other illustration click here for video.
Related Reading:
FreeBSD, PF, OpenBSD Books
-
pfSense: The Definitive Guide
-
Learning FreeNAS: Configure and manage a network attached storage solution
-
The Book of PF: A No-Nonsense Guide to the OpenBSD Firewall
-
Building Firewalls with OpenBSD and PF, 2nd Edition
-
Mastering FreeBSD and OpenBSD Security
-
The Definitive Guide to PC-BSD (Expert's Voice in BSD)
-
Absolute FreeBSD: The Complete Guide to FreeBSD, 2nd Edition
-
The Complete FreeBSD: Documentation from the Source
-
The Design and Implementation of the FreeBSD Operating System
Hacking Computer Books
-
Hacking: The Art of Exploitation, 2nd Edition
-
Hacking For Dummies
-
Secrets of Computer Espionage: Tactics and Countermeasures
-
Hacking Exposed Computer Forensics, Second Edition: Computer Forensics Secrets & Solutions
-
Hacking Exposed: Network Security Secrets and Solutions, Sixth Edition
-
Gray Hat Hacking, Second Edition: The Ethical Hacker's Handbook
-
The Web Application Hacker's Handbook: Discovering and Exploiting Security Flaws
-
Hacking Wireless Networks For Dummies (For Dummies (Computer/Tech))
-
Chained Exploits: Advanced Hacking Attacks from Start to Finish
-
Professional Penetration Testing: Creating and Operating a Formal Hacking Lab
-
Ethical Hacking and Countermeasures: Threats and Defense Mechanisms (Ec-Council Press Series: Certified Ethical Hacker)
-
Ethical Hacking and Countermeasures: Secure Network Infrastructures (Ethical Hacking and Countermeasures: C/ E H: Certified Ethical Hacker)












1 Comment
Pingback & Trackback
Random Post
Leave Your Comments Below