2011/2/2 geekbuntu <[email protected]>:
> re: http://webpy.org/cookbook/sendmail_using_gmail
>
> from the receivers perspective, is there a way to have the received
> email only show the domain name rather than the gmail address that it
> was sent from?
>
> current settings in my script are:
>
>        i = web.input()
>        web.config.smtp_server = 'smtp.gmail.com'
>        web.config.smtp_port = 587
>        web.config.smtp_username = 'don'[email protected]'
>        web.config.smtp_password = 'shhhhh'
>        web.config.smtp_starttls = True
>        msg = i.phone+'\n'+i.msg
>        web.sendmail('send_to', i.email, i.name, i.msg)

Like this:

web.sendmail('don'[email protected]', i.email, i.name, i.msg)

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to