# Attachments with the SagMailGateway

**URL:** <https://techcommunity.softwareag.com/t/attachments-with-the-sagmailgateway/58478>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Service-Orchestrator\
**Created:** [April 28, 2003, 5:53pm UTC](https://techcommunity.softwareag.com/t/attachments-with-the-sagmailgateway/58478 "2003-04-28T17:53:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![R\_C](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@R\_C](https://techcommunity.softwareag.com/u/R_C)\
**Post date:** [April 28, 2003, 5:53pm UTC](https://techcommunity.softwareag.com/t/attachments-with-the-sagmailgateway/58478/1 "2003-04-28T17:53:07Z")

</div>

Hi There–  
  
Down the line, someone has already has posted a similar problem.  
  
I would like to send Non-XML files as attachments, to multiple mail-ids using SagMailGateway in Mediator I have tested the SagMailGateway, but it could only send the processed XML document as a mail. Also, the ‘xbd.outbound.attachment’ property doesnt’ seems to work. I couldnt’ send any external file as an attachment to the mail. The below is sequence document snippet that is used to send the mail.  
  
  
 \<step component=“SagMailGateway”  
 xbd.mail.transport.host=“[mail.somesmtpserver.com](http://mail.somesmtpserver.com)”  
 xbd.mail.method=“PUT”  
[xbd.mail.to="rchamarthy@somesmtpserver.com](mailto:xbd.mail.to=%22rchamarthy@somesmtpserver.com)"  
[xbd.mail.from="rchamarthy@somesmtpserver.com](mailto:xbd.mail.from=%22rchamarthy@somesmtpserver.com)"  
 xbd.mail.subject=“A Test mail using SagMailGateway”  
 xbd.outbound.attachment=“c:\test.xml”  
 /\>  
  
I am using Mediator V 7.1.1 patch 3. In the newer versions any updatations have been made regading the attachments.   
  
Thanks and Regards,   
Ravi Chamarthy.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/attachments-with-the-sagmailgateway/58478/2 "2021-04-02T14:39:17Z")

</div>


