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

PEAR third party server authenticating with PowerMessenger

Thread began 3/24/2020 11:31 am by yogastudents362523 | Last modified 3/30/2020 10:41 am by Ray Borduin | 472 views | 32 replies |

yogastudents362523

PEAR third party server authenticating with PowerMessenger

hello,

I have seen this old forum question:

http://www.webassist.com/forums/posts.php?id=38169

and I already have the "PEAR_Mail_using_SMTP_php.php
file in question.

But since I have installed powermessenger, there are in fact two separate webassist directories, each with an email subdirectory

Please confirm that the one I want to mess around with is ONLY the one that is a subdirectory under the powermessenger webmail

And I of course intend to make backup copies, but please also confirm that the instructions given in that old forum thread are accurate because, for example, there are not 6 files in the direcrory but rather 8, and I want to be certain I do the right thing to the right files, so I can send out emails.

Thank you very much, and sorry for the many troubles I seem to be creating at this time.

Thank you for your kindness, time, and produucts

KB

Sign in to reply to this post

Ray BorduinWebAssist

Yes, those old instructions are still valid.

You would not adjust the files in your root directory. They would be adjusted in the root of the power messenger portion:
/powermessenger/webassist/email

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

yogastudents362523

Hello,

I went in to do the editing, and the first file I came to on Line 15 was:

$WA_MailObject = WAUE_Definition("".($WAGLOBAL_Email_Server) ."","25","",""."PHP /".phpversion() ."",$WAGLOBAL_Email_Use_Additional_Params,"utf-8");

which is not like the one in the forum post I am using as a guide, and that says that the original I am trying to correct is, rather:

$WA_MailObject = WAUE_Definition("".($WAGLOBAL_Email_Server) ."","25","","",$WAGLOBAL_Email_Use_Additional_Params,"utf-8");

Given that I need to insert "SSL" somewhere or other in order to keep my specific mail service satisfied, is there a listing of and for all those options so I can be certain the correct paramemeter is being inserted into the correct location? My actual file has that PHP version check that does not feature in your original, for example, and I am going a bit cross-eyes trying to count the number of commas and separators. Plus not knowing what they individually mean means I am uncertain what should be inserted where. Thank you.

KB

Sign in to reply to this post

Ray BorduinWebAssist

The function is:

WAUE_Definition($pearPath,$serverName,$serverPort,$serverUsername,$serverPassword,$serverAuthenticate,$organization,$xMailer,$charSet)

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

yogastudents362523

sorry to be a pain but I am thoroughly exhausted and can't think straight.

Would you please confirm that the following code snippet is correct, thank you.

$WA_MailObject = WAUE_Definition("mail_php.php", "smtp.xxxxxxx.com","465","raytheman@webassist.com","xxxxxxxx","SSL","","utf-8");

I continue to be puzzled by the Global declaration you have at the front in the original. Since there are six files to correct, I don't want to make any errors. It will also help any other future amateur such as myself in the future, hopefully, to see the correct rendition from you.

Thank you
KB

Just to confirm, I have renamed the PEAR file you had earlier as the above, so it is all ready to go

Sign in to reply to this post

Ray BorduinWebAssist

That looks ok... it might just be:
$WA_MailObject = WAUE_Definition("", "smtp.xxxxxxx.com","465","raytheman@webassist.com","xxxxxxxx","SSL","","utf-8");

Often the pear path can be left blank and the default will be used, which is usually correct.

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

yogastudents362523

Sigh.

Is there any simple way to set up debugging?

I have tried both variants (naming and not naming the mail_php.php file) and neither is working.


Thank you,
KB

Sign in to reply to this post

Ray BorduinWebAssist

I'm updating your powermessenger from PEAR to the new phpMailer library that has more debugging and we already tested and have working on your site.

I think I made the changes, but when I went to test it appears my FTP access has been blocked.

Can you give me access to the control panel so I can upload and test my updates that way?

I updated the files:
forward.php
users_emailpw.php
users_profile.php
admin_pm/users_registration.php
admin_pm/common/mailings.php
admin_pm/common/send_preview.php
webassist/plugins/registration/registration.php
webassist/plugins/registrations/themed/registration.php
webassist/plugins/registration/full/registration.php

Please download them so you don't accidentally overwrite them later.

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

yogastudents362523

I will d/l and archive immediately

I do not know why your FTP access is suddenly not working.

I just tested it both by direct FTP and with Dreamweaver and both work.

Access details to my Plesk control panel are underneath

Sign in to reply to this post

yogastudents362523

A word of slight apprehension?

You listed
admin_pm/common/send_review.php

But it is on the actual site as:

admin_pm/common/sendPreview.php

So if something was not working, that is why.

If you confirm, I will correct it myself, unless you have already done it.

Thank you,
KB





I have d/led the files.

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