I have written a web app that can search Active Directory for a user's cell phone email address, and provide a web form that emails that phone a message. The app is hosted on a LAMP platform. All mail on this linux box is sent through Postfix to our Exchange 2003 mail server for local delivery. I need to save this email in the 'Sent Items' of the web user's Exchange 2003 mailbox.
My ideal solution would be to send the email directly through Exchange so that the messae is delivered to the final destination and saved in appropriate Exchange folder.
If I have to code two parts (SMTP and save to Exchange) that is fine, too.
I'm running apache on linux and have both PHP/Perl available. The Exchange Server is Exchange 2003 and is running on the same LAN with the web server. I do not currently have IMAP enabled on the Exchange server.
What do you think my best options are?
Thanks in advance for you wisdom,
Sean Clark
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.