close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Never receive mail using PEAR

Thread begun 1/30/2018 10:29 am by vernon webb | Last modified 1/31/2018 11:44 am by Ray Borduin | 2850 views | 15 replies |

vernon webb

Never receive mail using PEAR

I am moving to a new server which requires my sending email using authentication so I am using the Universal Email with PEAR Mail with SMTP. All seems to work well but I get no email. I have no idea how to trouble if all seems to go well with no errors. Would appreciate any help.

Sign in to reply to this post

Ray BorduinWebAssist

I'd suggest trying the DataBridge Alpha build.

The email code has been updated so that PEAR is no longer needed for authenticated email:
http://www.webassist.com/forums/posts.php?id=40733

Sign in to reply to this post
Did this help? Tips are appreciated...

vernon webb

Installed and trying but got an error in this line, which I don't see the error:

$Email->Subject = "\".$row_rsCLIENT['repName'] .\" Is Due a Commission Check";

Sign in to reply to this post

vernon webb

Above and beyond that the page is now experiencing a 500 error.

Sign in to reply to this post

Ray BorduinWebAssist

That line should read:

$Email->Subject = "".$row_rsCLIENT['repName'] ." Is Due a Commission Check";

Can I get FTP access and a URL to debug the 500 error? Did you upload the webassist/ecart folder?

Sign in to reply to this post
Did this help? Tips are appreciated...

vernon webb

OK

Sign in to reply to this post

Ray BorduinWebAssist

I found a few issues that I corrected and the page is trying to send the email now.

One issue is that you explicitly have the page set to not send if the repid is 1, and that is the rep for this account.

I added:

|| 1==1



to line 71 to allow it to send when the rep is 1.

I've added debug code to the page that you will see.

Try updating line 83 and 84 to use the correct username and password. Once the email is sending properly you can delete line 79 to remove the debug code and delete line 99 to let the code finish processing and redirect.

Let me know if your email still doesn't send after updating the credentials. Also make sure the smtp server host name is correct on line 81.

Sign in to reply to this post
Did this help? Tips are appreciated...

vernon webb

The server behavior is now gone. I have no idea where to check the password.

Sign in to reply to this post

vernon webb

Actually when I look at the lines of data for that the host is gone and all the information is in the wrong place, for instance the password is the host address...

Sign in to reply to this post

Ray BorduinWebAssist

Yes. I moved them around because some seemed wrong in the code. That is why I mentioned they should be checked and reset.

Sign in to reply to this post
Did this help? Tips are appreciated...
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...