Pages (2): 1 2   
Member
Member
eric bullet   2009-12-04, 21:38
#1

i need to use php mailer on my site where can i find the plug in that's shown here:
http://www.zenphoto.org/2009/12/phpmailer/

according to this: http://www.zenphoto.org/documentation/plugins/_zp-extensions---PHPMailer.php.html
it's here:
Source Location: /zp-extensions/PHPMailer.php
but the are no folders named zp-extensions as far as i can tell.

Member
Member
sbillard   2009-12-05, 01:36
#2

If you have no folder named zp-extensions then you must not be using the current release. ([b]NOTE:[/b] it is for reasons like this that we request you provide us with details of your installation. But I guess you did not read the forum rules posting that says "Read before posting".)

Member
Member
eric bullet   2009-12-07, 07:52
#3

sorry. i'm using 1.2.6
after downloading 1.2.7 i see this folder inside of zp-core..

Administrator
Administrator
acrylian   2009-12-07, 11:17
#4

Well, phpmailer requires 1.2.7 of course.

Member
Member
eric bullet   2009-12-08, 19:40
#5

New Question:
I'm having trouble getting phpmailer to send mail. I am using php 5.
Mail protocol SMTP .
Mail pssword is correct
Mail user is correct
Outgoing mail server is correct
POP port 110
Secure mail tried both
SMTP port 25

according to this from my host:
http://www.webhost4life.com/HostingKB/KnowledgebaseArticle50140.aspx
there needs to be a "from" ( $mail->From="youremail@yourdomain.com" )
i'm just guessing at the problem. any ideas?

Member
Member
sbillard   2009-12-08, 20:46
#6

The plugin does provide a "from" so perhaps you have not got one set in your configuration

Member
Member
eric bullet   2009-12-08, 21:48
#7

the only fields that display are:
Mail protocol POP3 SMTP SendMail Mail protocal to use.
Mail pssword Password for mail server.
Mail user User ID for mail server.
Outgoing mail server Outgoing mail server.
POP port POP port number.
Secure mail Set to use SSL protocol.
SMTP port

there is no from field.
there are a lot of spelling errors BTW.

Member
Member
sbillard   2009-12-08, 23:05
#8

Well, of course there would not be a "from" email address associated with the plugin. That would be provided by the function which is sending the mail. Kind of like the same reason there is not a "to" address in the options!

there are a lot of spelling errors BTW. Don't suppose you would mind saying what.

Member
Member
eric bullet   2009-12-09, 02:29
#9

protocal
pssword

Member
Member
eric bullet   2009-12-09, 02:31
#10

So, back to my original question.
I'm having trouble getting phpmailer to send mail. I am using php 5. All my settings in the field are correct.
any ideas?

Member
Member
sbillard   2009-12-09, 04:23
#11

So, what is the context of your sendmails? Presumably you have not set a "from" address for that context. For instance, do you have admin emails setup? do you have a contact email address setup? ....

Member
Member
eric bullet   2009-12-09, 04:45
#12

yes. I have email set up on my site.
I'm not sure if the "from" is the problem. that was a guess.
I'm not sure if i am understanding you correctly.

does the admin user email need to be the same?

Member
Member
sbillard   2009-12-09, 18:37
#13

Well, since you have not yet answered the question of what the mail context is that is failing it is hard to help. If it is an admin mail then of course you need to have setup a mail address for the admin. If it is some other context then that context will need the "from" part specified.

Member
Member
eric bullet   2009-12-09, 19:53
#14

i changed the admin email to the same as the email i put in phpmailer options.
the error message i get is:
PHPMailer failed to send test (mywebsite). ErrorInfo:SMTP Error: The following recipients failed: myemail@gmail.com

i have set up the email address on our mail server which is mail.mywebsite.com
i sent a test email from my personal email to the admin email wih out a problem.

where can i specify the "from" part?

Quote: So, what is the context of your sendmails?

I'm not clear on what you mean by this.

the email address specified in the contact form is the same as the mail user in php mailer.

Member
Member
sbillard   2009-12-09, 20:16
#15

So your server is rejecting emails from the contact. You will have to configure your server to allow that if you want people to send you emails.

Member
Member
eric bullet   2009-12-10, 01:53
#16

so according to my host:
Your form is using the visitor as From address, please check the codes of your contact form. The From address should be the admin email.
I guess that's just there thing?

Can you give me a hint as to where I need to change this on PHPMailer.php

Member
Member
sbillard   2009-12-10, 06:55
#17

That would be the case. The mail is "from" the person trying to contact "to" you the admin. You have to change this is the register user plugin, it is not an issue of the php mailer. So you would change it instead to "from" you "to" you with the contactor not in the loop?

Member
Member
eric bullet   2009-12-11, 03:58
#18

so according to my host (my email) is your "From" Address for the website. Because you are sending from that address.

Member
Member
eric bullet   2009-12-11, 04:01
#19

i guess FromName="My site's mailer"

Member
Member
eric bullet   2009-12-11, 04:08
#20

do i perhaps need to add this to class.phpmailer.php?

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.