Can I re-write the sender address based on it's format? I'm using this to accommodate an email-to-fax gateway. The desired goal is:

1. Assume the final valid format to be the full ten digit phone number with a leading 1, plus the fax domain. 11231234...@faxmachine.com

2.  If the user actually writes the full address - pass it through.

3. If the user passes the number without the leading 1 or area code - add the 1 plus our local area code.

4.  If the user passes the number without the leading 1 - add the 1.

5. If a 7, 10, or 11 digit number is passed without a domain - add "@faxmachine.com".

Is any of this possible?
--
Daniel

Reply via email to