PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi to all ,
Hope everyone is fine.I need some help regarding PHP code.Actually i m trying to send email to a server.I want to know that how can i send email. Actually i want to define the address such as asterisk@mypbx.mydomain.com or 205@mypbx.domain.com.To be more precise i have a server where asterisk is installed the server address is 221.132.115.21 so first step is to define that address where my asterisk server is installed so my email client know where to send email. I know the mail function is use for sending email but how i define the address of the server using PHP this is the question.Please help me.I shall be very thankful to all of you .I have more to do but first i want to passed the first step that is defining the server address like above so please give me any guidance or help
Hi,
Hope you fine.Thanks for your reply that's really good for me ok i understood but can i connect to the server purely using PHP code if i m not using the database.Surely i suppose to use database because all my asterisk users are in database but i want to know if i can do it using purely PHP function.Again thanks for your help can Now can you tell me how parsing is done using PHP.Parsing(extract relevant information).Actually what i try to do is i have a email client and i use it to send voice email to asterisk.For this first i need to connect to the asterisk server means the server where asterisk is installed so the email that i send to asterisk server is not bounced back ok then i suppose to parse the email but i m not know how parsing is done using PHP or how to parse the email can you give me some guidance or a link as you provided in your first post that really a nice link.Thank you for your help