You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by echo <ec...@gmail.com> on 2012/08/21 10:07:16 UTC

Can we use DEMO mode to send a real mail in Hupa?

Hi Manolo
In Hupa's DEMO mode, can we send messages to an solid inbox such as Gmail
and we can check it. Where will they be dispatch by Gmail, Inbox or Spam?

-- 
*echo*

Re: Can we use DEMO mode to send a real mail in Hupa?

Posted by echo <ec...@gmail.com>.
Thanks.

On Wed, Aug 22, 2012 at 3:37 PM, Manuel Carrasco Moñino
<ma...@apache.org>wrote:

> In Demo mode, hupa uses a mocked smtp server which does nothing when
> sending an email (See DemoGuiceServerModule.java).
>
> But in server side, hupa should copy the message sent to the demou user's
> sent folder, so you could test how the message looks in this folder.
>
> If you wanted to send real messages in demo mode, you have to return a
> valid Trasport in the method getMailTransport of the above class.
>
> You could use any smtp server you could have running in localhost (james,
> sendmail, etc), or any external server (you could need to configure
> authentiation etc). When those emails reach real inboxes, they could be
> marked as span depending on the configuration of the target email provider
> you are using, and many other different factors. Normally if you find your
> email in the span folder that does not mean that hupa was the problem but
> the smtp server.
>
> - Manolo
>
>
>
> El 21/08/2012 10:07, "echo" <ec...@gmail.com> escribió:
>
>> Hi Manolo
>> In Hupa's DEMO mode, can we send messages to an solid inbox such as Gmail
>> and we can check it. Where will they be dispatch by Gmail, Inbox or Spam?
>>
>> --
>> *echo*
>>
>


-- 
*echo*

Re: Can we use DEMO mode to send a real mail in Hupa?

Posted by Manuel Carrasco Moñino <ma...@apache.org>.
In Demo mode, hupa uses a mocked smtp server which does nothing when
sending an email (See DemoGuiceServerModule.java).

But in server side, hupa should copy the message sent to the demou user's
sent folder, so you could test how the message looks in this folder.

If you wanted to send real messages in demo mode, you have to return a
valid Trasport in the method getMailTransport of the above class.

You could use any smtp server you could have running in localhost (james,
sendmail, etc), or any external server (you could need to configure
authentiation etc). When those emails reach real inboxes, they could be
marked as span depending on the configuration of the target email provider
you are using, and many other different factors. Normally if you find your
email in the span folder that does not mean that hupa was the problem but
the smtp server.

- Manolo



El 21/08/2012 10:07, "echo" <ec...@gmail.com> escribió:

> Hi Manolo
> In Hupa's DEMO mode, can we send messages to an solid inbox such as Gmail
> and we can check it. Where will they be dispatch by Gmail, Inbox or Spam?
>
> --
> *echo*
>