close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Email attachment also sends .dat file

Thread began 10/27/2016 7:15 am by georgina_barrett_187762 | Last modified 10/28/2016 1:11 pm by georgina_barrett_187762 | 521 views | 2 replies


Email attachment also sends .dat file

I have a page that sends out an email with a number of attachments. I have 2 static attachments with the file urls pulled in from database fields. These fields are not always filled in and so there wont always be an attachment sent out with the email. I also have a repeat region attachment that can send none, 1 or multiple attachments. Everything works fine - the email sends out as do the attachments whether there be none, 1 or multiple.

The problem is that along with the attachment the email sends .dat files and the name of these .dat files is the same name as the folder (clientconf.dat) in which the attachments are stored on my server.

Here is the bit of code from the email file

//Attachment Entries
$WA_MailObject = WAUE_AddAttachment($WA_MailObject,"clientconf/".($Payments->getColumnVal("ATOLCert")) ."");
do {
$WA_MailObject = WAUE_AddAttachment($WA_MailObject,"clientconf/".$row_service["UploadConf"] ."");
} while ($row_service = mysql_fetch_assoc($service));
$WA_MailObject = WAUE_AddAttachment($WA_MailObject,"clientconf/".($ServiceFlight->getColumnVal("UploadConf")) ."");

This isn't too much of a problem however I have had quite a few clients contacting me to say they can't open all the attachments and can I resend them.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...