Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - How to use smtp.gmail.com as a mail server in WWF?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to use smtp.gmail.com as a mail server in WWF?

 Post Reply Post Reply Page  <123>
Author
StarDust View Drop Down
Senior Member
Senior Member


Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
Post Options Post Options   Thanks (0) Thanks(0)   Quote StarDust Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2007 at 7:01am
Originally posted by pappu pappu wrote:

hi

  I already tested by chaning the ports

  It dont work
  
  U need to set SSL Setting too.

  but after setting ssl to 1 i m unable to send mail.

  I got the email code from my own site where i used gmail to send mail .

  & my code works fine dunno why wwf with port & smtp not sending mail.

thanks




Changing the port won't just work, any way. It is because of the way functions_send_mail.asp has been coded, there is no way you can define SSL / STARTTLS with WWF even with version 9! Gmail requires you to do this to use gmail's smtp.

But this can be done with two lines of code :)

The Solution

I guess as v9.02 is out there, it is appropriate to post it here.
http://forums.webwiz.net/forum_posts.asp?TID=24104&PID=126209#126209




Edited by StarDust - 08 August 2007 at 7:16am
Back to Top
pappu View Drop Down
Newbie
Newbie


Joined: 06 July 2007
Location: United Kingdom
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote pappu Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2007 at 7:16am
Hi

  I m using 8.0.6
 
  I set the ssl true But still im getting error

 thanks
Back to Top
StarDust View Drop Down
Senior Member
Senior Member


Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
Post Options Post Options   Thanks (0) Thanks(0)   Quote StarDust Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2007 at 7:23am
Originally posted by pappu pappu wrote:

Hi

  I m using 8.0.6
 
  I set the ssl true But still im getting error

 thanks


I forgot what was in wwf v8.06. But i guess v8.06 ddid not use SMTP authentication. You need to re-code function_send_mail.asp

can you post the lines that start with With objCDOSYSCon and ends with End With so that i can look into and tell you what to do.


Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2007 at 7:40am
SMTP authentication is available in 8.06 you enter the authentication details into the admin area.
Back to Top
StarDust View Drop Down
Senior Member
Senior Member


Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
Post Options Post Options   Thanks (0) Thanks(0)   Quote StarDust Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2007 at 7:47am
Originally posted by -boRg- -boRg- wrote:

SMTP authentication is available in 8.06 you enter the authentication details into the admin area.


Thank you -boRg- for your attention on this post.

Just a note situation like this, wouldn't it be better if we cud download old versions?


Sending email using smtp.gmail.com requires STARTTLS that is why i am asking for the code.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2007 at 8:44am
Not really as you should always be running the latest version, as it fixes bugs, improves security, etc.

If you run an older version then you leave yourself wide open to hackers, and if you have a support issue it's usually related to something which is fixed in a new version.
Back to Top
pappu View Drop Down
Newbie
Newbie


Joined: 06 July 2007
Location: United Kingdom
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote pappu Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2007 at 8:57am
Quote With objCDOSYSCon
'Use SMTP Server authentication if required
If strMailServerUser <> "" AND strMailServerPass <> "" Then

' Specify the authentication mechanism to basic (clear-text) authentication cdoBasic = 1
.Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1

'SMTP Server username
.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = strMailServerUser

'SMTP Server password
.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") = strMailServerPass
End If

'Out going SMTP server
.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strMailServer

'SMTP port
.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465

'CDO Port (1=localhost 2=network)
.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = intSendUsing

'Use SSL

.Fields("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = 1
'Set CDO pickup directory if using localhost (CDO Port 1)

If intSendUsing = 1 Then
'CDO pickup directory (used for localhost service)
' .Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory") = "c:\inetpub\mailroot\pickup"
End If

'Timeout
.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
.Fields.Update

End With



Above code is similar which i use my site to send mail but it is not working with wwf

I changed the port & server as gmail required &
ssl to 1

thanks




Edited by pappu - 08 August 2007 at 9:02am
Back to Top
StarDust View Drop Down
Senior Member
Senior Member


Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
Post Options Post Options   Thanks (0) Thanks(0)   Quote StarDust Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2007 at 8:58am
That is true. -boRg-

WWF is a great application. I just love it. It's neat and clean and FAST! Just don't know how to thank you.
Back to Top
 Post Reply Post Reply Page  <123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.