I am able to send mails by calling a goal of ant script. The problem arises
when I send attachments in the mail. What can I do to send mails containing
attachments using ant task.


Wayne Fay wrote:
> 
> The basic Ant dependency does not include optional features like sending
> email.
> 
> This is discussed (and answer given to solve it) in the following JIRA:
> http://jira.codehaus.org/browse/MANTRUN-53
> 
> Wayne
> 
> On 6/16/08, Shikha.Somani <[EMAIL PROTECTED]> wrote:
>>
>> I need to send mail containing attachments through maven2. There is no
>> plugin
>> available so I made an ant plugin to send mails.
>>
>> The build script could send mails containing attachments but using the
>> same
>> build as plugin in maven could not send attachments. There is certaing
>> exception because of which the attachments could not be send.
>>
>> Exception: [mail] Failed to initialise MIME mail:
>> org.apache.tools.ant.taskdefs.email.MimeMailer
>>
>> Any help will be appreciated
>>
>> Thanks.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Sending-mail-through-maven2-using-ant.-tp17859708p17859708.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Sending-mail-through-maven2-using-ant.-tp17859708p17878128.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to