Re: [PHP] Re: mail() function exchange
Hello, On 06/12/2003 02:32 PM, Diana wrote: I totally agree with your first sentence *grin*. Anyways, I won`t be able to use your class because my server is kind of locked in their network, meaning I don`t have the possibility to connect outside, only to their servers (NT servers). And as Exchange servers don`t use SMTP (meaning the whole protocol is NOT used, so your classes won`t help me), I`m not able to send mails at all. Only like he offered me to put an extra box in the network which will relay the mails from my linux server. That will do. Does anyone know about the way exchange servers work, mapi and mapisend? The only thing I found was how to program that in VB (and being able to talk to Exchange servers), but it seems like this is not possible for my penguin :) (VB on Linux??? sounds stupid) No, that will not work on Linux because you do not have COM object support, which is a Windows thing. -- Regards, Manuel Lemos just today I stumbled into the same problem. It is true, I got this answer from an expert: Unfortunately this will not work. SMTP relaying is disabled on all the Exchange connector servers and a standard Exchange mailbox server does not support SMTP. The only way that you can send SMTP email from within our company is to use the Internal MailSweeper. And to allow this we need the IP Address of the box that will be sending the messages so that we can include it in the authenticated list. We have to have things set up this way for Security reasons. One other thing I should have mentioned. Outlook uses mapi to send on the Exchange servers. So we can use the mapisend command but I do not know if your application would support this. I think that this may also need a valid Outlook profile to work. I don`t understand that either, because I am trying to use my Linux server (inside my companys network) to deliver mails to the exchange server via sendmail. If anyone knows more about this topic, let me know.sorry that this obviously does not belong to a php list, but I deleted the original email could not find the email address of the author of this topic :( I wonder about his expertise. Authentication was meant for security reasons. Anyway, you do no not need to relay in the company SMTP server unless outside access is blocked in some firewall. If you are using Linux, you just need to use the mail() function because it just uses sendmail by default. If you still have problems, just use the classes that I mentioned enabling direct delivery mode in the SMTP sending attributes. That does the same as sendmail but at least if it fails you can enable debugging to see what the SMTP protocol dialog reveals. --- Manuel Lemos [EMAIL PROTECTED] schrieb: Hello, On 06/10/2003 04:44 PM, Matthias Wulkow wrote: a friend of mine is trying to set up an automated mailing function. The platform is Windows he's using the last PHP release at this time. He asks me how to do it with Exchange, because it doesn't speak SMTP or not correctly? What is the matter? Is that true? But that's not really the question... could somebody point me to some documents where I could find out, what has to be done to make it work? I do not see what he means by not speaking SMTP correctly. Anyway, if it receives e-mail that you get, it also can relay messages that you send. I think in the worst case you need to authenticate. In that case you may want to try this class for composing and sending messages. It comes with a sub class for sending messages via SMTP that supports authentication. http://www.phpclasses.org/mimemessage You also need this class for the actual message delivery: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: mail() function exchange
I totally agree with your first sentence *grin*. Anyways, I won`t be able to use your class because my server is kind of locked in their network, meaning I don`t have the possibility to connect outside, only to their servers (NT servers). And as Exchange servers don`t use SMTP (meaning the whole protocol is NOT used, so your classes won`t help me), I`m not able to send mails at all. Only like he offered me to put an extra box in the network which will relay the mails from my linux server. Does anyone know about the way exchange servers work, mapi and mapisend? The only thing I found was how to program that in VB (and being able to talk to Exchange servers), but it seems like this is not possible for my penguin :) (VB on Linux??? sounds stupid) I found in old archives of this mailinglist that some people asked this question before (how to implement a mail function for exchange servers in php) but no one knew it. One hint was to use ldap. anyone any idea about this? ANY help is appreciated, I will follow the threads started about ldap but right now it does not look like it has a lot to do with the mail stuff. Another hint might be the COM interface (I saw VB code they used this) but php offers only very few things on this and as I have no idea of microsofts concepts that doesn`t help :( Please email me for suggestions!!! Wold be great to implement something new in php ;). If anyone knows documents about how outlook exchange work I would like to see them! Thanks :) Diana --- Manuel Lemos [EMAIL PROTECTED] schrieb: Hello, On 06/11/2003 05:38 PM, Diana wrote: Hi, just today I stumbled into the same problem. It is true, I got this answer from an expert: Unfortunately this will not work. SMTP relaying is disabled on all the Exchange connector servers and a standard Exchange mailbox server does not support SMTP. The only way that you can send SMTP email from within our company is to use the Internal MailSweeper. And to allow this we need the IP Address of the box that will be sending the messages so that we can include it in the authenticated list. We have to have things set up this way for Security reasons. One other thing I should have mentioned. Outlook uses mapi to send on the Exchange servers. So we can use the mapisend command but I do not know if your application would support this. I think that this may also need a valid Outlook profile to work. I don`t understand that either, because I am trying to use my Linux server (inside my companys network) to deliver mails to the exchange server via sendmail. If anyone knows more about this topic, let me know.sorry that this obviously does not belong to a php list, but I deleted the original email could not find the email address of the author of this topic :( I wonder about his expertise. Authentication was meant for security reasons. Anyway, you do no not need to relay in the company SMTP server unless outside access is blocked in some firewall. If you are using Linux, you just need to use the mail() function because it just uses sendmail by default. If you still have problems, just use the classes that I mentioned enabling direct delivery mode in the SMTP sending attributes. That does the same as sendmail but at least if it fails you can enable debugging to see what the SMTP protocol dialog reveals. --- Manuel Lemos [EMAIL PROTECTED] schrieb: Hello, On 06/10/2003 04:44 PM, Matthias Wulkow wrote: a friend of mine is trying to set up an automated mailing function. The platform is Windows he's using the last PHP release at this time. He asks me how to do it with Exchange, because it doesn't speak SMTP or not correctly? What is the matter? Is that true? But that's not really the question... could somebody point me to some documents where I could find out, what has to be done to make it work? I do not see what he means by not speaking SMTP correctly. Anyway, if it receives e-mail that you get, it also can relay messages that you send. I think in the worst case you need to authenticate. In that case you may want to try this class for composing and sending messages. It comes with a sub class for sending messages via SMTP that supports authentication. http://www.phpclasses.org/mimemessage You also need this class for the actual message delivery: http://www.phpclasses.org/smtpclass __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: mail() function exchange
--- Diana [EMAIL PROTECTED] wrote: I totally agree with your first sentence *grin*. Anyways, I won`t be able to use your class because my server is kind of locked in their network, meaning I don`t have the possibility to connect outside, only to their servers (NT servers). And as Exchange servers don`t use SMTP (meaning the whole protocol is NOT used, so your classes won`t help me), I`m not able to send mails at all. Only like he offered me to put an extra box in the network which will relay the mails from my linux server. Does anyone know about the way exchange servers work, mapi and mapisend? The only thing I found was how to program that in VB (and being able to talk to Exchange servers), but it seems like this is not possible for my penguin :) (VB on Linux??? sounds stupid) I found in old archives of this mailinglist that some people asked this question before (how to implement a mail function for exchange servers in php) but no one knew it. One hint was to use ldap. anyone any idea about this? ANY help is appreciated, I will follow the threads started about ldap but right now it does not look like it has a lot to do with the mail stuff. Another hint might be the COM interface (I saw VB code they used this) but php offers only very few things on this and as I have no idea of microsofts concepts that doesn`t help :( Please email me for suggestions!!! Wold be great to implement something new in php ;). If anyone knows documents about how outlook exchange work I would like to see them! Thanks :) Diana I can't comment on how your company's Exchange servers are configured, but they absolutely *can* talk SMTP. We are using a web-based application that sends email notifications through our internal Exchange servers. Now, they can be set up with SMTP turned off, or so that only certain other hosts can relay through them (send mail), and that might be what he's talking about when he says the authenticated list. I believe it's simply a list of hosts that are allowed to relay through the Exchange SMTP server. You'd be fine using SMTP on a connector server. It will relay the mail to the appropriate mailbox server (assuming they've separate the functions). Out of curiosity, why not give them the IP address and let them add the host to the authenticated sender list, as he offered? Or did I miss a part of the converation (very possible). --- Manuel Lemos [EMAIL PROTECTED] schrieb: Hello, On 06/11/2003 05:38 PM, Diana wrote: Hi, just today I stumbled into the same problem. It is true, I got this answer from an expert: Unfortunately this will not work. SMTP relaying is disabled on all the Exchange connector servers and a standard Exchange mailbox server does not support SMTP. The only way that you can send SMTP email from within our company is to use the Internal MailSweeper. And to allow this we need the IP Address of the box that will be sending the messages so that we can include it in the authenticated list. We have to have things set up this way for Security reasons. One other thing I should have mentioned. Outlook uses mapi to send on the Exchange servers. So we can use the mapisend command but I do not know if your application would support this. I think that this may also need a valid Outlook profile to work. I don`t understand that either, because I am trying to use my Linux server (inside my companys network) to deliver mails to the exchange server via sendmail. If anyone knows more about this topic, let me know.sorry that this obviously does not belong to a php list, but I deleted the original email could not find the email address of the author of this topic :( I wonder about his expertise. Authentication was meant for security reasons. Anyway, you do no not need to relay in the company SMTP server unless outside access is blocked in some firewall. If you are using Linux, you just need to use the mail() function because it just uses sendmail by default. If you still have problems, just use the classes that I mentioned enabling direct delivery mode in the SMTP sending attributes. That does the same as sendmail but at least if it fails you can enable debugging to see what the SMTP protocol dialog reveals. --- Manuel Lemos [EMAIL PROTECTED] schrieb: Hello, On 06/10/2003 04:44 PM, Matthias Wulkow wrote: a friend of mine is trying to set up an automated mailing function. The platform is Windows he's using the last PHP release at this time. He asks me how to do it with Exchange, because it doesn't speak SMTP or not correctly? What is the matter? Is that true? But that's not really the question... could somebody point me to some documents where I could find
Re: [PHP] Re: mail() function exchange
Hi, my company set their server up not to talk SMTP (disabled all -- that guy told me), and my tries to connect or talk to any of their Exchange servers failed :( so he must be true. Got onto their NT servers though ;) All the company uses Outlook Exchange, they use mapi to talk to each other. If a manager can`t be in the network, he`s connected via VPN uses Outlook as well. They`ve got a trust relationship between their NT servers the Exchange ones, lots of domains joined. As I said, I don`t have a clue of Exchange so correct me if something sounds strange. To your suggestions: of course that would be easy for me to tell them to set up a new box for me. They`ll do that. But who likes the easy way ;)? No, just my curiosity, maybe someone knows how the protocol or whatever these M$ servers use is working I could try to implement that. Would make my project more portable inside the company (They plan to use it on other sites as well), so they wouldn`t have problems with setting up separate Internal Mailsweepers everytime :). Can you tellme more about : You'd be fine using SMTP on a connector server. It will relay the mail to the appropriate mailbox server is that working even if SMTP is not enabled? The guy told me that SMTP is not enabled by default on Exchange servers and they didn`t change that! (that`s the reason for me to ask how that system works in the wholehow does outlook send the mail to the exchange server? Could it be that all the users just access something like a directory on the exchange server when starting their outlook (not a local program! not working when the exchange server crashed ;)). Maybe that`s the LDAP part? Anyone enlighten me please.. by the way, a lot of people ask these questions see here http://www.phpbuilder.com/mail/php3-list/199908/0344.php http://www.linuxsa.org.au/mailing-list/2000-07/954.html http://www.faqts.com/knowledge_base/view.phtml/aid/13043/fid/21 I can't comment on how your company's Exchange servers are configured, but they absolutely *can* talk SMTP. We are using a web-based application that sends email notifications through our internal Exchange servers. Now, they can be set up with SMTP turned off, or so that only certain other hosts can relay through them (send mail), and that might be what he's talking about when he says the authenticated list. I believe it's simply a list of hosts that are allowed to relay through the Exchange SMTP server. You'd be fine using SMTP on a connector server. It will relay the mail to the appropriate mailbox server (assuming they've separate the functions). Out of curiosity, why not give them the IP address and let them add the host to the authenticated sender list, as he offered? Or did I miss a part of the converation (very possible). __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: mail() function exchange
Hi, just today I stumbled into the same problem. It is true, I got this answer from an expert: Unfortunately this will not work. SMTP relaying is disabled on all the Exchange connector servers and a standard Exchange mailbox server does not support SMTP. The only way that you can send SMTP email from within our company is to use the Internal MailSweeper. And to allow this we need the IP Address of the box that will be sending the messages so that we can include it in the authenticated list. We have to have things set up this way for Security reasons. One other thing I should have mentioned. Outlook uses mapi to send on the Exchange servers. So we can use the mapisend command but I do not know if your application would support this. I think that this may also need a valid Outlook profile to work. I don`t understand that either, because I am trying to use my Linux server (inside my companys network) to deliver mails to the exchange server via sendmail. If anyone knows more about this topic, let me know.sorry that this obviously does not belong to a php list, but I deleted the original email could not find the email address of the author of this topic :( --- Manuel Lemos [EMAIL PROTECTED] schrieb: Hello, On 06/10/2003 04:44 PM, Matthias Wulkow wrote: a friend of mine is trying to set up an automated mailing function. The platform is Windows he's using the last PHP release at this time. He asks me how to do it with Exchange, because it doesn't speak SMTP or not correctly? What is the matter? Is that true? But that's not really the question... could somebody point me to some documents where I could find out, what has to be done to make it work? I do not see what he means by not speaking SMTP correctly. Anyway, if it receives e-mail that you get, it also can relay messages that you send. I think in the worst case you need to authenticate. In that case you may want to try this class for composing and sending messages. It comes with a sub class for sending messages via SMTP that supports authentication. http://www.phpclasses.org/mimemessage You also need this class for the actual message delivery: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php = WHEN ALL ELSE FAILS, HUG YOUR SNOOPY Those who bring sunshine to the lives of others cannot keep it from themselves. J.M. Barrie (1860-1937) __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: mail() function exchange
Hello, On 06/11/2003 05:38 PM, Diana wrote: Hi, just today I stumbled into the same problem. It is true, I got this answer from an expert: Unfortunately this will not work. SMTP relaying is disabled on all the Exchange connector servers and a standard Exchange mailbox server does not support SMTP. The only way that you can send SMTP email from within our company is to use the Internal MailSweeper. And to allow this we need the IP Address of the box that will be sending the messages so that we can include it in the authenticated list. We have to have things set up this way for Security reasons. One other thing I should have mentioned. Outlook uses mapi to send on the Exchange servers. So we can use the mapisend command but I do not know if your application would support this. I think that this may also need a valid Outlook profile to work. I don`t understand that either, because I am trying to use my Linux server (inside my companys network) to deliver mails to the exchange server via sendmail. If anyone knows more about this topic, let me know.sorry that this obviously does not belong to a php list, but I deleted the original email could not find the email address of the author of this topic :( I wonder about his expertise. Authentication was meant for security reasons. Anyway, you do no not need to relay in the company SMTP server unless outside access is blocked in some firewall. If you are using Linux, you just need to use the mail() function because it just uses sendmail by default. If you still have problems, just use the classes that I mentioned enabling direct delivery mode in the SMTP sending attributes. That does the same as sendmail but at least if it fails you can enable debugging to see what the SMTP protocol dialog reveals. --- Manuel Lemos [EMAIL PROTECTED] schrieb: Hello, On 06/10/2003 04:44 PM, Matthias Wulkow wrote: a friend of mine is trying to set up an automated mailing function. The platform is Windows he's using the last PHP release at this time. He asks me how to do it with Exchange, because it doesn't speak SMTP or not correctly? What is the matter? Is that true? But that's not really the question... could somebody point me to some documents where I could find out, what has to be done to make it work? I do not see what he means by not speaking SMTP correctly. Anyway, if it receives e-mail that you get, it also can relay messages that you send. I think in the worst case you need to authenticate. In that case you may want to try this class for composing and sending messages. It comes with a sub class for sending messages via SMTP that supports authentication. http://www.phpclasses.org/mimemessage You also need this class for the actual message delivery: http://www.phpclasses.org/smtpclass -- Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: mail() function exchange
Hello, On 06/10/2003 04:44 PM, Matthias Wulkow wrote: a friend of mine is trying to set up an automated mailing function. The platform is Windows he's using the last PHP release at this time. He asks me how to do it with Exchange, because it doesn't speak SMTP or not correctly? What is the matter? Is that true? But that's not really the question... could somebody point me to some documents where I could find out, what has to be done to make it work? I do not see what he means by not speaking SMTP correctly. Anyway, if it receives e-mail that you get, it also can relay messages that you send. I think in the worst case you need to authenticate. In that case you may want to try this class for composing and sending messages. It comes with a sub class for sending messages via SMTP that supports authentication. http://www.phpclasses.org/mimemessage You also need this class for the actual message delivery: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php