close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Attachment not sent with E-mail

Thread began 4/05/2012 12:39 pm by nsisler401033 | Last modified 4/06/2012 8:19 am by Jason Byrnes | 2737 views | 11 replies |

nsisler401033

Attachment not sent with E-mail

I am using Universal Email 4 with pear mail using smtp. The emails are sending, but the attachment is not. I have configured email for attachments per instructions. I have searched forum with no luck. I am using my own web server which has windows 2008, iis7 with pear installed. I have the correct path to pear and mail and mime are installed. I am also using my own email server, which requires smtp authentication. In my php.ini file size limit is set to 100M and the timezone is set to America/New_York. When I complete the form, the errors displaying are timezone errors in the PEAR_Mail_using_SMTP_php.php file on line 183. Line 183 reads $headerArray["Date"] = date('r (T)'); . Another error is
We selected 'America/New_York' for '-4.0/DST' instead in C:\inetpub\LocalUser\jesse\contact.php on line 109 Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\LocalUser\jesse\webassist\email\PEAR_Mail_using_SMTP_php.php(258) : runtime-created function:1) in C:\inetpub\LocalUser\jesse\contact.php on line 109 - line 109 reads $this->Importance = ""; in addition to other errors. Any help would be appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

on the download center page for Universal Email, in the known issues section, there is a known issue for errors when using Pear mail.

it's hard to troubleshoot the errors because you describe them without giving the actual error.

please include the actual error text rather then describing then, it is much more helpful.

you say that the attachment is not being received, but the errors suggest that the entire email is not being received, is it the problem with the email being received without attachments or it i the email is not being received at all?

Sign in to reply to this post

nsisler401033

I apologize for not being clear. The email is being sent, but the attachment is not.

Sign in to reply to this post

Jason ByrnesWebAssist

ok, can you send a copy of the page please so I can see the code.

Sign in to reply to this post

nsisler401033

Attached is the contact page.

Attached Files
contact.zip
Sign in to reply to this post

Jason ByrnesWebAssist

ok, to troubleshoot:
add the following code at line 1 to turn on error reporting:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>



go to the bindings panel and expand the WA Uploaded Files Global Status group and add the Debug info binding to the page.

change the following line:

php:
$GoToPage = "thank-you.php";



to:

php:
$GoToPage = "";



so that it will not redirect after sending the email.

post back the debug info results after testing the email along with a copy of the
webassist/email/waue_contact_1.php file

Sign in to reply to this post

nsisler401033

Attached are results.

Attached Files
waue_contact_1.zip
Sign in to reply to this post

Jason ByrnesWebAssist

all i see in the results are error message, did you apply the known issues fix from the download center like i suggested in the initial response?

Sign in to reply to this post

nsisler401033

Yes. I also double checked to make sure I did.

Sign in to reply to this post

Jason ByrnesWebAssist

did you edit the Universal Email instance on the page and re upload the webassist/email folder to regenerate the code? this is necessary to update the include files with the corrections.

Sign in to reply to this post
loading

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

Content

rating

Layout

rating

Ease of use

rating

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...