<div class="gmail_quote">On Wed, Nov 3, 2010 at 5:41 PM, L. V. Lammert <span dir="ltr"><<a href="mailto:lvl@omnitec.net">lvl@omnitec.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
We have a need to send emails that are then forwarded by gmail to a<br>
remote recipient. Gmail seems to be refusing to forward the messages<br>
[the filter does not work] so I assume it's because the sender cannot<br>
be verified?<br>
<br>
There is no valid mail server onsite [that's why they use gmail], so<br>
it seems like the best approach would be to send the email to gmail<br>
using SASL, but most of the php libraries seem to require a local MTA?<br>
<br>
Is there a simple way with php to send email with SASL?<br>
<br></blockquote></div><div><br></div><div>Hi, I tried this a while back, it was challenging but it did work. Iirc the e-mails had a from header mentioning the email address of the account you use to send the e-mail.</div>
<div><br></div><div>Basically, you install postfix and configure it to send mail via gmail. Then you get the benefits of a local mta.</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://braiden.org/?p=15">http://braiden.org/?p=15</a></div>
<br>-- <br>Matthew Nuzum<br>newz2000 on freenode, skype, linkedin, <a href="http://identi.ca" target="_blank">identi.ca</a> and twitter<br><br>"An investment in knowledge pays the best interest." -Benjamin Franklin <br>
<br>