You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Peter Sparkes <pe...@didm.co.uk> on 2007/10/11 15:29:52 UTC

Re: SendMail & smart host (was sendmail)

Hi, 

I can't connect to the default SMTP port number 25, but have to use a 
Smart host, "smtp.bytemark.co.uk". Please is it possible to use a Smart 
Host with sendmail and if so how.

thanks

Peter
> Hi Tobia,
>
> I have a MTA but I am now not sure that I am connecting to it properly
>
> Thanks
>
> Peter
>> Peter Sparkes wrote:
>>  
>>> I have put the Sun mail.jar and activation.jar in my WEB-INF/lib and
>>> removed removed geronimo-spec-javamail-*.jar and
>>> geronimo-spec-activation-*.jar from WEB-INF/lib.
>>>
>>> However I still get the error message
>>> "Could not connect to SMTP host: localhost, port: 25"
>>>     
>>
>> Stupid question, but... are you sure you have a MTA running on 
>> localhost?
>>
>>
>> Tobia
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>
>>   
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: SendMail & smart host (was sendmail)

Posted by Peter Sparkes <pe...@didm.co.uk>.
Thanks Tobia,

It's the transformer. Thanks to your help it is now working

Peter
> Peter Sparkes wrote:
>   
>> I have to use a Smart host, "smtp.bytemark.co.uk".  Please is it
>> possible to use a Smart Host with sendmail and if so how.
>>     
>
> You didn't say whether you're using the Sendmail Transformer, the
> Sendmail Action, or another thing entirely.
>
> Here is how you can configure for the first two.  Notice that the
> transformer wants "smtphost", while the action wants "smtp-host".
>
>
> <map:transform type="sendmail">
>     <map:parameter name="smtphost" value="smtp.bytemark.co.uk"/>
>     ...
>
> <map:act type="sendmail">
>     <map:parameter name="smtp-host" value="smtp.bytemark.co.uk"/>
>     ...
>
>
> Tobia
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: SendMail & smart host (was sendmail)

Posted by Tobia Conforto <to...@linux.it>.
Peter Sparkes wrote:
> I have to use a Smart host, "smtp.bytemark.co.uk".  Please is it
> possible to use a Smart Host with sendmail and if so how.

You didn't say whether you're using the Sendmail Transformer, the
Sendmail Action, or another thing entirely.

Here is how you can configure for the first two.  Notice that the
transformer wants "smtphost", while the action wants "smtp-host".


<map:transform type="sendmail">
    <map:parameter name="smtphost" value="smtp.bytemark.co.uk"/>
    ...

<map:act type="sendmail">
    <map:parameter name="smtp-host" value="smtp.bytemark.co.uk"/>
    ...


Tobia

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org