close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

emailpw {prior version)

Thread began 7/07/2014 3:41 am by CraigR | Last modified 7/07/2014 11:54 am by Jason Byrnes | 1884 views | 5 replies |

CraigRBeta Tester

emailpw {prior version)

I have a site created a few years ago, with a password recovery implemented with a prior version of Security Assist.

Due to the relatively low IT skills of the members, the site administrator would like to be copied in on the email sent when the member requests a new password, as what can happen is the email sits in a spam folder for a while, so they frequently get help calls.

Is it possible to edit the existing server behavior, or is it easier just to add another instance of it ?

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, you can edit the old version of the server behavior using the new version of Data Bridge, the server behaviors code will be updated to use the newer code, you may find that there are now require once lines for old security assist helper filers and new ones, you will need to manually delete the references to the old files if that happens.

Sign in to reply to this post

CraigRBeta Tester

Thanks for the reply Jason,

the issue I am having is that the server behavior 'wizard' expects the email 'to' address as a field from the table, there doesnt seem to be the option of creating an array via the interface, or am i missing something ?

Sign in to reply to this post

Jason ByrnesWebAssist

I Guess, i misunderstood the question.

Yes, the too address uses the email from the database, to add an additional recipient, you would need to edit the code.

there will be a line similar to this to send the mail:

$WA_MailObject = WA_SecurityAssist_SendMail($WA_MailObject,"","","",$WA_Auth_Parameter["toAddress"],"",$WA_Auth_Parameter["fromAddress"],$WA_Auth_Parameter["subject"],$WA_Auth_Parameter["mailBody"]);



the 5th argument is the to address. the 4th argument can be used for CC address, and the 3rd for a BCC address:
$WA_MailObject = WA_SecurityAssist_SendMail($WA_MailObject,"","bccaddress@domain.com","ccaddress@domain.com",$WA_Auth_Parameter["toAddress"],"",$WA_Auth_Parameter["fromAddress"],$WA_Auth_Parameter["subject"],$WA_Auth_Parameter["mailBody"]);

Sign in to reply to this post

CraigRBeta Tester

great, that's just what I needed - Thanks Jason

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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