Placing Axigen login from in my own website

Hello Xperts,

I have setup Axigen mail server and a website and would like to have Axigen's login form in a small box in the main page of my website ..e.g. (Username and password fields and Login button).

how is it possible to achieve this?

Thanks
M
LVL 24
Mohammed HamadaSenior IT ConsultantAsked:
Who is Participating?
 
COBOLdinosaurConnect With a Mentor Commented:
PHP goes to the SMTP listener for PHP mail().  Generally it is listening on port 25. The actually path and port are configured in PHP.ini where you can also set a default email return address and additional headers if you need them.

The Axigen admin manual, seems to cover most of the configuration issues:
http://wiki.axigen.com/index.php/Installing_Axigen_-_Admin_Manual


Cd&
0
 
Ishaan RawatDesigner | Developer | ProgrammerCommented:
Acc. to me its not possible...
0
 
COBOLdinosaurCommented:
I don't believe there is a direct API you can use.  You will need to use your own form on the page with a php script on the backend to process the request. Then you should be able to use smtp protocols through PHP mail().

Cd&
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
Mohammed HamadaSenior IT ConsultantAuthor Commented:
COBOLdinosaur, is it possible to provide me with a sample script on how to do this?
btw the page extension is html .. would that work with php script?

Thanks
0
 
COBOLdinosaurCommented:
PHP and other scripting languages often deliver pages with HTML extensions.  Very few sites actually use static html. It is simply a matter of how the server is configured, or run time directives.

At this point I have pretty much zero information about the environment you are in so assuming that Axigen is configured to handle smtp coming from the web server and assuming that you know how to do a form, then this simple PHP mailer function should handle the generation of theemail request to the mail server.  

I don't know Axigen, so you may need to look in the documentation if there is an issue with permissions, or security.

Cd&
0
 
Mohammed HamadaSenior IT ConsultantAuthor Commented:
Yea Axigen uses both mail protocols Imap and SMTP and it authenticate with username and password so if the login form has a script which can direct to it. then it would probably work.

but in the code you posted how would this form connect to the axigen mail server if the smtp FQDN or address is not loaded within the code?

I have done this couple of years before with different mail server but I forgot how it works since I'm not a professional web designer or programmer.
0
 
Mohammed HamadaSenior IT ConsultantAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.