Community Discussions and Support
Community based email

[quote user="Davife"]

They would send messages from the PHP script.  The recipient would then be able to reply to the 'alias' address.  In reading the alias documentation, I think that will work however, I have 3 more questions.

1) Can I add a new user through a PHP script?

[/quote]

 By aliasing the @yourdomain address to their real (own external) address you could avoid having to create local users.

[quote]

2) If so, can I create an alias at that time or do I have to use MALIAS?

3) Are the messages forwarded via the alias mechanism available so that I can show a record of all messages between 2 users on the website?

[/quote]

Yes. You would create a global filter rule that 'Always' triggers and 'Copy' each mail to a local user (called say "ARCHIVE") that you can access via your own mail client, via IMAP might be a good choice.

[quote user="Davife"]<p>They would send messages from the PHP script.  The recipient would then be able to reply to the 'alias' address.  In reading the alias documentation, I think that will work however, I have 3 more questions.</p> <p>1) Can I add a new user through a PHP script?</p><p>[/quote]</p><p> By aliasing the @yourdomain address to their real (own external) address you could avoid having to create local users. </p><p>[quote] </p> <p>2) If so, can I create an alias at that time or do I have to use MALIAS?</p> <p>3) Are the messages forwarded via the alias mechanism available so that I can show a record of all messages between 2 users on the website?</p><p> [/quote]</p><p>Yes. You would create a global filter rule that 'Always' triggers and 'Copy' each mail to a local user (called say "ARCHIVE") that you can access via your own mail client, via IMAP might be a good choice. </p>

I'm looking some guidance on using the Mercury server.  I have a community application using PHP, mySQL.  What I would like to do is allow members to send messages to each other which they will receive in their email inbox.  They will not see the senders return email, but see something like sendername@ourwebsite.com for example. 

In looking at the documentation, it seems that a way to do this is thru a domain mailbox but unless there's a way to filter the list of emails, I would be forced to download the entire mailbox everytime and filter the emails myself or post each download to my own database and subsequently delete those emails from the domain mailbox.   Is there some other way?

Thanks,

David 

 

<P>I'm looking some guidance on using the Mercury server.  I have a community application using PHP, mySQL.  What I would like to do is allow members to send messages to each other which they will receive in their email inbox.  They will not see the senders return email, but see something like <A href="mailto:sendername@ourwebsite.com">sendername@ourwebsite.com</A> for example.  </P> <P>In looking at the documentation, it seems that a way to do this is thru a domain mailbox but unless there's a way to filter the list of emails, I would be forced to download the entire mailbox everytime and filter the emails myself or post each download to my own database and subsequently delete those emails from the domain mailbox.   Is there some other way?</P> <P>Thanks,</P> <P>David </P> <P mce_keep="true"> </P>

[quote user="Davife"]

What I would like to do is allow members to send messages to each other which they will receive in their email inbox.  They will not see the senders return email, but see something like sendername@ourwebsite.com for example. 

[/quote]

How would they send the messages? From your PHP script or their mail client?

If PHP, just set your script to use the desired from address.

[quote]

In looking at the documentation, it seems that a way to do this is thru a domain mailbox but unless there's a way to filter the list of emails, I would be forced to download the entire mailbox everytime and filter the emails myself or post each download to my own database and subsequently delete those emails from the domain mailbox.   Is there some other way?

 [/quote]

Do you want them to be able to reply to the  sendername@ourwebsite.com address and it go to the real email of the sender?

If so you could populate the alias list from your DB. See the manual for info on creating/importing an alias file.

A domain mailbox is probably not what you want.

[quote user="Davife"]<p>What I would like to do is allow members to send messages to each other which they will receive in their email inbox.  They will not see the senders return email, but see something like <a href="mailto:sendername@ourwebsite.com" mce_href="mailto:sendername@ourwebsite.com">sendername@ourwebsite.com</a> for example.  </p> <p>[/quote]</p><p>How would they send the messages? From your PHP script or their mail client?</p><p>If PHP, just set your script to use the desired from address. </p><p>[quote]</p><p>In looking at the documentation, it seems that a way to do this is thru a domain mailbox but unless there's a way to filter the list of emails, I would be forced to download the entire mailbox everytime and filter the emails myself or post each download to my own database and subsequently delete those emails from the domain mailbox.   Is there some other way?</p><p mce_keep="true"> [/quote]</p><p mce_keep="true">Do you want them to be able to reply to the  <a href="mailto:sendername@ourwebsite.com">sendername@ourwebsite.com</a> address and it go to the real email of the sender? </p><p mce_keep="true">If so you could populate the alias list from your DB. See the manual for info on creating/importing an alias file. </p><p mce_keep="true">A domain mailbox is probably not what you want. </p>

They would send messages from the PHP script.  The recipient would then be able to reply to the 'alias' address.  In reading the alias documentation, I think that will work however, I have 3 more questions.

1) Can I add a new user through a PHP script?

2) If so, can I create an alias at that time or do I have to use MALIAS?

3) Are the messages forwarded via the alias mechanism available so that I can show a record of all messages between 2 users on the website?

Thanks for your help.

David

 

<P>They would send messages from the PHP script.  The recipient would then be able to reply to the 'alias' address.  In reading the alias documentation, I think that will work however, I have 3 more questions.</P> <P>1) Can I add a new user through a PHP script?</P> <P>2) If so, can I create an alias at that time or do I have to use MALIAS?</P> <P>3) Are the messages forwarded via the alias mechanism available so that I can show a record of all messages between 2 users on the website?</P> <P>Thanks for your help.</P> <P>David</P> <P mce_keep="true"> </P>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft