473,377 Members | 1,151 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,377 software developers and data experts.

Getting Started with setting up an email proxy

IT Master2
hi every 1:

how can i deal with mail server to create alias through php?

i want the user to be able to create alias to his/her email on my mail server.

the page to do this is done in php.

my mail server is UNIX platform .

if any one need further info. please post what you need.

please please provide me with answer A.S.A.P
Aug 29 '07 #1
6 2565
pbmods
5,821 Expert 4TB
Heya, IT Master.

I'm going to go ahead and move this thread to the *n?x forum, where our resident Experts will be better able to help you out.
Aug 29 '07 #2
Nepomuk
3,112 Expert 2GB
i want the user to be able to create alias to his/her email on my mail server.
...
my mail server is UNIX platform .
I guess some further Information would be helpfull.
  • What mail server are you using?
  • How is the mail server connected to the php page?
  • Should there be any restrictions on how many aliases one user can create?
If you can provide more information, please do so!
Aug 29 '07 #3
hi every one:

avctualy what i want is this:

the mail server is built on JAVA, so what i want is some way to call a function in jave to my php page.(i read about something called php/java bridge, but i don't how to use it)

for nepomuk:

no limit is defined. but if there, how the solution will be different?
Aug 29 '07 #4
Nepomuk
3,112 Expert 2GB
the mail server is built on JAVA, so what i want is some way to call a function in jave to my php page.(i read about something called php/java bridge, but i don't how to use it)
In that case, this should probably be in the Java (or PHP) Forum. However nobody could know, as you didn't give this information. Well, everyone makes mistakes.
The operating system is normally irrelevant, when Java is used (if it is coded apropriately that is).
no limit is defined. but if there, how the solution will be different?
As you probably wrote the server yourself (or at least have the code) it would be easy - you would have to check, if the request to create a new alias is within the limit and only if so allow the creation of a new alias continue.

Then the question comes up: How do the users connect to the mail server at the moment? Is it also webbased or is the alias-project the first webbased part of it?
Aug 29 '07 #5
hi all:

to nepomuk:

i know you've got tired from me, but i realy appreciate your help:

in a simple language:

there is a function in JAVA and i want to call it to my php page, how could i do this???

thank you again.
best regards.
Aug 29 '07 #6
Nepomuk
3,112 Expert 2GB
hi all:

to nepomuk:

i know you've got tired from me, but i realy appreciate your help:

in a simple language:

there is a function in JAVA and i want to call it to my php page, how could i do this???

thank you again.
best regards.
Here's an example of how to access a Java class (and it's functions) out of PHP:
Expand|Select|Wrap|Line Numbers
  1.  <?php
  2.   // Create Instanz of the Java Class java.lang.System in your PHP page
  3.   $system = new Java('java.lang.System');
  4.  
  5.   // Access the functions
  6.   print 'Java version='.$system->getProperty('java.version').' <br>';
  7.   print 'Java vendor=' .$system->getProperty('java.vendor').'  <br>';
  8.   print 'OS='.$system->getProperty('os.name').' '.
  9.               $system->getProperty('os.version').' on '.
  10.               $system->getProperty('os.arch').' <br>';
  11.  
  12.   // java.util.Date Example:
  13.   $formatter = new Java('java.text.SimpleDateFormat',
  14.                         "EEEE, MMMM dd, yyyy 'at' h:mm:ss a zzzz");
  15.  
  16.   print $formatter->format(new Java('java.util.Date'));
  17. ?>  
  18.  
  19.  
(Source)
Aug 30 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Jack Duijf | last post by:
Hello, I am looking for a person in The Netherlands that is willing to help me getting started with Vb.net. Please send a message to jack@aicn.nl if you can help me getting started with the...
5
by: UJ | last post by:
I had already asked how to get the network settings on the machine and was told that I should use the WMI interface. I downloaded programs that will allow me to look at the stuff but I'm not sure...
0
by: r | last post by:
Hello All, I am working on a desktop application using C#. The application connects to a remote webservice to update and retrieve data from a database. I also have a settings Tab in the...
0
by: MichaelH | last post by:
Hi, I've browsed through several sites I've found using google and have experimented with the code I have found, but I am still not able to accurately check if the proxy setting is set on my IE...
13
by: José Joye | last post by:
Hello, What is the best way to stop a remoting server (Singleton SAO) that has been started with RemotingConfiguration.Configure(). For sure, I want to do this without quitting the application...
5
by: Henaro | last post by:
Hello~ I am having trouble setting environment variables in C++ on win32. The code that is not working is: char prxy; char pf_cmd1 = "set http_proxy="; ....
6
by: sathyashrayan | last post by:
Dear Group, Please look at the following demo link. http://www.itsravi.com/demo/new_pms/admin/addproject.php
3
by: =?Utf-8?B?V2luRGV2?= | last post by:
How can I get the proxy setting for the current machine? I can view them in IE but I want to be able to display/change them through my own interface. TIA - Jeff.
1
by: =?Utf-8?B?Q29kZVNsaW5nZXI=?= | last post by:
I plan to build my own 2008 Server/Hyper-V system and will not be using one of the tested Dell or HP systems from the release notes and could use some pointers as to my assumnptions and answers to...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.