The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
Is there a way to block Outlook Express, AOL, etc. from opening when a member tries to email someone from my website? I want members to be able to send email from my website only. If I can accomplish this, no one can see the recipient's email address UNLESS the recipient replies to an email. . .thus allowing me to promise to keep a member's email address private. But when Outlook Express or AOL, etc. opens, it automatically displays the email address in its window.
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
نوشته شده در
do you have "Email Mode" set to "on" or "off" in your Email server config?
If Email Mode is on, it will use the email component and all the other settings you filled in on the Email Server Config.
If Email Mode is off, it will post a mailto: link with the user's email address and then open in the person's default email client.
If Email Mode is on, it will use the email component and all the other settings you filled in on the Email Server Config.
If Email Mode is off, it will post a mailto: link with the user's email address and then open in the person's default email client.
آخرین ویرایش توسط
نوشته شده در
You are absolutely correct! :)
I had been working on a few things and had turned the email off and totally forgot I had not turned it back on.
My motherboard died recently (Windows 7) so I am back on an older (Windows XP) computer. I knew the email had worked perfectly before so I thought it had something to do with Windows XP. Sure glad it didn't!
Thank you so much!
Another question: How do I make the email window just a bit larger?
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
نوشته شده در
I don't have the particular line numbers in front of me, but if you search pop_profile.asp and topic.asp (possibly other files depending on what MODs are installed) for "pop_mail.asp", you'll see the link is wrapped up in the Java Script function openWindow() - kinda like in one spot in pop_profile.asp:
Change openWindow( to openWindow4( to get a little more height in the pop up.
If you want to specify your own window size, go to inc_window.js and make your own variant of the openWindow() function - note: given how widely it is used elsewhere in the code, I do not recommend modifying the original openWindow().
Code:
<a href=""JavaScript:openWindow('pop_mail.asp?id=" & rs("MEMBER_ID") & "')"">Click to send an E-Mail</a>Change openWindow( to openWindow4( to get a little more height in the pop up.
If you want to specify your own window size, go to inc_window.js and make your own variant of the openWindow() function - note: given how widely it is used elsewhere in the code, I do not recommend modifying the original openWindow().
نوشته شده در
Well, that was simple! :)
Thank you, AnonJr!
Is there something just as simple to make the window a bit wider?
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
نوشته شده در
For that you would have to make an additional openWindow() function with the width and height you want. When I'm not on my tablet I'll see what I can put together for instructions. How wide are you looking for?
نوشته شده در
About 150 pixels more added in width would be great!
And, thank you so much!!
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
نوشته شده در
In "inc_header.asp"
Code:
Look for the following lines (appx 236-255), notice the lines in green. That's the window currently being opened with height/width of 400 pixels each. Now see the lines in red, they use height/width of 450 & 525 respectively (almost what you're requesting). So the simplest method would be to use openWindow(5) where Anon suggested openWindow(4).
"function openWindow(url) {" & vbNewLine & _
" popupWin = window.open(url,'new_page','width=400,height=400')" & vbNewLine & _
"}" & vbNewLine & _
"function openWindow2(url) {" & vbNewLine & _
" popupWin = window.open(url,'new_page','width=400,height=450')" & vbNewLine & _
"}" & vbNewLine & _
"function openWindow3(url) {" & vbNewLine & _
" popupWin = window.open(url,'new_page','width=400,height=450,scrollbars=yes')" & vbNewLine & _
"}" & vbNewLine & _
"function openWindow4(url) {" & vbNewLine & _
" popupWin = window.open(url,'new_page','width=400,height=525')" & vbNewLine & _
"}" & vbNewLine & _
"function openWindow5(url) {" & vbNewLine & _
" popupWin = window.open(url,'new_page','width=450,height=525,scrollbars=yes,toolbars=yes,menubar=yes,resizable=yes')" & vbNewLine & _
"}" & vbNewLine & _
"function openWindow6(url) {" & vbNewLine & _
" popupWin = window.open(url,'new_page','width=500,height=450,scrollbars=yes')" & vbNewLine & _
"}" & vbNewLine & _
"function openWindowHelp(url) {" & vbNewLine & _
" popupWin = window.open(url,'new_page','width=470,height=200,scrollbars=yes')" & vbNewLine & _
آخرین ویرایش توسط
نوشته شده در
That worked, Carefree!
Thank you both so much!
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Email Member
Message Member
Post Moderation
بارگزاری فایل
If you're having problems uploading, try choosing a smaller image.
پیشنمایش مطلب
Send Topic
Loading...