KB Article 16264
2019/10/11

Close
X
Contact Tech Support

 Email Tech Support
 (250) 655-1766
 [7:30 - 5:00 PST]
Your Meeting ID will be Provided by a Rep.
Tech Support
Tech Support Home
Software Updates
Knowledge Base Search
Recent KB Articles
Product FAQs
Code Samples
Documentation
Tech Blog
System Requirements
Installation Instructions
Support Testimonials
Contact us to...
Create a Ticket
Request a Free Demo
Suggest a New Feature
Submit Feedback
Upload a Large File
Other Services
Software Training
Professional Services

How to send multiple attachments and how many attachments can I send at once using sendmailex()?

Product: WebSmart ILE Type: Frequently Asked Question

HOW MANY ATTACHMENTS CAN I SEND WITH SENDMAILEX()?

You can send any number of attachments. The only constraint on them is the total size, explained below.

WHAT IS THE MAXIMUM SIZE OF THE ATTACHMENTS I CAN SEND?

You can send a total of 16 MB of data.

HOW CAN I SEND MULTIPLE ATTACHMENTS ON ONE EMAIL?

In WebSmart ILE, you can send multiple attachments through email using the function sendmailex(). To do this, you can separate the attachments you want to send with a ";" delimiter as such:

crtfld(path, 1000, "A", 0, "path to attachments);

path = "/path/attachment/one.jpg;path/attachment/two.jpg;/path/attachment/three.jpg";

sendmailex("from@address.com", "to@address.com", "Subject", "cc@address.com", "bcc@address.com", "Content-type: text/html", "Body of the email goes here", path);

 

Rate This Article

Did this example help you to achieve your goal?
 Yes  No  Don't Know

Enter additional comments below.   If you want to hear back from us, include your contact information.

Email Address:
Comments:
Please enable JavaScript in order to rate this page.