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

rating

email doesn't send through smtp

Thread began 6/03/2012 7:41 pm by eric439547 | Last modified 6/05/2012 1:27 pm by CubFan_Eric | 2021 views | 8 replies |

eric439547

email doesn't send through smtp

I contacted my domain host (IX Hosting) about setting up pear with smtp. They told me that I cannot use smtp I must used php mail. Please advise. Error can be viewed here : wci_upload.php

Sign in to reply to this post

Jason ByrnesWebAssist

the link you provide goes do an upload page, I don't see an error trying to upload, the upload seams to work.

In the universal Email settings, there are 2 options for the email object:
mail
Pear Mail For SMTP

if you select mail, it uses the php mail() function.

Sign in to reply to this post

eric439547

php mail() setup

I do have a php file I include to authenticate emails I send with other forms I have on the site.

I did select mail in UE. After attempting an upload this is the message I get...

array(12) {
["wci_upload_upload"]=>
&string(53) "2012 LLL Poster Banner Massage Envy Lincoln color.pdf"
["waue_wci_upload_1_Total"]=>
&int(0)
["waue_wci_upload_1_Index"]=>
&int(0)
["waue_wci_upload_1_Remaining"]=>
&int(0)
["waue_wci_upload_1_Log"]=>
&string(156) "Sending To: myorders@exp4me.com... mail() [function.mail]: SMTP server response: 504 Authenticate first (#5.5.0) - Failure

"
["waue_wci_upload_1_From"]=>
&string(26) "webuploads@ericsxpress.com"
["waue_wci_upload_1_To"]=>
&string(19) "myorders@exp4me.com"
["waue_wci_upload_1_Subject"]=>
&string(13) "File Uploaded"
["waue_wci_upload_1_Body"]=>
&string(312) "
--WAMULTIBREAKWA
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

The file 2012 LLL Poster Banner Massage Envy Lincoln color.pdf has been uploaded.
--WAMULTIBREAKWA
Content-Type: text/html

The file 2012 LLL Poster Banner Massage Envy Lincoln color.pdf has been uploaded.
--WAMULTIBREAKWA--
"
["waue_wci_upload_1_Header"]=>
&string(387) "MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="WAMULTIBREAKWA"
From: webuploads@ericsxpress.com
Reply-To: webuploads@ericsxpress.com
Return-Path: webuploads@ericsxpress.com
X-Sender: webuploads@ericsxpress.com
X-Priority: 1
Date: Mon, 04 Jun 2012 10:58:51 -0400 (EDT)
Message-ID: <31718.dc6f74b2d15c76a2dfbd02f3e46c37f5@ericsxpress.com>
Organization: EXP Inc
"
["waue_wci_upload_1_Error"]=>
&string(105) "mail() [function.mail]: SMTP server response: 504 Authenticate first (#5.5.0)"
["waue_wci_upload_1_Status"]=>
&string(7) "Failure"
}

Sign in to reply to this post

Jason ByrnesWebAssist

the error is saying that the smtp server requires authentication.

the php mail() function does not support authentication. double check with your host to determine what SMTP server they offer that can be used with the php mail() function.

Sign in to reply to this post

CubFan_Eric

Update

My isp said I can use localhost port 25 no authentication. When I did I got this error...
Warning: require_once(Mail.php) [function.require-once]: failed to open stream: No such file or directory in D:\hshome\c293604\wci.ericsxpress.com\webassist\email\PEAR_Mail_using_SMTP_php.php on line 113

Fatal error: require_once() [function.require]: Failed opening required 'Mail.php' (include_path='.;C:\Program Files\HSphere\3rdparty\PHP\PHP5\pear') in D:\hshome\c293604\wci.ericsxpress.com\webassist\email\PEAR_Mail_using_SMTP_php.php on line 113

I don't see a file called Mail.php.

Where should it be located?

Sign in to reply to this post

Jason ByrnesWebAssist

in your initial message, you said the host does not support pear mail.

in the universal email settings for the mail object type, don't select the Pear Mail for SMTP option, select the mail option instead.

Sign in to reply to this post

CubFan_Eric

Update

Apparently I can use it. This is the error I get:
Warning: require_once(Mail.php) [function.require-once]: failed to open stream: No such file or directory in D:\hshome\c293604\wci.ericsxpress.com\webassist\email\PEAR_Mail_using_SMTP_php.php on line 113

Fatal error: require_once() [function.require]: Failed opening required 'Mail.php' (include_path='.:/cgi-bin/php/PEAR') in D:\hshome\c293604\wci.ericsxpress.com\webassist\email\PEAR_Mail_using_SMTP_php.php on line 113

The PEAR_Mail_using_SMTP_php.php uses this command on line 113 - require_once($mailObj->PearPath."Mail.php");

Can I remove PearPath. and edit it to read - require_once($mailObj->"path\to\Mail.php");

Sign in to reply to this post

Jason ByrnesWebAssist

in the email settings, one of the settings is the path to pear. you will need to ask your hosting company what the path to pear is, otherwise, just use the php mail() object instead, as pear is really only needed if you have to pass authentication.

Sign in to reply to this post

CubFan_Eric

Resolved

That took care of it. Thank you for sticking with me through this. I really appreciate it.

Sign in to reply to this post

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