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 object

Thread began 10/02/2012 9:56 am by dvan_zelst | Last modified 10/03/2012 10:53 pm by dvan_zelst | 1224 views | 4 replies |

dvan_zelst

Email object

Hi,

Is there any way for Universal Email (DataBridge) to use Hotmail/Gmail etc. smtp mail to send emails?
How should i do it as this would be the only way for me to send out emails locally.

Any step by step instruction would be helpfull.
Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

i dont know about hotmail, but I have been able to use Gmail.

first, you will need to make sure that Pear Mail is installed in your testing server:
pear.php.net/


once you have Pear installed, in Universal Email select the Pear Mail using SMTP as the Email object.

for the SMTP Server, enter:
ssl://smtp.gmail.com

Port:
465

Username:
enter your gmail email address

Password:
enter your Gmail password

also, make sure that the from address is your gmail email address.

Sign in to reply to this post

dvan_zelst

Dear Jason,

I got it to work as you mentioned, thanks!!

However the mail is send i still get below error message when testing the doubleOpt tutorial.

Strict standards: Non-static method Mail::factory() should not be called statically in C:\wamp\www\blueSky\webassist\email\PEAR_Mail_using_SMTP_php.php on line 190

Any idea why and how to solve?
Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

this seams to be a bug that was reported on the Pear site with the Mail object on PHP 5 and having the strict error reporting level enabled

bug.php?id=9950

bug.php?id=18254


the email still sends though right?

to suppress the error till the Pear team can correct the problem, change line 190 of the PEAR_Mail_using_SMTP_php.php file:

php:
$theMailer =& Mail::factory('smtp', $paramArray);



to:

php:
@$theMailer =& Mail::factory('smtp', $paramArray);
Sign in to reply to this post

dvan_zelst

Thanks Jason, that worked!

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